Script URL: www.okinawan-shorinryu.com/gbook
Version of script: 1.5
Hosting company: FatCow
URL of phpinfo.php: www.okinawan-shorinryu.com/gbook/test/phpinfo.zip
URL of session_test.php: www.okinawan-shorinryu.com/gbook/test/session_test.zip
Write your message below:
First thanks for ANY help and please remember I feel pretty vulnerable (and stupid) right now. I’m very, very new at .php and have had VERY limited success at it.
1. Installation of GBook went without a hitch. (Loaded into a separate folder named “gbook”)
2. Made the changed as outline in “readme.htm” – no problem
3. Loaded the file “gd_test.php” When I click on it I get the red box with the word “WORKS” I take it this is a good sign.
4. When I type in “www.okinawan-shorinryu.com/gbook” it defaults to www.okinawan-shorinryu.com/gbook/gbook.php - again I take this as a good thing.
The Guest book comes up and I click on “Sign Guestbook”
5. The Guest Book test boxes come up but NO security image. If I change “settings.php” to “2” I WILL get a box with security numbers in it.
6. When I fully complete a test message, enter the security number and then click “add my comments” I get the error message “Wrong Security Number” in red.
I think I know the problem but not the solution.
The original settings.php reads
<?php
/* >>> SETUP YOUR GUESTBOOK <<< */
/* Detailed information found in the readme file */
/* File version: 1.5 $ Timestamp: 2nd Feb 2007 17:19 */
In this I need to tell the program where to work, i.e. where my “cgi-bin/temp” is at i.e. "http://www.okinawan-shorinryu.com/cgi-bin/tmp"
My ISP (FatCow) told me I needed the following as well:
"/home/users/web/b2761/moo.okinaw2/gbook"
PROBLEM (I believe)
My first three lines in “settings.php” reads as follows:
<?php
session_save_path('http://www.okinawan-shorinryu.com/cgi-bin/tmp');
session_start('/home/users/web/b2761/moo.shorin2/gbook');
I think this is the problem, some syntax is wrongly written/worded but then If I knew what was wrong I might be able to fix it myself!?
I read and reread all the entries about Gbook I could find. I may have overlooked the answer but I don't know enough to know.
Anyway, ANY suggestions . . . PLEASE!
Thanks
Michael@seaox.com
New-B Gbook question
ANother Request
I'm sure someone out there can figure my post out - I would be extremely grateful for any help from anyone
I know that sound desperate but that's what I am - desperate!!!
I know that sound desperate but that's what I am - desperate!!!
In the two lines you added to the setting.php file :
session_save_path('http://www.okinawan-shorinryu.com/cgi-bin/tmp');
session_start('/home/users/web/b2761/moo.shorin2/gbook');
I understand the use for the session_save_path(...) but not for the session_start(...). According to the php manual (http://www.php.net/manual/en/function.session-start.php) you are not suppose to have attributes for the session_start(). Which means the () must always be empty.
I would suggest you remove that session_start(...) line.
session_save_path('http://www.okinawan-shorinryu.com/cgi-bin/tmp');
session_start('/home/users/web/b2761/moo.shorin2/gbook');
I understand the use for the session_save_path(...) but not for the session_start(...). According to the php manual (http://www.php.net/manual/en/function.session-start.php) you are not suppose to have attributes for the session_start(). Which means the () must always be empty.
I would suggest you remove that session_start(...) line.
You have problems with sessions. Remove both extra lines in your settings.php file, close all browser windows and try again.
Also the phpinfo and session_test files you uploaded - you should unzip them first and upload the .PHP files inside
Also the phpinfo and session_test files you uploaded - you should unzip them first and upload the .PHP files inside

Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
HOLY CRAP!
First, thanks to everyone who has contacted me with suggestions - I've never used a support forum before and I am very impressed at the response - again THANK YOU ALL!
Changes I've made
Unzipped the two ZIP files as indictaed
phpinfo.php = www.okinawan-shorinryu.com/gbook/phpinfo.php
session_test.php = www.okinawan-shorinryu.com/gbook/session_test.php
I reloaded the "settings.php" file and removed the 2 additional start lines I had added.
I contacted my ISP - they resat $_SESSION['test'] is set to: FALSE to TRUE
. . .
HOLY CRAP, IT WORKS!!!!!
I am indebted (esp Jim)
Thanks bunches guys
Michael

Changes I've made
Unzipped the two ZIP files as indictaed
phpinfo.php = www.okinawan-shorinryu.com/gbook/phpinfo.php
session_test.php = www.okinawan-shorinryu.com/gbook/session_test.php
I reloaded the "settings.php" file and removed the 2 additional start lines I had added.
I contacted my ISP - they resat $_SESSION['test'] is set to: FALSE to TRUE
. . .
HOLY CRAP, IT WORKS!!!!!
I am indebted (esp Jim)
Thanks bunches guys
Michael
