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 
Admin problem with advanced guestbook  XML
Forum Index » Support Forum
Author Message
Anonymous



Hi
I downloaded the guestbook and had it all working before on another site, but now I can't seem to get it working on the site im currently working on!

First I log into my webspace and create a new mysql database, usually called Guestbook and give it a password (I've tried calling it guestbook_1 too) then I open up the config.inc.php

$GB_DB["dbName"] = "Guestbook";
$GB_DB["host"] = "localhost";
$GB_DB["user"] = "Guestbook";
$GB_DB["pass"] = "password";

(That isn't my real password I use and yes its the same password as my mysql database)

/* misc */

define('IS_MODULE', false); /* running as POST-Nuke 0.x or PHP-Nuke 5.x addon? */

$GB_PG["base_url"] = "http://www.fuzzydigital.co.uk/scripts/guestbook"; /* e.g http://www.yourdomain.com/guestbook */

$DB_CLASS = "mysql.class.php";
$TEC_MAIL = "mike@fuzzydigital.co.uk";
$GB_UPLOAD = "public";
$GB_TMP = "tmp";

^ Just showing what I edit in that file

I upload the guestbook folder

Then I goto : http://www.fuzzydigital.co.uk/scripts/guestbook/install.php
And fill in the details click create table (the other button returns an error message even when I haven't created the mysql database beforehand)

Then chmod the directories.

Then goto the admin page and type in test as username and 123 as password but it says invalid username and password.

I have phpBB2 working with a mysql database
In phpmyadmin I can see the username is test and the password is 773359240eb9a1d9 it also has session and last visit with some numbers too.

Its strange as it was working before on the same webhost (same account!), just with a different domain name

Thanks
Mike
Carbonize
Master
[Avatar]

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

Weird. Try my password reset script - www.carbonize.co.uk/reset.zip

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



That worked! thanks!
I checked phpmyadmin and the numbers under password have changed and it has a * as the first character
Carbonize
Master
[Avatar]

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

Apparently they have changed the password encryption in the latest versions of MySQL so as the install script plonks the encrypted password straight into the database based on the old method ............

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Is that something he can patch in the next version?

Also I saw in the admin area when I was changing my password that it says enter current password when its supposed to say enter new password, the next box down it says confirm new password

mysql version is 4.1.8 standard it says.
Carbonize
Master
[Avatar]

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

He aint done anything to the guestbook in the 2 years I have been using it. I don't think he even visits the site anymore or updates ANY of the scripts. I was in the middle of updating his script to patch these things but have become sidetracked with my own guestbook script as I'm fed up of patching this one and trying to work around his weird code.

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