Internal server error

Phoca Gallery - image gallery extension
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

the map components i

Post by TricTrac »

the map components is set to chmod 777 so that shouldn't be the problem..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

What about the GD li

Post by Jan »

What about the GD library. Does it work? It seems like thumbnails was not created...
If you find Phoca extensions useful, please support the project
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

What can be the prob

Post by TricTrac »

What can be the problem if the components map is set to 777 and the installation is able to make the maps? Then it should be allowed to delete them aswell right? Is there anything I can change to get this to work?
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

GD Library?

Post by TricTrac »

GD Library?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Administrator - go t

Post by Jan »

Administrator - go to the menu -> Help -> System Info -> PHP Information - GD information ... GD library creates the thumbnails ...
Jan
If you find Phoca extensions useful, please support the project
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

I think you meen thi

Post by TricTrac »

I think you meen this:
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

hmmm, what about mem

Post by Jan »

hmmm, what about memory... do you a lot of php memory to create thumbnails...
If you find Phoca extensions useful, please support the project
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

php core memory limi

Post by TricTrac »

php core memory limit is set to 20M
memory of files is 100MB max.

But the images I am testing with currently are only 250KB..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Yes, there should no

Post by Jan »

Yes, there should not be a problem with memory

see the permission (not in the components folder) but in folder:

- image
- image/phocagallery

Is there a thumbs directory with some thumbnails or only thumbs directory with index.html without thumbnails
If you find Phoca extensions useful, please support the project
TricTrac
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Mar 2008, 23:00

Hmmm... awesome.. it

Post by TricTrac »

Hmmm... awesome.. it seems to be working now!

After I reinstalled phocagallery I did another chmod 777 on the images/phocagallery map.

Now I didn't get an internal server error while adding the picture! This was a small file.. It doesn't work with big files!

I tried a 85KB file.. That worked.. But as soon as there is a file which is (only!) 250KB than it gives the internal server error. Is this a memory problem? And which memory is it than? Can I ajust this in configuration or do I need my webhosting provider to fix this?
Post Reply