Parse error

Feed 7 posts, 3 voices

Avatar
3 posts

Hi, I had frog running on Tiger awhile back and just tried installing on Snow Leopard now and am getting the following error:

Parse error: syntax error, unexpected T_FUNCTION in /Users/user/Sites/frog_095/config.php on line 44

Any idea to fix this?

thanks,
Aaron

 
Avatar
3 posts

Ok, so removing that whole block of timezone code makes the error go away, but I get a blank page after setting the config file to read only and deleting the install folder.

 
Avatar
3 posts

Now to here:
Deprecated: Function set_magic_quotes_runtime() is deprecated in /Users/user/Sites/frogdata/frog/Framework.php on line 68

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /Users/user/Sites/frogdata/frog/Framework.php:68) in /Users/user/Sites/frogdata/frog/Framework.php on line 71

Fatal error: Call to a member function execute() on a non-object in /Users/user/Sites/frogdata/frog/Framework.php on line 594

 
Avatar
3 posts

not configuring the sqlite3 frog.db in /tmp.

 
Avatar
541 posts

this is because snow leopard use php 5.3 !!

change this in the framework.php file:

if (PHP_VERSION < 6)

to

if (PHP_VERSION < 5.3)
 
Avatar
1 posts

Well. That’s another thing to check up on but the reason it wasn’t working was because at some point I had
deleted my php.ini file. Once I put that back it magically worked.

Perhaps your post will explain why some of the plug-ins I was trying out didn’t work. Thanks for the reply.