[Solved]Site suddenly with blank frontend??

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Whels
New Member
New Member
Posts: 9
Joined: Sun Dec 07, 2008 8:47 pm

[Solved]Site suddenly with blank frontend??

Post 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
Last edited by Whels on Fri Apr 10, 2009 7:08 am, edited 1 time in total.
nuno

Re: Site suddenly with blank frontend??

Post by nuno »

and this is what?  http://www.jcisctknud.dk/
Whels
New Member
New Member
Posts: 9
Joined: Sun Dec 07, 2008 8:47 pm

Re: Site suddenly with blank frontend??

Post 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...
Whels
New Member
New Member
Posts: 9
Joined: Sun Dec 07, 2008 8:47 pm

Re: Site suddenly with blank frontend??

Post 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)???
nuno

Re: Site suddenly with blank frontend??

Post 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
Pierre M.

Re: Site suddenly with blank frontend??

Post 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.
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm
Location: Norway

Re: Site suddenly with blank frontend??

Post 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...
ReneH 8-)
A search will save you hours waiting for an answer! Image
Whels
New Member
New Member
Posts: 9
Joined: Sun Dec 07, 2008 8:47 pm

Re: Site suddenly with blank frontend??

Post 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
Whels
New Member
New Member
Posts: 9
Joined: Sun Dec 07, 2008 8:47 pm

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

Post 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
Post Reply

Return to “CMSMS Core”