Page 1 of 1

syntax error: settings.php on line 10

Posted: Sat Mar 05, 2011 10:29 am
by Kruzon
Script URL: Huh? http://www.cookingschoolsintl.com/CSI%2 ... /index.php
Version of script: 1.7
Hosting company: bluehost
URL of phpinfo.php: Huh? don't see this anywhere
URL of session_test.php: Huh? don't see this anywhere
What terms did you try when SEARCHING for a solution: syntax error: on line 10

Write your message below:
Parse error: syntax error, unexpected T_VARIABLE in /home2/cookini3/public_html/CSI TCBKK Files/PHP guest book/settingschanged.php on line 10

I get this same error if I rename this file to settings.php .. the original settings works fine except it won't allow multiple sessions from my PC. and that's what we're after as we dsire students to log in from our school and leave comment after class. also from public internet sites and then from their homw IP.

I' can't see anything different from the origianl setting to the changed settings except for the info changed as per the read me.

Thanx

Re: syntax error: settings.php on line 10

Posted: Sat Mar 05, 2011 11:16 am
by Klemen
You made a PHP syntax error when modifying the settings file. Post a copy of first 20 lines of your settings.php files (just change the password to something else!).