Author |
Message |
26/09/2004 05:23:50
|
alpamej
Beginner
Joined: 26/09/2004 05:17:26
Messages: 5
Location: Naga City, Philippines
Offline
|
Hi there guys,
Im just new here, I tried to download the Advance guestbook last time and uploaded to our website www.bicolmail.com/guestbook/ but it is not functioning. IM sorry to tell you i don't have any idea about php but i want our website to have own guestbook which is powered by this site. Anyone can help me to fix it. PLease i need your help guys, i dunno what is MySQL and how to configure it.
Thank you. [/b]
|
|
26/09/2004 06:10:03
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
You need to add your info to the admin/config.inc.php file. Fill in the missing information between the quotes (" ")
Example:
Around line 4:
Change databasename to the actual name of your database (including host prefix if any).
Change databaseusername to the actual user name for your database (including host prefix if any).
Change databasepassword to the actual password for your database user.
Around line 59:
Change "yoursite.com" to your actual site address. Replace "guestbook" with the actual name of the directory you put your guestbook in.
Change email@yoursite.com to your actual email address.
|
|
26/09/2004 11:30:33
|
alpamej
Beginner
Joined: 26/09/2004 05:17:26
Messages: 5
Location: Naga City, Philippines
Offline
|
There is still a problem while i am adding a message to the guestbook, while i am uploading a picture there is also an error...
Warning: unlink(index.html): Permission denied in /home/bicolmai/public_html/guestbook/lib/add.class.php on line 80
|
|
26/09/2004 12:39:41
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You need to change the permissions on both the public and tmp folders in the guestbook folder. You need to CHMOD them both to 777. If you do not know how to do this then read your FTP clients help files.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
26/09/2004 12:41:32
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Actually having reread your post I am worried. unlink(index.html) says to me that the script was trying to unlink (delete) the index.php file of the guestbook. I may be wrong though.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
29/09/2004 08:07:41
|
alpamej
Beginner
Joined: 26/09/2004 05:17:26
Messages: 5
Location: Naga City, Philippines
Offline
|
Guy's I still have a problem. There is still an error while im adding message and adding my picture. Please help me to fix it.
Warning: copy(/home/bicolmai/public_html/guestbook/tmp/img-1096437723.jpg): failed to open stream: Permission denied in /home/bicolmai/public_html/guestbook/lib/add.class.php on line 149
that is the message appear while im adding the message.
|
|
29/09/2004 08:17:53
|
Anonymous
|
Since the error is saying "permission denied" you need to check Chmod permissions again. As Carbonize said, the tmp and public directories have to be set to 777. Were you not able to do this? What FTP client are you using? Do you have CPanel?
|
|
29/09/2004 10:25:16
|
alpamej
Beginner
Joined: 26/09/2004 05:17:26
Messages: 5
Location: Naga City, Philippines
Offline
|
yeah we have a Cpanel. I dunno what ftp client we are using. but i know our site is hosted by Ipowerweb.
|
|
29/09/2004 15:25:02
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
In CPanel, select "File Manager"
Navigate to the directory you put the guestbook in
click on the folder to the left of "public_html"
click on the folder to the left of "guestbook"
Click on the guestbook subdirectory named "Public"
(Click on the name, not the folder)
(Usually) on the right, select "Change Permissions"
Click in all the boxes so the permission reads 777
Click on "change"
Same thing for the guestbook subdirectory named "tmp"
|
|
29/09/2004 19:01:13
|
alpamej
Beginner
Joined: 26/09/2004 05:17:26
Messages: 5
Location: Naga City, Philippines
Offline
|
Thanks amber and carbonize for your advice.. now its woking.
|
|
27/06/2007 00:50:24
|
duke88
Newbie
Joined: 19/06/2007 04:44:53
Messages: 2
Offline
|
Having changed the directory permissions on tmp and public to 777, and having read all I can find of help from carbonize and amber, is there any other help regarding file permissions on the advanced guestbook? Occaisionally, the file permissions are correct on the full-size photo. Sometimes the file permissions are set correctly on the thumbnail. I still have to go to the website several times a day to fix permissions so my clients guestbook photos work - any ideas?
Thanks
duke
|
|
|