I recently migrated to Opencart 3. After migrating my products, I get http error 500 on Admin > product page.
Any help is highly appreciated. Many thanks in advance.
Backup and learn how to recover before you make any changes!
I check d all error logs in root of the server and also in root of the opencart site. There is no log created today. What is the sspecisific error I should be looking for?
If it is a Linux-based webhosting package the error log might be located at /var/log/apache2/error.log. With most cPanel accounts it won't be accessible from your account, you'd have to ask your webhost for the error log entries, for the exact time the error occured.MacOpencart wrote: ↑Mon Oct 19, 2020 2:54 pmThank you for your reply.
I check d all error logs in root of the server and also in root of the opencart site. There is no log created today. What is the sspecisific error I should be looking for?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
How exactly did you do this?MacOpencart wrote: ↑Mon Oct 19, 2020 1:48 pmI recently migrated to Opencart 3. After migrating my products, I get http error 500 on Admin > product page.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
In admin>error.log file, I see these errors:
[19-Oct-2020 12:45:28 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6282960 bytes) in /home/msadek07/public_html/NEW/system/library/image.php on line 45
You might also find google very useful for searching errors and how to solves them
viewtopic.php?t=9777
viewtopic.php?t=102258
viewtopic.php?t=171550
viewtopic.php?t=146471
https://stackoverflow.com/questions/596 ... d-opencart
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
In the "Allowed memory size of 33554432 bytes exhausted" error message, 33554432 bytes = 32MB
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
The php.ini file now is chaged to:
max_file_uploads = 512M
max_execution_time = 600
upload_max_filesize = 512M
memory_limit = 512M
display_errors = 1
output_buffering = 1
max_input_time = 600
and user.ini file :
max_file_uploads = 512M
max_execution_time = 600
upload_max_filesize = 512M
memory_limit = 512M
display_errors = 1
output_buffering = 1
max_input_time = 600
I hope this thread will help others who face similar issues.
Great! Please add [SOLVED] to the start of the post title.MacOpencart wrote: ↑Tue Oct 20, 2020 12:04 amThank you JNeuhoff and all other s who helped. The problem is resolved.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: No registered users and 19 guests