Search…

X3 Photo Gallery Support Forums

Search…
 
CharlyC
Topic Author
Posts: 3
Joined: 26 May 2011, 05:27

the image could not be loaded

15 Jun 2017, 12:44

this is the page test with your picture
http://prive.studio-ap2c.com/2017/femme/

this is the error
Fatal error
: Allowed memory size of 24117248 bytes exhausted (tried to allocate 3843201 bytes) in /homepages/31/d680580429/htdocs/prive/app/parsers/slir/slirimage.class.php on line 631

my config serveur is
[table][tr][td]PHP Memory Limit[/td][td]512M[/td][/tr][tr][td]Upload Max File Size[/td][td]256M[/td][/tr][tr][td]Max File Uploads[/td][td]20[/td][/tr][tr][td]Post Max Size[/td][td]256M[/td][/tr][/table]
with a php.ini

safe mode = off;
memory_limit = 512M;
upload_max_filesize = 256M;
post_max_size = 256M;

Can you help me please
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: the image could not be loaded

15 Jun 2017, 13:21

I am seeing this. You see some images not loading?
Image

If yes, try to open file /app/parsers/slir/slir.class.php, and comment out the line (approximately 448, depending on your X3 version):
Code
// $v = ini_set('memory_limit', min($estimatedMemory, SLIRConfig::$maxMemoryToAllocate) . 'M');
 
CharlyC
Topic Author
Posts: 3
Joined: 26 May 2011, 05:27

Re: the image could not be loaded

15 Jun 2017, 15:00

the error has occurred when you click on the picture and when you are on a screen with full hd resolution
not on all the images but on the portrait format.
 
CharlyC
Topic Author
Posts: 3
Joined: 26 May 2011, 05:27

Re: the image could not be loaded

15 Jun 2017, 15:39

ok i have comment out the line and now it's good
thanks!