Parse error: syntax error, unexpected T_STRING on line 59
Posted: Sat Dec 23, 2006 11:03 am
Script URL: www.workrant.com/gbook143
Version of script: the latest
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
unexpected T_STRING
Parse error
Syntax error
Problems installing
etc.
Write your message below:
Hello Klemen,
I very much appreciate your script and think it will look and function great on my site, when I've sorted it all out and customised it.
I'm been stumped however with a problem early on.
When I try to access gbook.php I am getting the following error:
Parse error: syntax error, unexpected T_STRING in /home/workrant/public_html/gbook143/gbook.php on line 59
Line 59 is as follows I've put it in bold and the surrounding code for context:
if (!(empty($a))) {
if (!empty($_SESSION['block'])) {
problem('You can't have a rant at the moment!',0);
}
The only thing I've customised here is the text, and I checked with the original source to see if I accidently deleted anything else (can happen), which I haven't.
Any ideas.
Thank you for your time.
Mark
Version of script: the latest
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
unexpected T_STRING
Parse error
Syntax error
Problems installing
etc.
Write your message below:
Hello Klemen,
I very much appreciate your script and think it will look and function great on my site, when I've sorted it all out and customised it.
I'm been stumped however with a problem early on.
When I try to access gbook.php I am getting the following error:
Parse error: syntax error, unexpected T_STRING in /home/workrant/public_html/gbook143/gbook.php on line 59
Line 59 is as follows I've put it in bold and the surrounding code for context:
if (!(empty($a))) {
if (!empty($_SESSION['block'])) {
problem('You can't have a rant at the moment!',0);
}
The only thing I've customised here is the text, and I checked with the original source to see if I accidently deleted anything else (can happen), which I haven't.
Any ideas.
Thank you for your time.
Mark