What is the error your getting, I have just followed the link given to your site & was met with the following errorhi i aint good at talking much stiil can you help me out cause i am trying to develop the game ..........but i need that errors removed can anyone tell me a easy way to do so ?
free-hosting servers xo1 and xo2 - still throw the [ deprecated ] errorI don't seem to have this issue, could this be to do with certain web servers?
Haha.Please dont feel left out caftx10 you were probably sleeping & everything was put back to normal before you had woken up, that being said Im sure theres many members who would jump at the opportunity to give you their's.
Joking aside
If your not being affected then the server your on either never had the issue of has now been rectified
Edited: typo
PDO ain't so scary...i've been using it for like fifteen minutes, and i'm a big fan. Saves one heck of a lot of fannying about. Sorry i didn't see that post earlier; thanks, albeit 2 yrs and 49.5 weeks late.I posted this very nearly three years ago (in about 2½ weeks it will have been three years). We have known about the coming deprecation of ext/mysql for a long time (more than five years), we have known when it was coming for three years, and the release that deprecated it happened more than a year ago. If you have been using the mysql extension in your development at any time in the interim, that's your problem, not your host's.
worked for me as well.. Thanks man!As a quick fix you can do the following to hide the error untill the server admin figure out whats going on.
Open the complaining file in a good editor like Notepad++ & navigate to the line number stated in the error, if theres more than 1 file in the errors above the header then you will have to find the 1 that has the details to connect to the database, as an example, your looking for something like this on that line
$con = mysql_connect("$server","$username","$password"); or $this->pdo = new PDO("mysql:host=" . Config::read('hostname') . ";dbname=" . Config::read('database') so on, so on.
If you add a @ at the beginning of the line the error will be removed, so its like this @$con = mysql_connect("$server","$username","$password"); or @$this->pdo = new PDO("mysql:host=" . Config::read('hostname') . ";dbname=" . Config::read('database') and so on, so on.
If more than 1 error is showing,dont worry theres only 1 file that needs the alteration
Refresh you page & the error should be gone.
Please dont forget to remove the @ after the issue has been resolved.
This was fixed in 2014. If you are having a similar problem, please make your own thread, rather than post here.This still hasn't been fixed 2 years later?