Page 3 of 3
there is a ini_set i
Posted: 10 Mar 2008, 23:01
by Jan
there is a ini_set in the script which added 50 MB memory but maybe it doesn't work on your site...
The blank page was there because of Fatal Error message which stopped the script.. The problem is, Phoca Gallery cannot write an error message if fatal error message will be displayed before... maybe you have disabled the error reporting... maybe you must contact your webhosting provider because of your memory limit
Jan
Which memory should
Posted: 10 Mar 2008, 23:07
by TricTrac
Which memory should be changed then? Is this the PHP core limit?
I just spoke to my p
Posted: 10 Mar 2008, 23:20
by TricTrac
I just spoke to my provider but they don't know the plugin. (shame on them )
Can you tell me which configuration should be changed?
To make sure we understand eachother: The error happens as soon as the overlay screen is loading where I can pick the photos. So I am not even able to select any photos.
My provider told me to call back as soon as I know which configuration should be changed.
Thank you in advance.
it seems like you ha
Posted: 11 Mar 2008, 11:37
by Jan
it seems like you have no enough memory to create thumbnails.... Phoca Gallery try to enable more memory with
ini_set ('memory_limit', '50M') but maybe it is not enabled on your server
Ok! Thank you. I
Posted: 11 Mar 2008, 12:07
by TricTrac
Ok! Thank you. I'll get them tonight to get the memory_limit of the PHP up to 50M. Because it is now still at 20M.
I'll keep you informed if this is the solution.
My provider is only
Posted: 11 Mar 2008, 21:21
by TricTrac
My provider is only willing to upgrade it to 32MB. After this the internal server error is gone. Exept now I get the following error at the same spots:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9216 bytes) in /mnt/web8/43/01/51728301/htdocs/administrator/components/com_phocagallery/helpers/pho cagallery.php on line 419
Please tell me this is not still the memory_limit problem?! Else this would be the end for me with this plugin.
Yes it is, your serv
Posted: 11 Mar 2008, 23:11
by Jan
Yes it is, your server provider enabled the error messages, so now you can see the error...
GD function which creates the thumbnails doesn't have enogh memory...
--
E.g. my memory is set to 8MB, but for me the ini_set ('memory_limit', '50M') works, so I get no error...
Jan
It's not the se
Posted: 12 Mar 2008, 00:51
by TricTrac
It's not the server provider who enabled the error messages. He told me to create a PHP.ini in which the memory_limit is set to 32M.
I only get the memory errors from my last post if the memory_limit is set to 32M. If it is set to 20M or 50M(provider sais they don't support 50) I get the 'Internal server error' message.
So there is no solution for me to this problem?
as likely as not ???
Posted: 12 Mar 2008, 02:18
by Jan
as likely as not ???