Jump to content

please with error on website


sfareri

Recommended Posts

The install of my script is not working.  It give me blank page after installation.  Finally I manually installed the sql script myself.  Now I'm getting the follow error in the database file.  Everything matches the way it should in the config file.  PLEAE HELP!!


Fatal error: Call to undefined function mysql_select_db() in C:\www\sams\inc\function\sams_database.php on line 33

line 33:

if ( !mysql_select_db( $sam_config['mysql_table'],mysql_connect($sam_config['mysql_host'],$sam_config['mysql_username'],$sam_config['mysql_password']) ) )


Link to comment
https://forums.phpfreaks.com/topic/26744-please-with-error-on-website/
Share on other sites

there are many articles on enabling it for PHP, there's one on this site as well ( http://www.phpfreaks.com/forums/index.php/topic,95378.0.html ) :D I'm assuming of course that you're trying to use PHP on a server of your own, not a renting from a host...

if you're renting from a host it's possible that it's their problem (if they advertise they have mysql) and you should contact them about it
I fixed the error now.  Now when I view the pages I get blank web pages and I can't view anything on the site on my PC.  Any ideas?  The install file also stops and will not do anything.  I'm sure everything is configured correclty.  PLEASE HELP!!  ???

Thanks,
Sam

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.