Hi all, I recognise that this might be better in the Jake support forums, but I'm unable to log into them and they seem quite low traffic, so I wanted to try here. Thanks for any ideas:
I'm currently experimenting with CakePHP and Jake. I'm having trouble, which I suspect might be related to the beta versions I am using: CakePHP 1.2 Joomla 1.5 (running in legacy mode, however) This is running on my local machine, Mac OSX using the MAMP distribution set to run PHP5. The first problem occurred on install and is likely something that will need to be solved in Jake itself for CakePHP 1.2. Trying to access the admin, I get the following message: Fatal error: Call to undefined method JakeAdminController::setViewName() in /Applications/MAMP/htdocs/mysite/ administrator/components/com_jake/jake_admin_controller.class.php on line 62 This is due to the removal of the setViewName() function in recent Joomla releases. I can view the admin if I change this call to the following: $view = &$this->getView('admin_send', $viewType, 'JakeView'); (note the change in function call order) With the above done I am able to access admin. The second problem is proving impossible to solve, however. Once I have generated a Jake URL and tried to access it (for example, http://localhost:8888/mysite/index.php?option=com_jake&jrun=%2Facccounts%2Fregister) I get the message: Fatal error: session_start() [<a href='http://php.net/function.session- start'>function.session-start</a>]: Failed to initialize storage module: user (path: /Applications/MAMP/tmp/php) in /Applications/MAMP/ htdocs/application/app/cake/libs/session.php on line 154 I would very much appreciate any ideas as to how I might resolve this. Both Joomla and CakePHP sessions, on their own, appear to be working normally. I have set permissions on the sessions directory mentioned above to 777, without results and now I am completely stuck. Thanks for any ideas, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---