![]() |
Help please...
Can you help me with this?
Parse error: syntax error, unexpected T_STRING in /home/a6886843/public_html/adoptables/inc/functions.php on line 13 I really need help. |
RE: Help please...
Did you edit functions.php at all by any chance? Did you have the script running ok first and then start getting this error? Did you successfully run the installer? I need more details. :)
|
RE: Help please...
$conn = mysql_connect($dbhost= ************** $dbuser= ****** $dbpass= ***********) or die ('Error connecting to MySQL');
What am I doing wrong? PS. This is my website: http://www.bakuadopts.comxa.com/ |
RE: Help please...
You didn't answer my questions. Did you get the script up and running previously or not? Did you change the functions.php file at all from the original version?
|
RE: Help please...
Did you mess with the template? Because the install is up, but its not showing any images?
|
RE: Help please...
Sorry BMR777 I will anwser your questions, no(I dont know how to get the up and running) and yes.
|
RE: Help please...
Ok, first off why did you change the functions.php file, especially if you didn't even get it up and running yet? What changes did you make?
|
RE: Help please...
Umm I changed the dbhost, the dbuser and the dbpass and db name. thats it.
|
RE: Help please...
Um, if you need to change them you do that in config.php, not functions.php.
Did you even run the installer? Why is the installer at the root of your domain? The installer should be at http://www.bakuadopts.comxa.com/install/index.php, not at http://www.bakuadopts.comxa.com/. I don't know why people keep moving the installer files outside of the install folder. :( Brandon |
RE: Help please...
Thanks. but im not sure if I moved the folder. but thanks again.
|
RE: Help please...
Wait, did you upload only what was inside the install folder? That's how it appears your site is set up. You need to upload everything, all the files, then run the installer from http://www.bakuadopts.comxa.com/install/index.php to set up the site.
|
RE: Help please...
The /install/ directory is located at this: http://www.bakuadopts.comxa.com instead of this: http://www.bakuadopts.comxa.com/install
|
RE: Help please...
Quote:
|
RE: Help please...
Ah, okay.
|
RE: Help please...
I did upload everything. How should I upload the files then?
|
RE: Help please...
Upload everything inside the "adoptables" folder to your "public_html" folder. That should work. :)
|
RE: Help please...
okay will do.[hr]
This is weird... this is what's weird: Warning: mysql_connect() [function.mysql-connect]: Access denied for user '******'@'*********' (using password: ***) in /home/a6886843/public_html/adoptables/inc/functions.php on line 13 and I havent even edited the functions.php... huh weird. |
RE: Help please...
I'll go do everything, just a second.
|
RE: Help please...
ok thanks you.
|
RE: Help please...
Its under review, I'll be done, but you want be able to see anything for a while...
DONE! |
RE: Help please...
ok thanks again.
|
RE: Help please...
If you need any help with stuff like templates e-mail me. ;D
|
RE: Help please...
wait a minute. I just tryed to install the thing to my site and its not working. its not working :(
|
RE: Help please...
Quote:
|
RE: Help please...
I have some knowledge for HTML.
|
RE: Help please...
OK what error exactly are you getting when you go to the www.yoursite.com/install/ ?
|
RE: Help please...
This error I am getting now and I know what to do but I dont know how to do it.
PHP Error Message Warning: mysql_connect() [function.mysql-connect]: Access denied for user '******'@'********' (using password: ***) in /home/a6886843/public_html/adoptables/inc/functions.php on line 13 Free Web Hosting Error connecting to MySQL |
RE: Help please...
It means the database details you entered are incorrect. Make sure you entered in the right data.
|
RE: Help please...
in config.php? or no.
|
RE: Help please...
You can download your config.php file using a FTP program and open it in a text editor like Wordpad to view or change the database information. Make sure the info in the file is correct and if need be change the info and re-upload config.php.
|
RE: Help please...
Is config.php suppost to have nothing in it? cause Im using a mac laptop and im using "sub etha edit"(or what ever its called).
Edit: oops my bad wrong config.php file. EDIT2: Why is it not working? :( |
RE: Help please...
No, it should not be blank. Did you run the installer? I'm guessing you didn't.
|
RE: Help please...
The installer's running and I found the config file thats not blank. But I filled the stuff all correctly and Its still doing this. ARG!
|
RE: Help please...
What's the link to your installation? You seem to have changed the link as the old one leads to a website built with some sitebuilder.
|
RE: Help please...
oh the installation is right here:
http://www.bakuadopts.comxa.com/adoptables/install/ its right there. |
RE: Help please...
The only thing that can be causing that error is if the details are incorrect. I know they vary on 000webhost depending on what server you are on. Maybe they use a database host other than localhost?
|
RE: Help please...
hmm maybe....
EDIT: Huh its still not working. grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr! |
RE: Help please...
For 000webhost, to get the MySql details, (In the control panel, not the file manager) go to MySQL (What you click on to make/ see MySql databases), then if you already have a database made, look at the table, the database your using, and next to it it should be the three details you need, database name (when you type the database name in, dont forget to include your username, example: aksf850_adopt), database username, and the MySQL host name.
Hope that helps. |
RE: Help please...
I'll Install it for you, I just need to know what you want your username and pass will be for the adoptables.
|
RE: Help please...
Quote:
|
All times are GMT -5. The time now is 07:57 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.