Anthony Niemann
|
| Posted: 06/10/2002, 10:53 AM |
|
I have a project that was working correctly from Code Charge. I loaded it
into Studio and generated it and I now get the following error. There is
nothing at line 130 that appears to relate to this error.
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
/home/salidaca/public_html/cafe/Home.php on line 130
126 //SetOrder Method @8-F7477F97
127 function SetOrder($SorterName, $SorterDirection)
128 {
129 $this->Order = "PerformanceTime asc" & _
130 " limit 1";
131 }
132 //End SetOrder Method
My host is running PHP Version 4.2.1
Any help would be greatfully appreciated.
Tony
|
|
|
 |
Anthony Niemann
|
| Posted: 06/10/2002, 12:03 PM |
|
Okay, I found the error. Code Charge is adding the wrong line break
characters for PHP.
This is what was generated:
$this->Order = "PerformanceTime asc" & _
" limit 1";
Should be:
$this->Order = "PerformanceTime asc" .
" limit 1";
It appears there are lots of other conversion errors too...
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 06/11/2002, 4:02 AM |
|
Please email the project with errouneous page specified to
support@codecharge.com.
I'd like to take a look at the bug.
--
Alex
CodeCharge Developer
"Anthony Niemann" <tony@removethis.zierniemann.com> wrote in message
news:ae2p3e$c0$1@news.codecharge.com...
> I have a project that was working correctly from Code Charge. I loaded it
> into Studio and generated it and I now get the following error. There is
> nothing at line 130 that appears to relate to this error.
>
> Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
> /home/salidaca/public_html/cafe/Home.php on line 130
>
> 126 file://SetOrder Method @8-F7477F97
> 127 function SetOrder($SorterName, $SorterDirection)
> 128 {
> 129 $this->Order = "PerformanceTime asc" & _
> 130 " limit 1";
> 131 }
> 132 file://End SetOrder Method
>
> My host is running PHP Version 4.2.1
>
> Any help would be greatfully appreciated.
> Tony
>
>
>
|
|
|
 |
|