Recent Topics

1 Apr 16, 2006 22:44    

I had the blog installed and several entries, then I was playing around with the _config.php (DUURRRRRRR) and now my blog's homepage says this:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/advice/public_html/conf/_config.php on line 70

??? how can i recover my blog?

2 Apr 16, 2006 23:58

how bout uploading a new _config.php that you havent "played around" with ... something tells me this would be one of those gimme's

3 Apr 17, 2006 01:29

Yeah, I tried that, then it wanted me to reinstall.

I found the particular problem that was giving me that error - I had deleted a " ' " in one of the thingies.

Now it's loading the homepage fine.
But: there is no template, and none of the links to posts work (404)

Maybe I have to start all over again - I have my posts via the homepage script... argh!!

Why didn't I backup!! backup backup backup d'oh!

4 Apr 17, 2006 01:43

Ok, I think I'm narrowing this problem down.

When I click on a link to one of the threads (off the homepage), the url it brings me to is like this: http://localhost/index.php

So, what have I done wrong here, and what should be the $baseurl = '' ?

I have the blog set up on the homepage, in the root directory.

5 Apr 17, 2006 01:58

I fixed it, everything's back!

Yipeeeeeeeeeeee!!!

Ok, here's what I had screwed up, apparently:

define( 'DB_HOST', 'localhost' ); // mySQL Server (typically 'localhost'

should have been blank, since the blog is the homepage, so I changed it to

define( 'DB_HOST', '' ); // mySQL Server (typically 'localhost', and that seemed to do the trick.

The entire blog is back, template and all. Everything is great.

I need to learn some programing.

Ok, I'm off to BACK IT UP now. Thanks!


Form is loading...