When i create a new directory with a album in it and try to access the album i get this error Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 8192 bytes) in /customers/fighters-only.se/fighters-only.se/httpd.www/gallery/test/index.php on line 1 |
|||

Memory Limit
This is related to the maximum memory PHP is allowed to use, your photo consumes too much memory to resize it. Only solution is to increase the memory limit in php.ini (if you can) otherwise upload smaller photos ....
But there is no pictures in
But there is no pictures in that folder/album
The error is related to the
The error is related to the PHP memory limit which is exhausted by using GD for image manipulation. If there is no image in the directory or subdirectories, try to copy an image there to see what happens and refresh the page.
The same. No folder in the
The same.
No folder in the gallery and cant access the album with the admin
I checked the URL but it
I checked the URL but it seems to be working now, what was the problem?
If you go to
If you go to http://www.fighters-only.se/bildarkiv.php there you se that the folder test don't appear.
and wean im in the admin panel and try to access the album to add photos i get the error.
www.fighters-only.se/galeri.jpg
If I open the page
If I open the page http://www.fighters-only.se/gallery/test/index.php I get the message "Directory Empty", if I press 'Tab' the admin login opens. As the other albums seem to work fine I have no clue what the problem could be, it must be something server-side or on your PC (did you try a page refresh?).
try
try http://www.fighters-only.se/gallery/test/new/index.php
This is definitely a PHP
This is definitely a PHP memory limit problem due to resizing of a photo as it takes a long time to open the page. You must have an image somewhere that the script is trying to resize, maybe its hidden or the filename starts with a '.' (dot) so it's not shown in your FTP software.
so this image is under /new?
so this image is under /new?
It should be there ...
It should be there ...
ok deleted test and sub
ok deleted test and sub folder new
created round2/new2 and got the same error
did you upload some photos in
did you upload some photos in the new directory?
no i can even access the new2
no i can even access the new2 directory
Something must be wrong with
Something must be wrong with the privileges on your server, this is very strange behavior. You can try to set the privileges in the configuration to 0777.
it was 0777 i change it to
it was 0777 i change it to 0000 then back to 0777 and got the
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 8192 bytes) in /customers/fighters-only.se/fighters-only.se/httpd.www/gallery/round2/index.php on line 1
what is line 1?
Then change it to 0755 and
Then change it to 0755 and try again. The line 1 in the error in this case is not helping as the script stopped working because it did not have enough memory.
no difference got the same
no difference got the same error
Try to delete the directories
Try to delete the directories and recreate from start with 0755. I would have no other suggestion. If you cant delete the files use a FTP program or your webhosting control panel.