dalmaca
-
Posts
5 -
Joined
-
Last visited
Never
Posts posted by dalmaca
-
-
hi peeps, i set up a new server idenical to my old server , everything is the same ...
same:
php version
myslq version
apache version
i got them all the same so i know my site would work... but guess what it dont !!
well eventhing works except my cron's , normally when cron say evey 5minz works i get a email saying "No input file specified."
but now ive moved over to my new webserver im gettin error cron mails.. saying " php: error while loading shared libraries: libmysqlclient.so.12: cannot open shared
object file: No such file or directory"
is this something ive done or there end ?
im not hosting my own server its paid for , and its the same people that are hosting my old server.
Everyting is IDENITCAL so i dont know why it wont work.
any ideas ?
-
well the warning gone now ,
but it doesnt seem to let me goto step 2
ps its a sign up page , buti think thats sumthing my end ( on server its self)
Thnx -
this is where it says the error is ....
[code]
$host=gethostbyaddr("$REMOTE_ADDR"); <<<<<<<<<THIS LINE
$getbans =mysql_query("SELECT banned FROM $tab[banned];");
$bans = array();
while($ban=mysql_fetch_array($getbans)) {
array_push($bans, $ban[0]);[/code]
the error on that line just thought id better post that whole section as it might of been needed -
i am runnign a website witch is up and running fine...
decided to make a new site running the same script but slight changes ( layout / theme ect)
anyway i got another webserver ( the same as the real site is running, same host, same package ect )
but on the new site when i upload the sctrip and goto sign up i get this error
[code]Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in / [/code]
any ideas ?
cronjob error
in PHP Coding Help
Posted
but like i say i have another of there hosts and that works 100% fine?
mabye a diffrent machine/server running my new host tho ... cheers mate il let yall know how i geto n lol