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 
Guestbook 1.5 Server Setup  XML
Forum Index » Support Forum
Author Message
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
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
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
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum