Internal server error

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

there is a ini_set i

Post 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
If you find Phoca extensions useful, please support the project
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

Which memory should

Post by TricTrac »

Which memory should be changed then? Is this the PHP core limit?
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

I just spoke to my p

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

it seems like you ha

Post 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
If you find Phoca extensions useful, please support the project
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

Ok! Thank you. I

Post 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.
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

My provider is only

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Yes it is, your serv

Post 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
If you find Phoca extensions useful, please support the project
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

It's not the se

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

as likely as not ???

Post by Jan »

as likely as not ???
If you find Phoca extensions useful, please support the project
Post Reply