Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Weird Parse Error?? Please help

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Weird Parse Error?? Please help

Postby yhuang » Mon Dec 16, 2002 9:37 am

Hi,All:

I just installed osC2.2 in Redhat linux 8.0, I have the following
parse error:
_______________________________
Parse error: parse error, unexpected $ in /var/www/html/catalog/login.php on line 190
______________________________

Here are the 3 lines in my file:

______________________
Line 188: <?php
Line 189: require(DIR_WS_INCLUDES . 'application_bottom.php');
Line 190: ?>
_____________________

This code worked fine in my windows apache before.

Any comments or suggestions?

Thanks for your generous help!

-Yi Huag 8O
yhuang
New php-forum User
New php-forum User
 
Posts: 2
Joined: Mon Dec 16, 2002 9:33 am

Re: Weird Parse Error?? Please help

Postby Oleg Butuzov » Tue Dec 17, 2002 4:49 am

_______________________________
Parse error: parse error, unexpected $ in /var/www/html/catalog/login.php on line 190
______________________________

Here are the 3 lines in my file:

______________________
Line 188: <?php
Line 189: require (DIR_WS_INCLUDES . 'application_bottom.php');
Line 190: ?>
_____________________

what is DIR_WS_INCLUDES ?
might be $DIR_WS_INCLUDES ?
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.