Post by winter » Fri Sep 07, 2018 8:27 pm

Hi there,

I am currently working in AMPSS local host and building a new OC store.

When I tried to upload a new theme, I get the following message:-

"SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<br />
<b>Warning</b>: POST Content-Length of 9443485 bytes exceeds the limit of 8388608 bytes in <b>Unknown</b> on line <b>0</b><br />
{"error":"File could not be uploaded!"}

I am presuming it has something to do with max file size but this is currently set at 128mb.

Any thoughts please would be much appreciated as always.
Last edited by winter on Tue May 14, 2019 5:44 pm, edited 1 time in total.

New member

Posts

Joined
Wed May 16, 2012 6:10 pm

Post by straightlight » Fri Sep 07, 2018 9:26 pm

the max input vars must be increased in your php.ini file.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by winter » Fri Sep 07, 2018 9:37 pm

Hi there,

Thanks again for responding.

upload_max_filesize in php.ini is currently set to 999M.

Should that increase to 99999M .... ?

I'm assuming that that's 999mb?

Thanks

New member

Posts

Joined
Wed May 16, 2012 6:10 pm

Post by straightlight » Fri Sep 07, 2018 9:56 pm

See these instructions for more info: https://stackoverflow.com/questions/117 ... -8388608-b

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by winter » Sat Sep 08, 2018 6:29 pm

Hi thanks again,

I tried the same steps myself but so far with no luck.
Will probe a little further to see if I can solve this.

Cheers.

New member

Posts

Joined
Wed May 16, 2012 6:10 pm

Post by khnaz35 » Sat Sep 08, 2018 7:22 pm

winter wrote:
Sat Sep 08, 2018 6:29 pm
Hi thanks again,

I tried the same steps myself but so far with no luck.
Will probe a little further to see if I can solve this.

Cheers.
So far any luck winter?

Always help others it's always come back, give and receive :)


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by winter » Sat Oct 06, 2018 5:44 pm

So far any luck winter?
Hi there - very sorry for the late response.
I just missed your post - apologies.
No - I had no luck.
What I did was a fresh install of OC in AMPSS using the template installation instructions and unpacking the quickstart zip file that came with the template. I then just went through the normal process of setting up the database in PHPMyAdmin, installing open cart using the quickstart installation method, unpacked the template files and installed the template as per the steps below:-

Step 1 - Create a folder in htdocs folder for Xampp, www folder for Wamp
Step 2 - Unpack the Quickstart package then copy all the files and folders to the new created folder.
Step 3 - Create database: You can create a database in your hosting provider's control panel, for example cPanel. It may also be possible to do so in phpMyAdmin. Remember to take note of the details that you use as you'll need them for the next step.
Step 4 - Auto - installer: The final step is to run the auto-installer. Open your favourite web browser and add “/install” to the end of your site's website address. When doing this you should see with the following page:

Bit annoying still that it wouldn't accept a larger file.

I hope this helps.
Last edited by winter on Sat Oct 06, 2018 8:27 pm, edited 1 time in total.

New member

Posts

Joined
Wed May 16, 2012 6:10 pm

Post by straightlight » Sat Oct 06, 2018 7:53 pm

I then just went through the normal process of installing, setting up DB etc.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by winter » Sat Oct 06, 2018 8:17 pm

Hi Straightlight,

Sorry, have I done something incorrect here?
Purely unintentional if so....

New member

Posts

Joined
Wed May 16, 2012 6:10 pm

Post by straightlight » Sat Oct 06, 2018 8:22 pm

Etc does not explain much in order to understand the issue you are addressing. More information is needed (step-by-step).

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by winter » Sat Oct 06, 2018 8:27 pm

My bad - corrected now, hopefully with enough information.

New member

Posts

Joined
Wed May 16, 2012 6:10 pm

Post by straightlight » Sat Oct 06, 2018 8:29 pm

You are using localhost with an extension. Contact the extension developer to resolved this issue with quickstart.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by winter » Sat Oct 06, 2018 8:45 pm

Well in one respect the issue of not being able to open the file as it were is now resolved by following the quickstart installation.
I didn't need to upload the large file.
But it was a workaround rather than a fix so yes - you are correct in that.

New member

Posts

Joined
Wed May 16, 2012 6:10 pm
Who is online

Users browsing this forum: AndreyPopov and 14 guests