oil refine migrateI get PHP Fatal error: In RC3
PHP Fatal error: Call to undefined function Fuel\Core\mysql_connect() in /opt/lampp/fuel/core/classes/database/mysql/connection.php on line 73 Error - Call to undefined function Fuel\Core\mysql_connect() in COREPATH/classes/database/mysql/connection.php on line 73In newest versions from dev branches:
PHP Fatal error: Call to undefined function Fuel\Core\mysql_connect() in /opt/lampp/fuel/core/classes/database/mysql/connection.php on line 77 Error - Call to undefined function Fuel\Core\mysql_connect() in COREPATH/classes/database/mysql/connection.php on line 77I am sure my db settings are correct.
Both methods don't work.Jaroslav Petrusevic wrote on Wednesday 6th of July 2011:Hello, maybe try finding the spicified line #77
and try changing from mysql_connect() to \mysql_connect() (note the leading "\") Also you can try changing the database host from: localhost to 127.0.0.1 or vice-versa
<?php mysql_connect();and see if you get the same error message...
I get a blank page. Later I'll install 'normally' Apache, PHP and MySQL and check if it works that way. @EDITHarro Verton wrote on Thursday 7th of July 2011:are you sure you're commandline php uses the same php.ini as the one that runs in your webserver?
I've seen setups (especially the xAMP's you install seperately) where that's not the case, with the result that nothing is loading. To test, create a test.php:<?php mysql_connect();and see if you get the same error message...
It looks like you're new here. If you want to get involved, click one of these buttons!