Parse error: syntax error, unexpected T_VARIABLE in C:\www_root\mboard\settings.php on line 35
i checked the settings.php file and it showed:
$settings['display_IP']=1;
please let me know what i did wrong.
thanks,
Tim
parse error when load mboard.php
The problem probably is with the line BEFORE the line you pasted. What have you inserted for
$settings['admin_email']
?
Make sure you have quotes around the e-mail and the line must end with a ;
Like this:
$settings['admin_email']="you@yourdomain.com";
If this doesn't help post the entire settings.php file
Regards
$settings['admin_email']
?
Make sure you have quotes around the e-mail and the line must end with a ;
Like this:
$settings['admin_email']="you@yourdomain.com";
If this doesn't help post the entire settings.php file
Regards
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
Thank you...
Klemen, you're right on target. i missed the " ; " after my email address.
now i run into another problem. that it said:
Warning: fopen(count.txt) [function.fopen]: failed to open stream: Permission denied in D:\Web Site\cgi-bin\mboard\mboard.php on line 429
Error
Can't open the count file (count.txt) for writing! Please CHMOD this file to 666 (rw-rw-rw)
i am running on windows server and have copied the script into the "cgi-bin" folder and modified access to "script source access and write access" (actually i tried them all). but still getting permission denied.
your help would be greatly appreciated.
thanks,
tim
now i run into another problem. that it said:
Warning: fopen(count.txt) [function.fopen]: failed to open stream: Permission denied in D:\Web Site\cgi-bin\mboard\mboard.php on line 429
Error
Can't open the count file (count.txt) for writing! Please CHMOD this file to 666 (rw-rw-rw)
i am running on windows server and have copied the script into the "cgi-bin" folder and modified access to "script source access and write access" (actually i tried them all). but still getting permission denied.
your help would be greatly appreciated.
thanks,
tim
Thank you...
i think i got it figured out...it work now.
thank you so much for all your help. i really appreciated.
thanks again.
Tim
thank you so much for all your help. i really appreciated.
thanks again.
Tim