Mitch L. Posted May 3, 2011 Report Posted May 3, 2011 Hey guys I am currently changing a site to vms, I use 1&1 Hosting and created a new MySQL Database but cant rename the actual database. Where in the vms files can i just change the database name its looking for? or any other solutions? Thanks Mitch L. Quote
Nuclear Posted May 3, 2011 Report Posted May 3, 2011 In local.config in the 'core' directory: define('DBASE_USER', 'xxx'); define('DBASE_PASS', 'xxx'); define('DBASE_NAME', 'xxx'); Quote
Mitch L. Posted May 3, 2011 Author Report Posted May 3, 2011 See the wierd thing is it doesn't have the local.config in it, then i went to the compressed folder that i downloaded and its not in there either..am i missing something? Thanks for the quick reply Quote
Industrialshadow Posted May 3, 2011 Report Posted May 3, 2011 Hi when you install a new VMS then create a blank local.config.php and put it in your core libary The local.config.php write all Data when you install the vms Quote
Mitch L. Posted May 3, 2011 Author Report Posted May 3, 2011 I unziped and uploaded the complete package, i created the local.config.php blank file and uploaded it to core with 776 permissions, i went to the install.php and gives me Parse error: syntax error, unexpected '.', expecting '(' in /homepages/29/d234489515/htdocs/hawaiian/install/install.php on line 63 Quote
Administrators Nabeel Posted May 3, 2011 Administrators Report Posted May 3, 2011 Run install/checkinstall.php, some files uploaded may have been corrupted Quote
Mitch L. Posted May 5, 2011 Author Report Posted May 5, 2011 Fixed the above problems but when i next step the first page of setup it says, Fatal error: Cannot redeclare class ezDB_mysql in /homepages/40/d366614234/htdocs/core/classes/ezdb/ezdb_mysql.class.php on line 299 Quote
Mitch L. Posted May 5, 2011 Author Report Posted May 5, 2011 solved....thanks to a previous topic you guys helped....local.config wasnt completely empty Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.