Hi,
Great job on the theme! I really like it, but I’m encountering this error when I attempt to upload any product image:
Fatal error: Maximum execution time of 30 seconds exceeded in/home/smithand/public_html/wordpress/wp-includes/class-wp-image-editor.php on line334
I receive this error when trying to manage the product images and setting a featured image.
Cheers.
|
|
Hello,
What is the size of image you are trying to upload?
ThemeBurn Team
|
|
Hi,
Dimensions are 2560×1920 but it’s only 1.5 mb in size.
Cheers
|
|
Hello,
you have to extend you execution time, because 30 second are not enought.
Create php.ini file in your wordpress installation and put inside:
max_execution_time = 300 ; Maximum execution time of each script
Also you can try to resize your image and try again.
Best,
ThemeBurn Team
|
|
Thanks so much for the quick replies! Unfortunately, that doesn’t work. If I attempt to set the ‘feature image’ the upload bar reaches 100%, however i still receive an error.
If I attempt to ‘manage product images’ i receive this:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/smithand/public_html/wordpress/wp-includes/class-wp-image-editor-imagick.php on line 320
This display regardless of the upload option (from url, from media library, etc.)
I’ve uploaded the same images to a previous theme on the same server and never run into issues before?
Cheers.
|
|
Hi,
I tried your suggestion and uploaded a much smaller file (52kb) and still received the same error.
I’ve flushed the template cache and only have one maintenance plug-in activated at the moment.
**UPDATE – Even though I receive the error when uploading an image, the product is still being displayed on the site. When I view the products in the admin panel, the product name is the error message.
Cheers.
-
This reply was modified 4121 days ago by boxxer7.
|
|
Hello boxxer7,
The problem is not the size of the image, but it can be the permissions problem. Please set permissions to your uploads directory to 775.
If the problem still exists, we will need the website url, admin and ftp access, so we can check.
You can use hidepost to share private information with the support staff.
Best,
ThemeBurn team
|
|
I changed the permissions but no such luck. The image was uploaded, but the same error displayed when attempting to crunch the image. I’ve provided the ftp/wordpress access below.
Thanks again for the help
-
This reply was modified 4120 days ago by boxxer7.
|
|
Just wanted to provide an update to this. It appears it’s a theme issue. I activated a different theme and didn’t receive any errors when uploading images of any size.
Hopefully it’s a quick fix. Really like theme aside from this issue.
Cheers.
|
|
Hello boxxer7,
We tested with two big images and one small and they are normally uploaded.
Can you please send us the image you are trying to upload to test?
Looking for your reply.
ThemeBurn Team
|
|
Hi,
Just noticed something interesting. Based on your earlier suggestion, I added a ‘php.ini’ file to the /wp-admin folder.
This seemed to fix the issue (likely while you were attempting to solve it as well – sorry about that!), but in doing so it changed the text under the ‘choose file’ button from 10mb to 2mb.
I should point out that prior to addition of the ‘php.ini’ file, the size of the image (1mb or 5mb) still seemed to throw an error. Now anything under 2mb works fine.
I don’t have any reason to upload 10mb images, but just curious why that .ini file would cause the text to change?
Cheers.
|
|
Hi,
If you put this in php.ini, the button will show 10mb instead of 2mb.
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
But if 2MB is enough to you, leave it
Best,
ThemeBurn
|
|