Ive just installed php5 on a new development machine. Apache and MySQL are working and a test of php with a simple phpinfo() works ok.
I have transferred my php4 code to the new machine (I didnt expect it to work straight away, but I also didnt expect this error:
Parse Error: syntax error, unexpected $end in C:wwwphpSitemodulesuser.php on line 128
It happens on each and every php file with the line number indicated not actually existing (its the number after the last line number of the file ?!?!
Ive tried taking the code and pasting it into a new file - but im getting the same error. Ive analysed the file in PSPad and there doesnt seem to be anythign unusual with the end of file markers.
Any ideas?
ShootingStar
Ive just installed php5 on a new development machine. Apache and MySQL are working and a test of php with a simple phpinfo() works ok.
I have transferred my php4 code to the new machine (I didnt expect it to work straight away, but I also didnt expect this error:
Parse Error: syntax error, unexpected $end in C:wwwphpSitemodulesuser.php on line 128
It happens on each and every php file with the line number indicated not actually existing (its the number after the last line number of the file ?!?!
Ive tried taking the code and pasting it into a new file - but im getting the same error. Ive analysed the file in PSPad and there doesnt seem to be anythign unusual with the end of file markers.
Any ideas?
ShootingStar
|
|
Search Webmaster Help and Solution
Parse Error: syntax errorRelated ItemsQuery failed: connection to localhost:3354 failed (errno=111, msg=Connection refused). |
