I have CakePHP in production and having some problem

1. It is shared hosting and no access to httpd.conf
    Access to only
    /home/myusername
    /home/myusername/public_html

2. Setup
   /home/myusername/app
   /home/myusername/cake
   /home/myusername/vendors           (<- has adodb)
   /home/myusername/public_ html    (<- has the content of webroot)

Error: It is not connecting to Mysql
=========================
Notice: Only variable references should be returned by reference in
/home/myusername/vendors/adodb/drivers/adodb-mysql.inc.php on line 75


database.php
=========
class DATABASE_CONFIG
{
        var $default = array('driver' => 'adodb',
                                                                'connect' => 
'mysql',
                                                                'host' => 
'localhost',
                                                                'login' => 
'fhawk',
                                                                'password' => 
'KRcy599',
                                                                'database' => 
'pr_phpfeedhawk');
}


index.php
=======
if (!defined('ROOT')) {
                 define('ROOT', DS.'home'.DS.'myusername');
        }
        if (!defined('APP_DIR')) {
                 define('APP_DIR', 'app');
        }
        if (!defined('CAKE_CORE_INCLUDE_PATH')) {
                 define('CAKE_CORE_INCLUDE_PATH', ROOT);
        }

Have also tried putting the following lines at the top in index.php
define('BASE_DIR', '/home/deepakpr/');
define('ROOT', BASE_DIR.'cake');
define ('APP_DIR', 'app');
define ('WEBROOT_DIR', 'public_html');

My problem could be else where, I am not able to google for the notice
of adodb.
If anyone ran into this problem, will you please share.


Thanks




Notice: Only variable references .. in adodb-mysql.inc.php on line 75


--~--~---------~--~----~------------~-------~--~----~
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