wrong security code
Posted: Sat Feb 17, 2007 8:21 pm
Script URL: http://517prct.org/gbook/gbook.php
Version of script: 1.5
Hosting company:powweb.com
URL of phpinfo.php: http://517prct.org/gbook/phpinfo.php
URL of session_test.php: http://517prct.org/gbook/session_test.php
What terms did you try when SEARCHING for a solution: wrong security, image,
Write your message below:
Looks like a great guestbook solution, but I can't quite get over the hump on this. I am a newbie with php.
I created the guestbook per all instructions, but when I run it I always get the following errors:
Using a simple text-based security code: wrong security code (and the code does not show in the re-try page)
If I use the graphical tect, the image is not visible. (red X)
So I tried using no security code, and I get:
Couldn't open links file (http://517prct.org/gbook/xxxxxxxx.txt) for writing! Please CHMOD all http://517prct.org/gbook/xxxxxxxxx.txt to 666 (rw-rw-rw)!
But I checked the settings on the host server and the MODE is at 666.
I get the same errors testing from other computers and other browsers. The gd_test.php works fine.
As I said, I'm not much for php, but I suspect there are some base php settings not quite correct at the host.
I did check the error log after an attempt using a text-based secuity code and have the following result in my error log:
PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown(): open(/var/php_sessions/sess_32b2b9ad8079184e792f9fd8f15bb343, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_b90af0f3ee9e3634a4568d46c09a8b55, O_RDWR) failed: No such file or directory (2) in /xxxxxxxxxxx/htdocs/gbook/gbook.php on line 46
PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown(): open(/var/php_sessions/sess_b90af0f3ee9e3634a4568d46c09a8b55, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_47fe6b8c6ef6a9fbd0673fb854e6f405, O_RDWR) failed: No such file or directory (2) in /xxxxxxxxxxxxxxxxxxx/htdocs/gbook/gbook.php on line 46
In case it is useful, the root directory on the host is:
xxxxxxxxxxxxxxxxxxx/htdocs
Am I supposed to specify that somewhere?
Any help is greatly appreiciated.
Bob Barrett
Version of script: 1.5
Hosting company:powweb.com
URL of phpinfo.php: http://517prct.org/gbook/phpinfo.php
URL of session_test.php: http://517prct.org/gbook/session_test.php
What terms did you try when SEARCHING for a solution: wrong security, image,
Write your message below:
Looks like a great guestbook solution, but I can't quite get over the hump on this. I am a newbie with php.
I created the guestbook per all instructions, but when I run it I always get the following errors:
Using a simple text-based security code: wrong security code (and the code does not show in the re-try page)
If I use the graphical tect, the image is not visible. (red X)
So I tried using no security code, and I get:
Couldn't open links file (http://517prct.org/gbook/xxxxxxxx.txt) for writing! Please CHMOD all http://517prct.org/gbook/xxxxxxxxx.txt to 666 (rw-rw-rw)!
But I checked the settings on the host server and the MODE is at 666.
I get the same errors testing from other computers and other browsers. The gd_test.php works fine.
As I said, I'm not much for php, but I suspect there are some base php settings not quite correct at the host.
I did check the error log after an attempt using a text-based secuity code and have the following result in my error log:
PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown(): open(/var/php_sessions/sess_32b2b9ad8079184e792f9fd8f15bb343, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_b90af0f3ee9e3634a4568d46c09a8b55, O_RDWR) failed: No such file or directory (2) in /xxxxxxxxxxx/htdocs/gbook/gbook.php on line 46
PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0
PHP Warning: Unknown(): open(/var/php_sessions/sess_b90af0f3ee9e3634a4568d46c09a8b55, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/php_sessions/sess_47fe6b8c6ef6a9fbd0673fb854e6f405, O_RDWR) failed: No such file or directory (2) in /xxxxxxxxxxxxxxxxxxx/htdocs/gbook/gbook.php on line 46
In case it is useful, the root directory on the host is:
xxxxxxxxxxxxxxxxxxx/htdocs
Am I supposed to specify that somewhere?
Any help is greatly appreiciated.
Bob Barrett