[SOLVED] Site is broken - Please help..!

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
Charmie
Forum Members
Forum Members
Posts: 80
Joined: Tue Mar 03, 2009 3:32 pm

[SOLVED] Site is broken - Please help..!

Post by Charmie »

Really hoping someone can help.

I was playing around with the ownership of my site and change all the modules ownership to 'admin' using SSH and now my site can not be seen on the Internet.

All the information of the site is still there in the database, which I have made a back-up.
I also have the stylesheets and templates backed up too.

Does anyone know of a way I can maybe change back the ownership?

If not can I do a clean install of the site and point it at my old database and hopefully get all the pages and images back.
I know I may have to re-install the modules but just want to make sure that I don't make the situation worse.
If yes how do I do the install to get my old site back?

And no I did not back my site up, am not sure how to do this....
If it helps this is the site address: www.christchurchnorthfinchley.co.uk

Please help.....  :'(  :'(
Last edited by Charmie on Mon Jun 01, 2009 7:20 am, edited 1 time in total.
Charmie
Forum Members
Forum Members
Posts: 80
Joined: Tue Mar 03, 2009 3:32 pm

Re: Site is broken

Post by Charmie »

When viewing the site in IE it comes up with the message that the site is down for maintenance.

I have looked in the index.php file and found this:
=================
if (!isset($_SERVER['REQUEST_URI']) && isset($_SERVER['QUERY_STRING']))
{
$_SERVER['REQUEST_URI'] = $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'];
}

if (!file_exists(CONFIG_FILE_LOCATION) || filesize(CONFIG_FILE_LOCATION) MaintenanceSite down for maintenance.";
exit;
}
=================

Does anyone know why it is going to this part of the if statement and how to correct it?
???
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Site is broken

Post by jmcgin51 »

look for the SITEDOWN file in your tmp directory
Charmie
Forum Members
Forum Members
Posts: 80
Joined: Tue Mar 03, 2009 3:32 pm

Re: Site is broken

Post by Charmie »

Hi jmcgin51,

I have looked in the tmp folder but there is no SITEDOWN file.
Should I create one?
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: Site is broken

Post by reneh »

All files should be changed back to be the name of your ftp-user or the apache-user  (correct me someone if I'm wrong here)

And you should clean the /tmp/cache  and  /tmp/templates_c folders complete.
ReneH 8-)
A search will save you hours waiting for an answer! Image
Charmie
Forum Members
Forum Members
Posts: 80
Joined: Tue Mar 03, 2009 3:32 pm

Re: Site is broken

Post by Charmie »

Hi Reneh,

Thanks for the advice. I have done as you have said but still no luck.
The site is still down.

Does anyone know why this problem would have occurred just because I changed the ownership?
Also if I downloaded the modules again from the Forge and uploaded via FTP would this be a solution?
Should I try or will this only make things worse?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Site is broken

Post by Rolf »

Charmie,

Did you contact your provider yet.
Might be possible that they did something wrong at the same moment that you were working on your site.
Yes I know, it is a very small chance but you have nothing to lose, who knows...

Grtz. Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
replytomk3

Re: Site is broken

Post by replytomk3 »

You said you have a backup of your database. I suggest creating a subfolder on your server, installing most recent version of CMSMS, and restoring from database backup to test if it works. If it does, trash the old site files other than the ones I said you need to transfer on my website.

http://forum.cmsmadesimple.org/index.php/topic,30390.msg160337.html
http://mkrd.info/software-discussions/cms-made-simple/backin-up-and-restoring-cmsms.html
Charmie
Forum Members
Forum Members
Posts: 80
Joined: Tue Mar 03, 2009 3:32 pm

Re: Site is broken

Post by Charmie »

Thank you, thank you, thank you.
I think you may have saved me.

Sorry for the late reply, I went away for the Bank Holiday weekend.

I have not tried it out yet but am hoping/praying that it works.
I am taking Thursday offof work to get the site back online.
Will definitely let you know how it goes.

Once again thank you  ;D
Charmie
Forum Members
Forum Members
Posts: 80
Joined: Tue Mar 03, 2009 3:32 pm

Re: Site is broken - Please help..!

Post by Charmie »

It worked the site is up and running again, thank you, thank you, THANK YOU...... ;D ;D ;D
Post Reply

Return to “CMSMS Core”