Hi all,

I got caught for a few hours on this one - so here's a tip for those
like me who may swap to a mac occasionally for your development, or if
you develop fulltime on a mac.

I was customising tags.ini, and getting errors. In reading the file the
PHP file() function (line 103 of helper.php) couldn't recognise the
line endings because of the way the mac saved line endings by default.

You can fix the problem via php config,
"Note: If you are having problems with PHP not recognizing the line
endings when reading files either on or created by a Macintosh
computer, you might want to enable the auto_detect_line_endings
run-time configuration option."

...or simply set your editor to save using line endings the same as
your server.

I blame Dreamweaver on Mac for not maintaining the line endings of the
original tags.ini file. 

-ad


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to