• Resolved blaker414

    (@blaker414)


    Hello, MySQL statements have not been working on my site since the update to 4.9.2. My web host said it’s an issue with my custom theme (unfortunately a developer that I’m no longer in contact with created the theme). Any suggestions?

    • This topic was modified 8 years, 4 months ago by blaker414.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey, how did you solve it? I’m having the exact same issue 🙁

    Thread Starter blaker414

    (@blaker414)

    Try this code at the top…

    <?php $con = mysql_connect(“localhost”,”DATABASE NAME”,”DATABASE USER NAME”);

    if (!$con)
    { die(‘Could not connect: ‘ . mysql_error()); }

    $db_selected = mysql_select_db(“DATABASE NAME”, $con);

    if (!$db_selected)
    {die (“Can\’t use test_db : ” . mysql_error()); }
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘MySQL errors after update to 4.9.2’ is closed to new replies.