Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Random PHP parse errors on last line of random files



Threaded Mode | Print  

 Random PHP parse errors on last line of random files (0 Replies, Read 2215 times)
davestewart
Group: Member
Post Group: Newbie
Posts: 6
Status:
I've just set up a new Mac and have pulled my current project in.

Strangely, I'm getting randomly-occuring PHP errors on random files; it could be my files, or core framework files, but always the same:

- PHP will complain about a parse error
- it's always on the last line of the file
- the line will usually be a closing brace

I have to delete the brace, then re-type it, and the application will run again!

I haven't altered these files, PHP just doesn't like them for some reason; it feels like this is an invisible character issue, but I have no idea how it got there.

Here's some info about my setup:

- Mac / OSX
- PHP 5.6
- Brand new laptop
- Using AMPPS (for reasons too boring to explain) which may, or may not be related to the problem
- Repository hosted on Git

Any insight / ideas would be great, thanks.

Dave
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 20, 2024, 7:19 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.023