Trouble with the $settings['autosubmit']

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
JFW Consultants
Posts: 23
Joined: Mon Apr 10, 2006 6:28 pm

Trouble with the $settings['autosubmit']

Post by JFW Consultants »

Script URL: www.claygatescouts.org/guestbook
Version of script: 143
Hosting company: Freeola
URL of phpinfo.php: www.claygatescouts.org/guestbook
URL of session_test.php: www.claygatescouts.org/guestbook
What terms did you try when SEARCHING for a solution:

Write your message below:

The latest version of the Guestbook Script - version 143.

I have had trouble with the $settings['autosubmit'] because the settings of 1 and 2 don't appear to work. Setting 1 does not allow the visual viewing of the graphic number and although setting 2 shows the text number it creates an error when trying to post the entries, as follows:
"Warning: main(SecImg.inc.php): failed to open stream: No such file or directory in /freeola/users/5/8/sr0182885/htdocs/guestbook/gbook.php on line 105

Fatal error: main(): Failed opening required 'SecImg.inc.php' (include_path='.:/usr/local/share/pear') in /freeola/users/5/8/sr0182885/htdocs/guestbook/gbook.php on line 105"
In the "settings.php" file it only shows the options as 1 or 0! '0' (Zero) setting works but of course this is the setting that shows / requires no Pass Code that has to be entered by the user.

The gd_test.php file shows that the GD library is installed ok as the Red 'WORKS' shows ok. I assume therefore that the problem lies with Sessions.
The sessions_2.php results in the response: "$_SESSION['test'] is set to: FALSE" and session_1.php does not work at all.

I assume that the Session Test should show as set to TRUE. If so, how do I approach the ISP to get this changed please?

The Guestbook I am proposing to use is at: www.claygatescouts.org/guestbook. I have had your previous version running there for a couple of years but had suspended it because of the spamming experience. I am though still running the previous version on another web site at www.sawbridgeworthfirebrigade.co.uk/leavemeamessage/ and want to upgrade it sometime.

Your observations / help on this would be appreciated.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

The problem is your file name. Note that the file name is "SecImg.inc.php", the file on your server is named "secimg.ic.php". Pay attention, CaSe MaTtErS!

In the archive you download the file is named "SecImg.inc.php", make sure you don't have your Zip or FTP program set to force names in lower case.

Simply renaming file "secimg.inc.php" to "SecImg.inc.php" should do the trick.

Regards,
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
JFW Consultants
Posts: 23
Joined: Mon Apr 10, 2006 6:28 pm

Trouble with the $settings['autosubmit']

Post by JFW Consultants »

Many thanks for finding the error causing my problem. It was my FTP software that I had forgot was set to make all filenames Lower Case. Everything working as it should now.
Post Reply