Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

php mysql error after move to new server Rate Topic   - - - - -

 
  • vortech
  • Senior Member
  • Members
  • Join Date: 02-Apr 06
  • 107 posts

Posted 09 January 2011 - 03:33 AM #1

Getting this:


Warning: require(/home/warped/public_html/store/core/db/mysql.php) [function.require]: failed to open stream: No such file or directory in /home/warped/public_html/store/init.php on line 34

Fatal error: require() [function.require]: Failed opening required '/home/warped/public_html/store/core/db/mysql.php' (include_path='/home/warped/public_html/store/lib/pear/.:/usr/lib/php:/usr/local/lib/php') in /home/warped/public_html/store/init.php on line 34


http://warpedtoys.com/store/index.php


Any ideas?


 
  • Triplets
  • Senior Member
  • Members
  • Join Date: 23-Sep 08
  • 1179 posts

Posted 09 January 2011 - 03:53 AM #2

Edit config.local.php and make sure

$config['db_host'] = 'whatever';
$config['db_name'] = 'whatever';
$config['db_user'] = 'whatever';
$config['db_password'] = 'whatever';

match your new server settings

 
  • vortech
  • Senior Member
  • Members
  • Join Date: 02-Apr 06
  • 107 posts

Posted 09 January 2011 - 04:00 AM #3

I was missing the full core dir thats odd the only thing that was missing.. fixing the config now.