Author |
Message |
23/01/2004 04:03:35
|
pmonahan
Beginner
Joined: 23/01/2004 03:47:28
Messages: 13
Offline
|
Greetings:
I have set up my guestbook at Eschellon.com
The guestbook.pl file has been modified and uploaded to the cgi-bin directory with the following settings:
Permissions: 755
#!/usr/bin/perl
# url of script
$cgiurl = "http://www.eschellon.com/cgi-bin/guestbook.pl";
# base url to all guestbook files without trailing "/"
$bookurl = "http://www.eschellon.com/book";
# base directory to all guestbook files from the server root without trailing "/"
$base_dir = "/hsphere/local/home/rfunkman/eschellon.com/book";
[Web Host lists the following: Home Directory = /hsphere/local/home/rfunkman ]
[Web Host lists the following: HTML Directory = /hsphere/local/home/rfunkman/eschellon.com ]
The book directory is located at http://www.eschellon.com/book
I can log in as administrator, but nothing from there ( any documentation ?? )
Also, if I try to add an entry via addentry.html or guestbook.html an error occurs....
Cannot create ID file guest_id.txt in hsphere/local/home/rfunkman/eschellon.com/book. Please check your base directory.
Any help would be appreciated...I know I'm close
Thanks in advance.
Peter
Atlanta Georgia USA
|
|
23/01/2004 15:16:35
|
lmf33
Beginner
Joined: 18/01/2004 23:18:34
Messages: 12
Offline
|
You will have to change your base directory
$base_dir = "/hsphere/local/home/rfunkman/eschellon.com/book";
This is what I had to do to get it to work for me.
Instead of this
$base_dir = "/home/usr/you/book"; (you is your user name to your webserver)
I put in this
$base_dir = "/home/you/public_html/book";
Try that.
That didn't work completely for me so I had to set permissions for
guest_id.txt
guestbook.html
page_id.txt
template.html
To 777
guestbook.pl goes in the cgi-bin, upload in ASCll and permissions to 755
|
|
23/01/2004 17:48:17
|
pmonahan
Beginner
Joined: 23/01/2004 03:47:28
Messages: 13
Offline
|
Seems I forgot a forward slash:
here's what worked after some experimenting:
$base_dir = "/hsphere/local/home/rfunkman/eschellon.com/book
Thanks
Peter
|
|
|