Can't Get to Sign Screen

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Opv
Posts: 4
Joined: Wed Aug 30, 2006 7:16 pm

Can't Get to Sign Screen

Post by Opv »

I just downloaded the Gbook (version 1.43) and am having trouble getting past the main page. Every time I click on "sign guestbook" the page just sits there and goes no where.

The script is installed on my home server (localhost) on Windows XP Professional.

Any ideas?
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

The only thing that comes to my mind is that your PHP installation is not processing $_GET and/or $_POST properly.

You can try replacing all $_GET in gbook.php with $_REQUEST and see if that helps.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Opv
Posts: 4
Joined: Wed Aug 30, 2006 7:16 pm

Post by Opv »

Thanks. I tried that and tested the script again but got the same results. I am not receiving any error message. When I click on "sign guestbook" I receive a notice from my firewall that the script is requesting access to my trusted zone. I have granted access but still get nothing.

I have tested my PHP installation and it appears to be installed correctly, and I have the Gbook installation in a folder called Gbook within my web root folder.

Oh well, thanks for your help. I'll keep playing with it and see if anything jumps out at me as being problematic.

Opv
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You can try testing this file:
http://www.phpjunkyard.com/extras/get_test.zip

Open it in your browser by adding "?a=test" at the end:
http://(localhost or whatever)/get_testphp?a=test

and see if you get that value displayed or not. If not you indeed have problems with GET.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Opv
Posts: 4
Joined: Wed Aug 30, 2006 7:16 pm

Post by Opv »

OK.. I get three different outputs depending on the test environment.

IE: All I get is the script code itself....i.e., the PHP is not processed.

FIREFOX: I get "GET 'a' parameter is set to:"

HTML-KIT (my HTML editor): I get "GET 'a' parameter is set to:
PHP Notice: Undefined index: a in get_test.php on line 13"
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Exactly what I predicted - your PHP for some reason is not recognizing $_GET variables, probably not even $_POST. Check around at PHP forums/websites if you can find a fix for that, I don't know it.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Opv
Posts: 4
Joined: Wed Aug 30, 2006 7:16 pm

Post by Opv »

I did as you suggested and after a number of exchanges with some PHP experts, I finally found the problem. It seems my server (BRS Webweaver) requries that the server point to PHP_CGI.exe rather than PHP.exe, although the instructions for the program specifically state to insert the path to PHP.exe. I found the problem after someone pointed me to some old posts to the server's help forum. I had searched that forum and failed to find the post with the solution. Anyway, I found the problem and now all is well. Thanks for your help,

Opv
Post Reply