| |
| |
| |
|
Page: 1 2 3
Comments:
<0> http://pastebin.com/760696 <0> got it ? <1> yea <1> do you get any errors? <1> or doesnt print out anything? <0> it just prints the results of lines (6,9,10) <1> oh <1> $r=mysql_fetch_row <1> ah wait <1> not that <1> i use $r instead of $result thats why that kinda looked suspicios to me <0> is something wrong on the script , it is a simple script but it is for testing , i think it is about mysql connectivity , but mysql server is running! <1> i dont see anything wrong in the script <1> do you have recorsds that have stuff like "'\/ or html tags; <0> i wrote something like $c=mysql_connect ("host","user",""); if ($c) ; echo "mysql server is now connected"; else { echo "not connected"; } , and it returned nothing too !! <1> check ur php.ini
<0> for what ? <1> enable display_Errors <0> it is ON <1> you dont have concate operater in your echo <0> what ? <1> ".$var." <1> echo "hello".$var <1> btw are you sure you got php module loaded? <0> yep , php is working fine <1> thats weird than <1> cant think of anything else <1> what did you get when you run the script again? <0> the same <1> lines 3,6,9 <1> ? <1> from pasted code? <1> only htmls? <0> yes <1> are you sure you loaded mysql extensions then? <0> what is mysql extentions ? <1> what os are you on? <0> windows xp <1> and what version of php? <0> 5 <1> k <1> you have to uncoment mysql.dll s from php.ini <1> did you do that <1> and give the ext path to it <1> did you do that? <0> mysql.dll in uncommented in php.ini <1> what about the path of ext s <1> does it match with teh place you installed them <1> ? <0> extension=php_mysql.dll <1> not that . this one extension_dir = <1> extension_dir = <1> is it the correct path? <0> CR000 : i have a strange thing , i dont have the mysql.dll file in php extentions directory !!! <1> it must be inside php/ext directory <0> it is not there !!! <1> spieeeeees must have removed it then <1> :D <1> those who doesnt want you to code php <1> get your self a new php <1> make sure it has mysql.dll s <1> and you own me 2 months free hosting for my tech support <1> :D <1> btw <1> name of the file might not be exactly mysql.dll <1> so dont panic right away <1> php_mysql.dll <1> do you have it? <0> no <1> search for mysql string as filename in your ext dir <1> then panic as you like <0> i only have libmysql.dll <1> thats not enough <0> but in the php's root directory <0> opss wait , i have php_mysql.dll in /ext directory <0> that's in /ext dir not in /extentions directory <0> CR000 : so what ?
<1> so scroll up and read <1> extension_dir = <1> all set now? <0> no , i dont have extension_dir directive in php.ini ! <1> then its spiiiiiiiiiesssss for sure <1> chk it again <1> its must be there <1> unless you r using preedited php.ini of some1else <1> search upwards <1> from where you were left <0> i got it yeah it is there extension_dir = "D:\Program Files\xampp\php\ext\" <0> that is the corrtect <0> dir <0> correct dir <1> D:\Progra~1\xampp\php\ext\" <1> now its correcter <1> .D <1> my english is getting gooder eveyday <1> did you do it like that? <1> btw i just got my self 3 months of free hosting remember that <0> yeah i changed program files to progra~1 , but it still not working ! <1> restart apache <1> 3months and 1 week <1> be quick <1> my fav tv series is about to start <1> worked now? <0> no , still the same :( <1> you are not faking right <1> not for 3 months of free hosting reight <1> :) <0> no iam not faking , make it work and i will give you a free 1 year hosting :) <1> lol <1> k move your libsql.dll to your apache bin <1> or to any directory in ur system path <1> and then restart apache again <0> libmysql.dll ? <1> wait a sec <0> it is already there :) <1> in ur php.ini extension=php_mysql.dll doesnt have ";" at the begining right? <0> not commented <1> same for extension_dir <0> yes , not commented too <1> and libmysql.dll is inside directory thats defined in system path right? <0> libmysql.dll is on the php's root directory <1> no <1> it must be in windows <1> directory <1> or winnt <1> or whatever system directory its called <1> after you check and make sure all are placed correctly <1> restart your apache server <1> and then chk ur script <1> working now? <0> shall i copy it to the windows root directory ? <0> or the system32 folder ? <1> yea <1> windows is fine <0> the same problem :( <1> u also got ur php5ts.dll there right? since you said you got php working fine <0> yes <1> did you restarted your apache? <0> if i modified php.ini, shall i modify the php.ini in php's dir or the php.ini in WINDOWS folder , cause i have one there too <1> in windows folder ofcourse <1> :) <1> working now? <0> i did and it is not working !!!!!!!!! <0> iam getting crazy !@*&@# <1> does it give any errors? <0> nothing ! <1> 1. copy your libmysql.dll to windows 2. edit your php.ini in windows uncomment php_mysql.dll and set the extension_dir path to the path of ur php/ext where you have mysql <1> extension_dir = "D:\Progra~1\xampp\php\ext" <1> extension=php_mysql.dll <1> mysqli.default_port = 3306 <1> then restart your apache
Return to
#mysql or Go to some related
logs:
#linux #london #skype #AllNiteCafe hymen before #linuxhelp grep for two #chatzone #linux #AllNiteCafe
|
|