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 
problem resetting admin password.  XML
Forum Index » Advanced Guestbook Forum
Author Message
testar81
Beginner

Joined: 22/10/2004 10:02:31
Messages: 38
Offline

Hi, im trying to reset my admin password for the advanced guestbook throught the reset_pass.php file but i get this error.

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/domains.1/B/billingsforsik.net/html/forum/lib/mysql.class.php on line 30
Connection Error
--------------------------------------------------------------------------------

MySQL Error : Connection Error
Error Number: 2002 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Date : Mon, August 15, 2011 11:56:40
IP : 217.25.40.2
Browser : Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; GTB7.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET4.0C; .NET CLR 3.0.30729)
Referer : http://www.billingsforsik.net/forum/misc/forget_pass.php
PHP Version : 5.2.17
OS : Linux
Server : Apache/2.2.17 (Debian)
Server Name : www.billingsforsik.net


This message was edited 1 time. Last update was at 15/08/2011 11:57:49


Nordiva.
Carbonize
Master
[Avatar]

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

Try my beta reset script from http://carbonize.co.uk/Lazarus/Forum/index.php?topic=8.0

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 22/10/2004 10:02:31
Messages: 38
Offline

Thanks now it works but why does all the posts in my guestbook have the same ip number.

Nordiva.
Carbonize
Master
[Avatar]

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

I'm guessing your host is sat behind a proxy and so every request comes from the proxy and the guestbook logs the proxy's IP.

Try this add.class.php file. Just replace the existing version in the lib folder.

This message was edited 1 time. Last update was at 15/08/2011 12:13:54


Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 22/10/2004 10:02:31
Messages: 38
Offline

the problems is still there.

Nordiva.
Carbonize
Master
[Avatar]

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

The file will not fix old entries but will rectify the issue with new entries.

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 22/10/2004 10:02:31
Messages: 38
Offline

Its the same even why i post a new test messages.

Nordiva.
Carbonize
Master
[Avatar]

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

And you replaced the add.class.php file you have in the lib folder with my new one?

BTW I made a test entry so please delete it.

Carbonize
I am not the maker of the Advanced Guestbook

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

Joined: 22/10/2004 10:02:31
Messages: 38
Offline

Yes i have done as you said with the add.class file.

Nordiva.
Carbonize
Master
[Avatar]

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

OK try putting this file somewhere on your site and then message me with what it outputs when you visit it in a web browser.

Carbonize
I am not the maker of the Advanced Guestbook

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