View Full Version : Help Uploading Code
luvdance97
01-24-2009, 08:54 PM
Hi, I'm fairly new to this, so if you could help me, it would be great. I am starting a website using your EasyAdoptables Script. My webhost, 000webhost, doesn't let me download the entire Adoptables folder into their server, so I downloaded the files separately, and ended up with tons of errors. I tried fixing it, and fixed most of it, but I can't seem to fix this one error. So, I tried downloading SmartFTP and uploading the folder using that, and failed, again. If you want to see the error, you could just go to chubzy-world.comoj.com. If you could help me, it would be awesome!
Thanks!
Ashlee
livingingc
01-24-2009, 09:00 PM
Try using net2ftp.com. Just upload the files in a zipped folder via ftp. Remember to import the sql file in the database.
luvdance97
01-24-2009, 09:16 PM
Okay, I did that, but now there is another error.
Warning: mysql_connect() [function.mysql-connect]: Host '216.108.235.38' is not allowed to connect to this MySQL server in /home/a2211934/public_html/adoptables/index.php on line 14
livingingc
01-24-2009, 09:33 PM
are all the details correct in the sql file? did you change them with your databases information?
EDIT: i dont mean sql file.. i mean the config file in the inc folder
luvdance97
01-24-2009, 09:42 PM
Yeah. I was wondering if that was it, but it seemed to look right.
livingingc
01-24-2009, 09:53 PM
if the sql was imported, and the config is set up right, and all the files are installed in the correct folders, it should work. But my guess its either the config or sql.
BMR777
01-25-2009, 09:23 AM
Too, other users have reported issues with 000webhost and the database configuration. Double check with them that you've got the correct config details for your database as theirs are weird. :)
luvdance97
01-25-2009, 02:13 PM
Okay, I finally fixed my information, now I get this error.
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/a2211934/public_html/adoptables/index.php on line 14
livingingc
01-25-2009, 02:44 PM
Im not sure. Post your config settings, x out the password.[hr]
From what it looks like though, 000webhost is blocking it - through a firewall possibly. So I would assume that its on their end.
BMR777
01-25-2009, 05:09 PM
Okay, I finally fixed my information, now I get this error.
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/a2211934/public_html/adoptables/index.php on line 14
That looks like a host-related issue with your host's server. :(
luvdance97
01-26-2009, 02:22 PM
Any other reccomended web hosts?
agnyz
01-26-2009, 02:36 PM
Any other reccomended web hosts?
000webhost will work I just set one up for someone on that hosting last week.
I did run into the problem of localhost not working for the db location.
I had to use 'mysql5.000webhost.com' instead of 'localhost'.
I can't say for sure that mysql5.000webhost.com will be yours but if you look around it will tell you what to use.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.