Jump to content

Isidore

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Isidore's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--quoteo(post=354331:date=Mar 12 2006, 06:38 PM:name=wickning1)--][div class=\'quotetop\']QUOTE(wickning1 @ Mar 12 2006, 06:38 PM) [snapback]354331[/snapback][/div][div class=\'quotemain\'][!--quotec--] Some people upgrade from 4.0 to 5.0, but you're right, it should be spitting out an error. Something must be crashing the thread because it should be printing the "after connection" part no matter what. [/quote] That's the not-so-funny part. It doesn't even print the stuff before the connection. And that old password stuff, this is on a shared host that uses cPanel, so setting the password isn't a problem. Thanks for your help.
  2. I run a site that was recently upgraded to MySQL 5 (last week). Now this very simple script won't run: [code]<?php echo '<p>before connection</p>'; $please_connect = 1; if ($please_connect == 1){   mysql_connect ("localhost", "username", "pass") or die(mysql_error());   mysql_select_db ("dbname"); } else {   echo '<p>you did not ask to connect.</p>';    } echo '<p>after connection</p>'; ?>[/code] If $please_connect is set, then there is no output, and no error. If not, then everything prints properly. I notice that there is a new setting in 5 regarding strict mode. Would this be the culprit? It's very strange, because the site has partial availability-- some pages and the stylesheet seem to be unavaialble, but other things are still there. I'm very perlplexed.:(
×
×
  • 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.