PDA

View Full Version : Script setup question-


Saviir
01-08-2009, 12:25 AM
I have an account on 000webhost... But I can't get the script to work properly on it...
Does annyone know how to get the script running properly on my site?
'cas I haven't a clue :(

BMR777
01-08-2009, 09:43 AM
What's the link to your site and what errors, if any, are you experiencing?

Saviir
01-08-2009, 05:44 PM
I upload the stuff, and it tells me that I have to delete the index file...
http://veeadopts.net23.net/
And i created a subdomain, but how do i get it to show up there instead of the mainsite?
http://adopt.veeadopts.net23.net/

BMR777
01-08-2009, 05:47 PM
At the main site, did you upload all the files? I can't even find index.php there when I type it directly, which is odd.

How do you have the subdomain configured? Is is parked on the main domain or does it have it's own folder where you have to place the files?

Saviir
01-08-2009, 05:57 PM
Oh i went to the file uploader and moved it to
http://veeadopts.net23.net/adopt/

BMR777
01-08-2009, 08:29 PM
If you uploaded correctly the site should be viewable at:
http://veeadopts.net23.net/adopt/

You're getting a 404 error though for that URL, which makes me wonder... :(

Saviir
01-08-2009, 10:52 PM
If you uploaded correctly the site should be viewable at:
http://veeadopts.net23.net/adopt/

You're getting a 404 error though for that URL, which makes me wonder... :(


It just shows a page that says;

Your website is up and running!

Website veeadopts.net23.net has been successfully installed on server.
Please delete file "default.php" from public_html folder and upload your website by using FTP or web based File Manager.

- Your account information can be found on http://members.000webhost.com/
- If you need help, please check our forums and and FAQ List.
- Please review our Terms Of Service to see what is not allowed to upload.

If you are going to violate our TOS, please read this text until it's not too late!
Do not waste your time with 000webhost.com, if you are going to upload any illegal website here! All content is manually reviewed by humans, so if we will detect anything illegal, your account will be terminated. So don't waste your time in promoting your scams, hacking websites, or anything else malicious - your account will be terminated in 5 minutes after we will receive first abuse report or anything abusive will be detected by our staff. We also report all illegal activity to the local and international authorities.

Below you can see your current files in public_html folder.
File Size Last Modified
default.php 8KB Jan 08 2009 03:39:29 PM

BMR777
01-09-2009, 09:20 AM
That means you didn't upload the files. You need to use a FTP program to connect to your host and upload the files for the script to your adopt folder. You would also want to delete the default.php file as well.

Once the files are uploaded you would do the rest of the setup procedures. :)

Brandon

Saviir
01-09-2009, 05:17 PM
OK, I'll give it a go.[hr]
Erm... I moved it back to the original site because it wasn't connecting to the mysql server, but It's coming up with the same problem when I moved it;

PHP Error Message

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/a3006828/public_html/index.php on line 14

Free Web Hosting
Error connecting to mysql database!

BMR777
01-09-2009, 07:13 PM
Edit config.php with your database details. :)

Saviir
01-10-2009, 07:42 PM
oh, ok ^^
I'll give it a try :D[hr]
gah! It's still not working.
:(

BMR777
01-11-2009, 08:11 AM
You sure you've got the right database details? The error now means they are incorrect. Sometimes if you have a database, say mydatabase, you need to add your CPanel account name in front, like username_mydatabase for things to work properly.

BMR777

Saviir
01-11-2009, 10:02 PM
I did that :(

BMR777
01-12-2009, 09:37 AM
Well, the error means the script can't connect to your database. Does your host use a database besides "localhost" by chance? Double check the database details again, because that's where the script is getting hung up.

Saviir
01-12-2009, 05:03 PM
oh, I figured it out and moved it to http://sabre.net76.net/adoptables/
Just need to do a few modifications and re-uploads and It'll be fine :D