Page 1 of 1

[Solved]Site suddenly with blank frontend??

Posted: Thu Mar 26, 2009 7:12 pm
by Whels
This afternoon I enteret my site http://www.jcisctknud.dk/index.php both the frontend and administrator panel.
Suddenly here to night the frontend is blank. I can still access the admin panel...

I looked in the administratorlog but I don't see any unusual???

-------------------------------------------------------------------------------------------
Anders 1 Anders User Login 26-03-2009 18:53:57
BrianJ 0 Front End File Management (Uploads) File /customers/jcisctknud.dk/jcisctknud.dk/httpd.www/uploads//uploads/privatedocs/Medlemsoversigt.xls was downloaded. 26-03-2009 16:40:02
BrianJ 9 BrianJ User Login 26-03-2009 16:38:49
0 Frontend User Managment Frontend Bruger Log Ind: BrianJ 26-03-2009 16:38:30
BrianR 7 BrianR User Logout 26-03-2009 15:50:36
BrianR 7 BrianR User Login 26-03-2009 15:49:57
0 Frontend User Managment Frontend Bruger Log Ind: BrianR 26-03-2009 15:49:09
Anders 1 Anders User Login 26-03-2009 10:05:01
-------------------------------------------------------------------------------------------

What can I do to search for the reason  or a solution???

/Anders

Re: Site suddenly with blank frontend??

Posted: Thu Mar 26, 2009 8:05 pm
by nuno
and this is what?  http://www.jcisctknud.dk/

Re: Site suddenly with blank frontend??

Posted: Thu Mar 26, 2009 10:23 pm
by Whels
This is a simple maintanance page I uploaded while it is down...

The other one - http://www.jcisctknud.dk/index.php is the right one...

How do I troublesuite. I have tried to alter startpage with out any luck...

Re: Site suddenly with blank frontend??

Posted: Thu Mar 26, 2009 10:59 pm
by Whels
I set the debug=true in the config.php file, and I se there is a lot of errors in the Mysql:

Debug: (1.3E-5) - (534800)

loading smarty

Debug: (0.00451) - (796112)

loading adodb

Debug: (0.00599) - (877800)

loading page functions

Debug: (0.008752) - (1040252)

loading content functions

Debug: (0.011541) - (1246716)

loading pageinfo functions

Debug: (0.012131) - (1274632)

loading translation functions

Debug: (0.012918) - (1291908)

loading events functions

Debug: (0.014771) - (1374712)

loading php4 entity decode functions

Debug: (0.016764) - (1577676)

done loading files

Debug: (0.035604) - (2263880)


(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):

Debug: (0.039165) - (2356556)


(mysql): SELECT * FROM cms_userplugins
Error (0):

Debug: (0,067869) - (2993444)


(mysql): SELECT * FROM cms_modules WHERE active = 1 ORDER by module_name
Error (0):

Debug display of 'End of include':(0,160717) - (8185272)
Debug: (0,160795) - (8142908)

Session found.  Moving on...

Debug: (0,162386) - (8207768)


(mysql): SELECT ug.user_id FROM cms_user_groups ug
                    WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):

Debug: (0,162877) - (8210320)


(mysql): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id INNER JOIN cms_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '1' AND gr.active = 1
Error (0):

Debug: (0,167721) - (8641388)

Session found.  Moving on...

Debug: (0,168187) - (8644016)


(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'
Error (0):

Debug: (0,168311) - (8645076)

Session found.  Moving on...

Debug: (0,169546) - (8747332)

Session found.  Moving on...

Debug: (0,169794) - (8754444)

Session found.  Moving on...

What is Error (0)???

Re: Site suddenly with blank frontend??

Posted: Thu Mar 26, 2009 11:06 pm
by nuno
Well, without logs informations we cant help you, plus to me is a server issue that happend somehow.

But i understand you frustation, also you guys (not only you) must once and for all give the versions numbers.

Best regards and good lucky
Nuno Costa

P.S i just saw your last post you must have SERVERS LOGS and clear the cache etc etc, check the premitions 775 vs 777 and so on

Re: Site suddenly with blank frontend??

Posted: Tue Mar 31, 2009 9:22 am
by Pierre M.
Hello Anders,

please follow forum rules : CMSms version, hosting context, tried supported browsers, http logS, etc.
Error(0) means there is no error.

Pierre M.

Re: Site suddenly with blank frontend??

Posted: Tue Mar 31, 2009 9:55 am
by reneh
Go to see what this is:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /customers/jcisctknud.dk/jcisctknud.dk/httpd.www/index.php on line 54

it looks like an error somehow...

Re: Site suddenly with blank frontend??

Posted: Thu Apr 09, 2009 8:51 pm
by Whels
Pierre M. wrote: Hello Anders,

please follow forum rules : CMSms version, hosting context, tried supported browsers, http logS, etc.
Error(0) means there is no error.

Pierre M.
Sorry - Here it goes...
CMS Version: 1.5.4
PHP version (phpversion): 5.2.8
Server Database :MySQL 5.0.32
Server Software (server_software): Apache
Server Operativ System (server_os): Linux 2.6.18-6-vserver-amd64 Fra x86_64

Webhotellet is at One.com
reneh wrote: Go to see what this is:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /customers/jcisctknud.dk/jcisctknud.dk/httpd.www/index.php on line 54

it looks like an error somehow...
You are right - Earlyer the page was blank. It seemes like its the index page..
Here are the lines around line 54...
43 if (!file_exists(CONFIG_FILE_LOCATION) || filesize(CONFIG_FILE_LOCATION) MaintenanceSite down for maintenance.";
56 exit;
I hope I posted information enough this time...

/Whels

Re: [Solved]Site suddenly with blank frontend??

Posted: Fri Apr 10, 2009 7:10 am
by Whels
The index.php file was replaced - I seemed that I was haked....

I replaced the file.... and this time I put the rigth security settings om the file...

Thanks for your inputs....

/Whels