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.51-Cannot create ID file guest_id.txt Error  XML
Forum Index » Support Forum
Author Message
Anonymous



Hello...

I'm running (at least attempting to) Guestbook 1.51... Which I think is an amazing guestbook! On my Macintosh, OSX built in Apache Server....

Okay... the same ol' problem for the zillionth time... When I click the "Sign Book" button, the resulting page gets that same old error code
"Cannot create ID file guest_id.txt in /book. Please check your base directory." I chmoded 777, 755, and 666 both the file and the directory "book".... Nothing.... It's getting pretty annoying, because i'm sure it's just a little thing I'm looking over....

Any suggestions, or help would be most appreciated!

Regards, Jon
imalgen@imalgen1000.org
Anonymous



Your internal path is wrong!

/book is the path from the URL

but need the path on your server which is e.g
/usr/local/httpd/htdocs/book
DoubleUK
Beginner

Joined: 12/01/2006 22:59:43
Messages: 5
Offline

Jonathan wrote:Hello...
Okay... the same ol' problem for the zillionth time... When I click the "Sign Book" button, the resulting page gets that same old error code
"Cannot create ID file guest_id.txt in /book. Please check your base directory." I chmoded 777, 755, and 666 both the file and the directory "book".... Nothing.... It's getting pretty annoying, because i'm sure it's just a little thing I'm looking over....

Any suggestions, or help would be most appreciated!

Regards, Jon
imalgen@imalgen1000.org


It took me a zillion corrections to find the correct url path until I hit the right one.

Look on the page (where the error-message is) for: DOCUMENT_ROOT

• Copy the path that follows on DOCUMENT_ROOT
• Open the 'guestbook.pl'-file in a texteditor.
• go to the part that says:

# base directory to all guestbook files from the server root without trailing "/"
$base_dir = "/home/usr/you/book";

• Paste the aforementioned path and put it before the '/book' part.
• Upload it to your server in the cgi-bin folder (don't forget to change it's mode to '755')
• Cross your fingers and see how it works.

Good luck!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum