Database - Xampp issue - Please help! |
[eluser]alejandronanez[/eluser]
Hello everyone!!! Guys I'd been working on xampp 1.7.3 ( PHP 5.3 ) in one machine and I have to move to a new machine with xampp 1.7.1 (PHP 5.2.9). I work with Oracle XE, I install Oracle XE on my new machine with the same username/password. I create the same directory for my application 'tesis' so c:\xampp\tesis\ I edit the php.ini file, I ereased the ' ; ' from php_oci8.dll And it just don't work, when i type this http://localhost/tesis/ it says. Code: A Database Error Occurred I also have an .htaccess file. What can be wrong? Please help me! Thank guys
[eluser]danmontgomery[/eluser]
It means CI is unable to connect to the database with the host, username and password given in config/database.php... Could be a user/permissions issue in oracle, not really sure, I don't use oracle. Connection isn't made over HTTP, though, nothing to do with htaccess or CI's routing.
[eluser]alejandronanez[/eluser]
Yep, but the problem is that i have the same Oracle XE installation on my new machine(I update the tnsname file for the config/database file) and I also an exact copy of my old project folder. Could it be the Xampp version? Thanks.
[eluser]danmontgomery[/eluser]
Again, I don't use oracle so I can't really be sure, but in MySQL preferences are set based on the connecting host, not just username and password, I don't really know if that's relevant or not. It's not likely Xampp, the only difference is the PHP version and there's minimal difference between 5.2.9 and 5.3 (certainly not anything affecting oci_connect() that I'm aware of) What happens if you just try using oci_connect()?
[eluser]alejandronanez[/eluser]
I've benn trying again and the problem is when I load 'database' on autoload.php Any suggestion? |
Welcome Guest, Not a member yet? Register Sign In |