• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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