Troubleshooting

My blog/site is gone! What happened?!

Scenario:
"Recently, my blog has just stopped working for no reason but I didn't change any of the settings! When I visit my site or the admin area, I just get a blank page with nothing but all my files are still on the server. Where has everything gone?"

Solution:
Nucleus generates pages from your MySQL database on the fly so all your blog items are safe. Your host has probably changed the absolute path to your directories and now Nucleus can't find them to display your site.

Original forum thread (thanks, ftruscot!):
http://forum.nucleuscms.org/viewtopic.php?t=12247

Method:

  1. Copy and paste the following code into a text editor (e.g. Notepad) and save the file as path.php:
    <?php
    $real_path = realpath("./");
    if (strpos($real_path, '\\', 0)) $real_path .= '\\';
    else $real_path .= '/';
    echo $real_path;
    ?>
  2. Upload your file to the /nucleus/ directory (i.e. the directory with all the Nucleus core files in it).
  3. Open your web browser and navigate to http://yourdomain.com/path-to-nucleus-install/nucleus/path.php and check that the path it has output is the same as what you have set in your config.php.
  4. If the path in your browser is different to what you have in your config.php, modify config.php to have the new path.
  5. Reupload config.php to your server and delete path.php from your server.
  6. Done!
section: Troubleshooting | submitted by Leng on 2006.May.21 | 2682 views

item rate
Total votes: 5 - Rating: 5.60

Please tell us how useful this answer was to you (0 = useless, 10 = very very helpful):

10