MySQL not working |
[eluser]klompie[/eluser]
Sure, because when disabling autoloading database library and using: mysql_connect("localhost","crm_user","******") or die(mysql_error()); mysql_selectdb("dtd_crm") or die(mysql_error()); it works correclty
[eluser]jmadsen[/eluser]
what is your setup? are you running a WAMPP/XAMPP/etc or did you set up yourself? Without autoload, are you actually able to connect to the db and return results? Also, give this a try: $db['default']['dbdriver'] = "mysqli"; ---- it sounds like something with your server set up, but it could just be a bad file somewhere. There is also this thread that you may have already seen: http://ellislab.com/forums/viewthread/149308/#803971
[eluser]klompie[/eluser]
I'm using a hosting provider and when using normal php commands i can get data from the database. Also $db[‘default’][‘dbdriver’] = “mysqli”; is not working
[eluser]jmadsen[/eluser]
well, I would try the same files on your local set up and see if it works there. if it does, it's your server. if it doesn't, it's your files. then we can play 20 questions tomorrow night and narrow it down further. I don't have any more time right now.
[eluser]klompie[/eluser]
Found the problem. It has something to do with the function eval being blocked. |
Welcome Guest, Not a member yet? Register Sign In |