Jump to content

ajaxim install help


darkfreaks

Recommended Posts

i have been trying to install with no luck come to find otu my server does not support PDO i tried to use mysql_connect instead of new PDO.

 

however i get  some weird connection error  host '00.00.0 is not allowed to connect" then "call to function exec on a non object"

 

the lines are below.

 

  $sql = mysql_connect('mysql:dbname=' . $_POST['mysqldb'] . ';host=' . $_POST['mysqlhost'], $_POST['mysqluser'], $_POST['mysqlpass']);
        foreach($db_sql as $statement) {
            $sql->exec(str_replace('ajaxim_', $_POST['mysqlprefix'], $statement));

Link to comment
https://forums.phpfreaks.com/topic/215992-ajaxim-install-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.