Quick one:
If you ever need to run a cake console app, and your site is on some shared hosting provider with only cpanel-ish access, running cake commands doesn't work *exactly* as advertised in their documentation. I managed to get my scripts running with the following syntax:
cd /home/[your_dir1]/public_html/yourSiteName.com/ ; /usr/local/bin/php bin/cake.php [app] [appFunction]
Hope that helps someone somewhere!
Showing posts with label cakephp. Show all posts
Showing posts with label cakephp. Show all posts
Friday, January 27, 2017
Wednesday, June 16, 2010
trying to bake on windows, but unseralize being wierd?
Notice (8): unserialize() [function.unserialize]: Error at offset 0 of 1519 bytes [CORE\cake\libs\cache\file.php, line 178]
Notice (8): unserialize() [function.unserialize]: Error at offset 0 of 28 bytes [CORE\cake\libs\cache\file.php, line 178]
Notice (8): unserialize() [function.unserialize]: Error at offset 0 of 5 bytes [CORE\cake\libs\cache\file.php, line 178]
modify cake\libs\cache\file.php, trim $data before serialize and unserialize functions:
$data = trim($data);
at line 177 and line 135
Subscribe to:
Posts (Atom)