Post by qwerty95 » Sat Sep 19, 2020 3:50 pm

Hi! i got a strange error on my shop when i try to upload a picture, they don't appear, and when I sroll thought all page number the button 15 not appear any image when I click on it, I think the image is placed there. i paste in som error codes from the chrome console: also I attach the image that cause the error. i tried with another image and it appeared, is it any fault in the image?

https://ternstedt.itgubbens.se/ is the shop page
of Version is 3.0.3.3 and Jornal
Last edited by qwerty95 on Sun Sep 20, 2020 2:05 am, edited 1 time in total.

Newbie

Posts

Joined
Thu Jul 09, 2020 11:35 pm

Post by sw!tch » Sat Sep 19, 2020 5:48 pm

For 500 errors you need to check your server error logs. They typically reside in a logs folder in the root of your webspace.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by qwerty95 » Sat Sep 19, 2020 6:03 pm

Do OC got any upload limitation or amount of pixels ? i got the limit in the web srv to 2 gb? the attached file do not appear but the png file called tesd do appear,

Attachments

test.jpg

test.jpg (63.37 KiB) Viewed 511 times


Newbie

Posts

Joined
Thu Jul 09, 2020 11:35 pm

Post by sw!tch » Sat Sep 19, 2020 6:05 pm

Probably exceeding your php memory limit. Like I mentioned check your server error logs to see the reason.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by qwerty95 » Sat Sep 19, 2020 6:47 pm

Ok, i have looked at the logs, and rased the limit from 64 to 128 mb
But when I tried a online rezizer tool the picture appears great, is there any limitation of the original is 4225x5870 and it is unchanged but it works? the photo is converted from a PSD before could it be that?

Newbie

Posts

Joined
Thu Jul 09, 2020 11:35 pm

Post by sw!tch » Sat Sep 19, 2020 6:59 pm

qwerty95 wrote:
Sat Sep 19, 2020 6:47 pm
Ok, i have looked at the logs, and rased the limit from 64 to 128 mb
But when I tried a online rezizer tool the picture appears great, is there any limitation of the original is 4225x5870 and it is unchanged but it works? the photo is converted from a PSD before could it be that?
4225x5870
Thats way too large to be uploading. You're killing server resources and wasting disk space just resize it smaller.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by qwerty95 » Sat Sep 19, 2020 7:53 pm

Ok, it works !
How do i close this topic or mark as resolved?

Newbie

Posts

Joined
Thu Jul 09, 2020 11:35 pm

Post by straightlight » Sun Sep 20, 2020 1:52 am

qwerty95 wrote:
Sat Sep 19, 2020 7:53 pm
Ok, it works !
How do i close this topic or mark as resolved?
Edit your first post's subject line and add: [SOLVED] at the beginning.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Users browsing this forum: No registered users and 398 guests