If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Adv. Guestbook -- Recovery  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi all,

I have been running Advanced Guestbook for a number of months now with no problems -- unfortunately, last night, some yo-yo got into my server and replaced index.php with his salute to terrorism.

I thought that the correct procedure would be to paste the templates together to make a new index.php, so I put the Header, Body, Footer templates together and saved it, but that didn't turn out so good... I got my header, but nothing else worked, it showed the Javascript Variables instead of the guestbook entries, etc.

I know from looking at the Admin that all of the message appear to still be there.

How do I recover from this mess? Two questions in particular:

1) If I "re-install", would I lose my guestbook entries?

2) If that wouldn't work, how do I restore my index.php with guestbook entries? (I'm checking into the status of any backup that may have been made)

Thanks,
Terrence
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

if only your index.php file is missing re-download it from here.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Well, I tried that.... but it doesn't seem to load my settings, colors, etc., nor does it seem to load my messages...

I am pretty sure that it was the only thing touched....

Is there something specific I should do to get it to pick up the messages, etc?

Terrence
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

does it need chmod'ing?

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Hi Auron,

Well, I just got online and double checked my permissions, but it's all good -- even gave it a run at 777 for the helluvit.

One thought came to mind... I notice that in addentry.php, there is a call made to the includes such as config.inc.php, etc., but I notice that on the page I tried to borrow from your guestbook (index.php), I do not see any such includes... am I missing something or is that normal?

The reason I suspect that is because my page loads with variable names printed verywhere....

Thanks so much for your time!

Terrence
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

when you say variable names you mean like unprocessed php code?
If so just change the extension from .htm/.html to .php.

Are you sure you got the correct index.php file?
Is it to view entries in the guestbook or in the admin area?

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

In theory with the advanced guestbook as all the entries and data are stored in a MySQL database you reupload all the files for it.
The only thing you might have to do is re edit your config.inc.php if necessary.

But don't upload or run the file that modifies the db coz you might overwrite the one you currently have.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Where are the entries stored? I want to do some manual editing.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

My advice is delete everything apart from the config file then reupload the guestbook.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum