• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Image Gallery not working

O

om4knowledge

Guest
when a few clients try to view their galleries they get....
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4096 bytes) in /home/USER/public_html/include/PEAR/Image/Transform/Driver/GD.php on line 146


looks fine while editing, the error comes when view a published site.

The images don't appear to be that large.

What can we do?
 
It is definitely lack of memory issue.
Try to increase 'memory_limit' value in php.ini file on your server with published website. Most probably it will be /etc/php.ini file:

memory_limit = 32M

after that restart apache service and check it one more time.
 
memory issue.

I'm using cPanel.
The user that is having the problem has an emtpy etc/ directory.

Where can I find the php.ini?
Thanks.
 
Try to put following file into site's directory:

# cat phpinfo.php
<? phpinfo(); ?>

and run it through the browser. There will find "Configuration File (php.ini) Path ". Use this file and do not forget to restart apache service after changes.
 
what do i name the file?
just put it in public_html?
thanks.
 
Just name it as phpinfo.php and yes, put it into public_html folder. After that run http://domain.tld/phpinfo.php through the browser and figure out the php.ini file path. After all modifications do not forget to restart apache service and remove phpinfo.php file from the publishing location.
 
Back
Top