Php Script Suddenly Gives Error

liunx

Guest
Hello!<br />I have a lot of PHP scripts running on my site.<br />Suddenly, after one year of working daily just fine, one of these scripts has stopped running.<br />the link to the page is as follows:<br /><a href="http://www.geniuscatalyst.com/memberarea/smfmayNOTWORKING.php" target="_blank">http://www.geniuscatalyst.com/memberarea/s...yNOTWORKING.php</a><br /><br />any ideas about what is happening?<br />I tried emailing support but they say its a problem on my end with the script, but how could something stop working suddenly?<br />thanks!<br />Alcinoo<!--content-->
Welcome to the forums Alcinoo <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />If you have changed nothing in the script or your database settings it would probably be best to open a ticket with the help desk and ask them to have a look. Link at top of page or in my signature.<br /><br />Also double check your script on line 2<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/your-userid/public_html/memberarea/smf/my_lesson.php on line 2<!--c2--></div><!--ec2--><!--content-->
Hey Bruce, thanks for writing, I did post a ticket and I was told to log into the forums to get help as at TCH nothing had changed... :-(<br />anything else you can think of?<br />thanks<br />Alcinoo<br /><br /><br /><br /><br /><br /><br /><br /><!--quoteo(post=197954:date=Jan 3 2007, 11:44 AM:name=TCH-Bruce)--><div class='quotetop'>QUOTE(TCH-Bruce @ Jan 3 2007, 11:44 AM) <a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=197954"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><div class='quotemain'><!--quotec-->Welcome to the forums Alcinoo <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />If you have changed nothing in the script or your database settings it would probably be best to open a ticket with the help desk and ask them to have a look. Link at top of page or in my signature.<br /><br />Also double check your script on line 2<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/your-userid/public_html/memberarea/smf/my_lesson.php on line 2<!--c2--></div><!--ec2--><!--QuoteEnd--></div><!--QuoteEEnd--><!--content-->
Welcome to the forum, Alcinoo. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><br /><br />Did the error come after an upgrade of your SMF or was no upgrade involved and it just broke?<br /><br />I would as Bruce says check line 2, if that doesn纾
 
Top