Mitch L. Posted May 3, 2011 Report Share 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 Link to comment Share on other sites More sharing options...
Nuclear Posted May 3, 2011 Report Share Posted May 3, 2011 In local.config in the 'core' directory: define('DBASE_USER', 'xxx'); define('DBASE_PASS', 'xxx'); define('DBASE_NAME', 'xxx'); Quote Link to comment Share on other sites More sharing options...
Mitch L. Posted May 3, 2011 Author Report Share 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 Link to comment Share on other sites More sharing options...
Industrialshadow Posted May 3, 2011 Report Share 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 Link to comment Share on other sites More sharing options...
Mitch L. Posted May 3, 2011 Author Report Share 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 Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 3, 2011 Administrators Report Share Posted May 3, 2011 Run install/checkinstall.php, some files uploaded may have been corrupted Quote Link to comment Share on other sites More sharing options...
Mitch L. Posted May 4, 2011 Author Report Share Posted May 4, 2011 Below is just the problem now Quote Link to comment Share on other sites More sharing options...
Mitch L. Posted May 5, 2011 Author Report Share 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 Link to comment Share on other sites More sharing options...
Mitch L. Posted May 5, 2011 Author Report Share Posted May 5, 2011 solved....thanks to a previous topic you guys helped....local.config wasnt completely empty Quote Link to comment Share on other sites More sharing options...
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.