Author |
Message |
|
Got it with the help of my host. The link was right I just could not get my passwords right. thanks so much for your help
|
|
|
I still cannot get my password changed. I can get into the php page where it asked for username, password, etc but I get a connection error everytime. I have tried all different combinations. I know the host name is right, I know the data base name is right. I am not sure if the username is for the database or for the host. I have tried all combinations. Is there any other way I can change my password? I am at a loss. Please help. Here is the connection error I get . Maybe it will help you figure out what I am doing wrong. I do have two coppies of the guestbook on my site and have tried both database names.
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'vidahost.com' (4) in /home/mysorefi/public_html/guestbook/lib/mysql.class.php on line 30
Connection Error
--------------------------------------------------------------------------------
MySQL Error : Connection Error
Error Number: 2003 Can't connect to MySQL server on 'vidahost.com' (4)
Date : Sun, November 21, 2010 11:45:47
IP : 98.208.185.95
Browser : Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; SV1; Comcast Install 1.0; HotbarSearchToolbar 1.1; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; BRI/1; Comcast)
Referer : http://www.mysorefigtree.com/guestbook/misc/forget_pass.php
PHP Version : 5.2.13
OS : Linux
Server : Apache
Server Name : www.mysorefigtree.com
|
|
|
I am using version 2.4.4 and cannot get into my admin account. I have not been it it in a long time but am sure I am using the right password. Guess I just need to reset it for some reason. Thanks in Advance for your time.
|
|
|
ok got it. in the body.php i had
</tr>
</table>
in the wrong place which took the entry out of the formatted table. thanks and keep up the great forum and job
|
|
|
i did not do anything to edit.php and it was fine before i started to work on body.php. i did look at the code and do not see anything wrong. shows 32% for the name and 68% for the comment. here is the code. maybe u can see something i am missing.
<tr bgcolor="$bgcolor">
<td width="32%" valign="top">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="font2" valign="top" width="8%"><b>$id)</b></td>
<td width="92%"> <img src="$GB_PG[base_url]/img/ip.gif" width="14" height="14" alt="$LANG[AltIP]"> <img src="$GB_PG[base_url]/img/browser.gif" width="16" height="16" alt="$row[browser]">
$URL
$ICQ
$AIM
</td>
</tr>
<tr>
<td colspan="2" class="font1"><b>$row[name]</b> $GENDER</td>
</tr>
<tr>
<td colspan="2" class="font1">$row[email2]</td>
</tr>
<tr>
<td colspan="2" class="font2">$LANG[FormLoc]:<br>$row[location]</td>
</tr>
</table>
</td>
<td width="68%" class="font1" valign="top">
<div align="left" class="font3"><img src="$GB_PG[base_url]/img/post.gif" width="9" height="9">$DATE $HOST
<a href="$GB_COMMENT"><img src="$GB_PG[base_url]/img/edit.gif" width="18" height="13" border="0" alt="$LANG[AltCom]"></a>
$EMAIL
</div>
<hr size="1"><div align="left">
$USER_PIC $MESSAGE
</div>
$COMMENT
</td>
</tr>
thanks again.
|
|
|
First let me say that this forem has really help me do what I wanted to do and I did not have to ask the questions. I just looked for others that asked the same questions.
My problem: While I was fixing my Guest Book the way I wanted it I did something to some code and I need the original. You can go here and see what it looks like which will help you understand what is wrong. http://mysorefigtree.com/guestbook/ You can see the guest's information is in the middle and I lost the dividers etc. here is the code that I think needs fixing.
<table border="0" cellspacing="1" cellpadding="5" align="middle" width="$VARS[width]" bgcolor="$VARS[tb_bg_color]">
<tr bgcolor="$VARS[tb_hdr_color]">
<td width="32%"><font size="2" face="$VARS[font_face]" color="$VARS[tb_text]"><b>$LANG[FormName]</b></font></td>
<td width="68%"><font size="2" face="$VARS[font_face]" color="$VARS[tb_text]"><b>$LANG[BookMess7]</b></font></td>
</tr>
</table>
<!--Start Guestbook Entries -->
$TPL[GB_ENTRIES]
<!--End Guestbook Entries -->
<!--Start Bottom Navigation -->
<table width="$VARS[width]" border="0" cellspacing="0" cellpadding="2" align="center">
<tr valign="top">
<td class="font2"><img src="$GB_PG[base_url]/img/point2.gif" width="9" height="9">$TPL[GB_HTML_CODE] </td>
<td align="right" class="font2"> $TPL[GB_NAVIGATION]</td>
</tr>
</table>
</form>
<!--End Bottom Navigation -->
Thanks for your help in advance.
|
|
|