This topic is locked
[SOLVED]

 Parse error in add on 4.2

2/19/2008 7:43:58 PM
PHPRunner General questions
jimhnet author

I am currently gettting the following error message when I attempt to add a record:
Parse error: parse error, unexpected T_STRING in /home/dinfo/public_html/wash320rally/wash320rally_add.php on line 492
I am using 4.3 build 347, tried reverting back and using 4.1 build 341 which I have been using with no problems, to no avail.
I can't seem to locate the problem.
The error points to the following block of code(specifically the first line of the else statement($messsage = $usermessage):
after edit event

if(function_exists("AfterAdd"))

{

foreach($keys as $idx=>$val)

$avalues[$idx]=$val;

AfterAdd($avalues,$keys,$inlineedit);

}

}

}

else

{

$message = $usermessage;

$status="DECLINED";

$readavalues=true;

}

}
$defvalues=array();
Like the new SQL features.
JIm Freeman

Alexey admin 2/20/2008

Jim,
please publish your project on Demo Account and send a link to it to support@xlinesoft.com along with a problem description.
Or just zip and send me your wash320rally_add.phpfile for investigation.

jimhnet author 2/20/2008

I am currently gettting the following error message when I attempt to add a record:

Parse error: parse error, unexpected T_STRING in /home/dinfo/public_html/wash320rally/wash320rally_add.php on line 492
I am using 4.3 build 347, tried reverting back and using 4.1 build 341 which I have been using with no problems, to no avail.
I can't seem to locate the problem.
The error points to the following block of code(specifically the first line of the else statement($messsage = $usermessage):
after edit event

if(function_exists("AfterAdd"))

{

foreach($keys as $idx=>$val)

$avalues[$idx]=$val;

AfterAdd($avalues,$keys,$inlineedit);

}

}

}

else

{

$message = $usermessage;

$status="DECLINED";

$readavalues=true;

}

}
$defvalues=array();
Like the new SQL features.
JIm Freeman

jimhnet author 2/20/2008

I am currently gettting the following error message when I attempt to add a record:

Parse error: parse error, unexpected T_STRING in /home/dinfo/public_html/wash320rally/wash320rally_add.php on line 492
I am using 4.3 build 347, tried reverting back and using 4.1 build 341 which I have been using with no problems, to no avail.
I can't seem to locate the problem.
The error points to the following block of code(specifically the first line of the else statement($messsage = $usermessage):
after edit event

if(function_exists("AfterAdd"))

{

foreach($keys as $idx=>$val)

$avalues[$idx]=$val;

AfterAdd($avalues,$keys,$inlineedit);

}

}

}

else

{

$message = $usermessage;

$status="DECLINED";

$readavalues=true;

}

}
$defvalues=array();
Like the new SQL features.
JIm Freeman