Welcome Guest, Not a member yet? Register   Sign In
Help!!! Database error on the online server
#5

[eluser]chamu_cfi[/eluser]
I finally solved the problem! I could see my hosting provider "php.ini" configuration file and saw the following line :
"Disable_functions = system, shell, exec, system_exec, shell_exec, mysql_pconnect, passthru, popen, proc_open, proc_close, proc_nice, proc_terminate, proc_get_status, escapeshellarg, escapeshellcmd."

Here we can see that the use of persistent connections to the database server disabled.

Then I had to change my "database.php" config file..
Change this line:

Code:
"$db['default']['pconnect'] = TRUE;"

by this one

Code:
"$db['default']['pconnect'] = FALSE;"

And now it works!!!

So now I need to know wich are the differences between a persistent connection and a non-persistent connection.
will I get the same functionality?


Messages In This Thread
Help!!! Database error on the online server - by El Forum - 02-04-2008, 08:56 AM
Help!!! Database error on the online server - by El Forum - 02-04-2008, 09:10 AM
Help!!! Database error on the online server - by El Forum - 02-04-2008, 02:23 PM
Help!!! Database error on the online server - by El Forum - 02-04-2008, 02:41 PM
Help!!! Database error on the online server - by El Forum - 02-04-2008, 10:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB