sfareri Posted November 9, 2006 Share Posted November 9, 2006 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 33line 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 More sharing options...
genericnumber1 Posted November 9, 2006 Share Posted November 9, 2006 you sure your PHP has the mysql module? PHP5 doesn't come with it enabled. Link to comment https://forums.phpfreaks.com/topic/26744-please-with-error-on-website/#findComment-122307 Share on other sites More sharing options...
sfareri Posted November 9, 2006 Author Share Posted November 9, 2006 Oh, I did not know that. How can I get that? Link to comment https://forums.phpfreaks.com/topic/26744-please-with-error-on-website/#findComment-122334 Share on other sites More sharing options...
genericnumber1 Posted November 9, 2006 Share Posted November 9, 2006 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 Link to comment https://forums.phpfreaks.com/topic/26744-please-with-error-on-website/#findComment-122338 Share on other sites More sharing options...
sfareri Posted November 9, 2006 Author Share Posted November 9, 2006 Yes, I'm trying to run it myself. Thanks for the help it will be fun when I can't sleep tonight. Link to comment https://forums.phpfreaks.com/topic/26744-please-with-error-on-website/#findComment-122353 Share on other sites More sharing options...
sfareri Posted November 10, 2006 Author Share Posted November 10, 2006 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 Link to comment https://forums.phpfreaks.com/topic/26744-please-with-error-on-website/#findComment-122499 Share on other sites More sharing options...
exoskeleton Posted November 10, 2006 Share Posted November 10, 2006 hi guys...hope this helps...i just followed that instructions and everything works...good luck!!!more power...[attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/26744-please-with-error-on-website/#findComment-122509 Share on other sites More sharing options...
sfareri Posted November 10, 2006 Author Share Posted November 10, 2006 I fixed that problem and now running into another. I have to look at the database. Link to comment https://forums.phpfreaks.com/topic/26744-please-with-error-on-website/#findComment-122748 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.