1
rickh
blank page :((((
  • 2005/1/31 21:50

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


Hello,

Suddenly (I dont know the cause) my XOOPS 2.0.7.x site doesnt show anything :( Only a white page appears. I even cant get into the admin.

I have manually in the database with phpmyadmin set the debugmode on, and then it shows:

Quote:

Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 11520 bytes) in /www/www.[sitename].nl/ftp/incoming/htdocs/cms/class/smarty/Smarty_Compiler.class.php on line 134
Notice [PHP]: Undefined variable: _SESSION in file include/common.php line 259
Warning [PHP]: First argument to array_keys() should be an array in file include/common.php line 259
Warning [PHP]: Invalid argument supplied for foreach() in file include/common.php line 259


I dont have any idea where to start to find out how to solve it. Can anyone help me please??

2
rickh
Re: blank page :((((
  • 2005/1/31 22:43

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


I discovered when i enter:

ini_set("memory_limit","30M");

in a XOOPS php file that the page will be shown. I have no access to the server, so i cannot edit the PHP config files. And i dont think its a good idea to add this line (ini_set("memory_limit","30M");) to all of the php files in xoops.......

I also think there must something be wrong, because of that high memory usage. I have about 230 users, so that is not a problem i guess. But WHAT can be the cause of this problem?

Maybe there are some things that i can check?

3
jdseymour
Re: blank page :((((

Well has anything recently changed in either your XOOPS install or server environment?

4
rickh
Re: blank page :((((
  • 2005/1/31 22:55

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


I havent changed anything in my XOOPS config since months. It came suddenly :S Also checked with phpmyadmin if there were maybe very long comments from users or something, but at first sight i see nothing strange.

I dont know if my provider has changed something. Have already mailed them this question.

I use sessions (time = 20000). Can this cause the memory error? I;ve already tried to disable it in xoopsconfig -> mysessions -> 0 (with phpmyadmin, i cannot access the XOOPS control panel). But nothing changed.

5
jdseymour
Re: blank page :((((

So I assume that you tried typing:

http://yoursite.com/admin.php ??

6
rickh
Re: blank page :((((
  • 2005/1/31 23:12

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


yup

And admin works when I add that memory_limit=30 line to that admin.php file. But I most of the functions wont work because they use other files which generate that memory error... SO getting into the admin is not the main problem.. I need to know WHY my site generates so much memeory usage. Or is 20-30MB normal for a XOOPS site?

7
jdseymour
Re: blank page :((((

Yeah but I was thinking that you could enable the debug modes to try to narrow down the problem. Sounds like something is putting a strain on the server, any performance issues before this happened?

8
rickh
Re: blank page :((((
  • 2005/1/31 23:20

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


well, i have already enabled the debug mode (set it to 1 in phpmyadmin). When enabled I can see that error message about memory (see my 2nd post). When i disable debug mode i just get a blank page.

9
rickh
Re: blank page :((((
  • 2005/2/1 11:15

  • rickh

  • Just popping in

  • Posts: 94

  • Since: 2004/4/9 6


ok, fyi: i have contacted my provider today and they had lowered the memory size for PHP scripts because they have had some attacks. Now they have set it back and my site works now :)

10
jdseymour
Re: blank page :((((

Glad to hear it is fixed rickh. This had me stumped.

Login

Who's Online

306 user(s) are online (247 user(s) are browsing Support Forums)


Members: 0


Guests: 306


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits