Forum Moderators: coopster

Message Too Old, No Replies

parse error, unexpected $end in

         

hafez

9:10 am on Aug 9, 2006 (gmt 0)

10+ Year Member



Dear All,
this maybe newbie php developer, but I need some help ,please.

I have a problem that some of my scripts show

parse error, unexpected $end in

, the error line number @ the last line of the file, the weird thing that the script run online without any problem on Linux machine , put @ local(windows machine) I have this problem maybe the differences in the environment. any ideas please.

note = I am sure that it not curly brackets problem.

thanks.

henry0

11:46 am on Aug 9, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hafez, Welcome on WebmasterWorld!

Try comparing both php.ini

It might still be bracket related. Does your script editor highlight ending brackets?
On your production server something is stopping the script sequence resulting in an unbalanced bracket situation.

Could you post your script or the section related to the problem (unless it’s hundreds of lines long)