Thumbnails won't work

Phoca Gallery - image gallery extension
vinset
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Feb 2010, 04:53

Re: Thumbnails won't work

Post by vinset »

I have changed the permissions but now I have this error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15552 bytes) in /home/robertaa/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Thumbnails won't work

Post by Jan »

Hi, then you should check your memory settings (php memory, cpu speed of the server) or use small images so the server and GD library can work with them ...

Jan
If you find Phoca extensions useful, please support the project
ClausJepsen
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 11 Feb 2010, 15:05

Re: Thumbnails won't work

Post by ClausJepsen »

Hi All

Had the same problem (with the white screen (backend), and just no thumbnails (frontend))

Took contact to my hostmaster.
It is a server error.
Where I have my site hostet it is not possible to uploade images over 1.2M due to some buffer-size with PHP and GD.
And that's it, they told me. DAMN !!!!!

So the problem is at the server.

Regards

Claus
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Thumbnails won't work

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
vinset
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Feb 2010, 04:53

Re: Thumbnails won't work

Post by vinset »

I'm sorry but I can upload 64M of file... I have the same error with 3M file! There is an error in the component!
ClausJepsen
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 11 Feb 2010, 15:05

Re: Thumbnails won't work

Post by ClausJepsen »

Hi again

You upload one image 64M ?????
Sorry, know what you mean I think.

Problem is not the sice of the file when the original image is uploaded.
Problem comes when som php service (GD) is called on the server to create thumbnails.

My site is hosted for $2 per months (with free trafic) , so they put 1000-1500 sites on every server. Dooing this they have to put some lemitations, not to crash the server, and buffer-size of PHP (GD) must bee one.

I created images sizes 100K, 200K, 300K and up to find the limit, as my hostmaster could not tell, and 1.2M was :evil: :evil:

Regards

Claus Jepsen
vinset
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Feb 2010, 04:53

Re: Thumbnails won't work

Post by vinset »

On my server:

memory limit = 64M
upload_max_filesize = 64 M

The version 2.6.0 worked fine
vinset
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Feb 2010, 04:53

Re: Thumbnails won't work

Post by vinset »

Jan can you help me?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Thumbnails won't work

Post by Jan »

Hi, I cannot help you because I don't know your server and don't know which error message you get? :idea: Did you try to enable error reporting, did you try to see error log, did you try to enable debug mode?
https://www.phoca.cz/documents/16-joomla ... rs-on-site

If you get memory fatal error, then there is not other solution than:
- upload smaller files
- increase memory on server

:(

Jan
If you find Phoca extensions useful, please support the project
vinset
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Feb 2010, 04:53

Re: Thumbnails won't work

Post by vinset »

There is the same problem also with small files!!!
Post Reply