Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Help please... (http://www.mysidiaadoptables.com/forum/showthread.php?t=815)

Steelghost600 05-13-2009 03:44 PM

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.

BMR777 05-13-2009 04:31 PM

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. :)

Steelghost600 05-13-2009 05:07 PM

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/

BMR777 05-13-2009 05:09 PM

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?

Tezna 05-13-2009 05:12 PM

RE: Help please...
 
Did you mess with the template? Because the install is up, but its not showing any images?

Steelghost600 05-13-2009 05:20 PM

RE: Help please...
 
Sorry BMR777 I will anwser your questions, no(I dont know how to get the up and running) and yes.

BMR777 05-13-2009 05:22 PM

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?

Steelghost600 05-13-2009 05:24 PM

RE: Help please...
 
Umm I changed the dbhost, the dbuser and the dbpass and db name. thats it.

BMR777 05-13-2009 05:28 PM

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

Steelghost600 05-13-2009 05:30 PM

RE: Help please...
 
Thanks. but im not sure if I moved the folder. but thanks again.

BMR777 05-13-2009 05:32 PM

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.

SJC 05-13-2009 05:34 PM

RE: Help please...
 
The /install/ directory is located at this: http://www.bakuadopts.comxa.com instead of this: http://www.bakuadopts.comxa.com/install

BMR777 05-13-2009 05:35 PM

RE: Help please...
 
Quote:

Originally Posted by SJC
The /install/ directory is located at this: http://www.bakuadopts.comxa.com instead of this: http://www.bakuadopts.comxa.com/install

Yeah, but it shouldn't be. The way he has it set up indicates to me that he uploaded the files incorrectly as the installer is at the root of his domain, which it should not be. :)

SJC 05-13-2009 05:37 PM

RE: Help please...
 
Ah, okay.

Steelghost600 05-13-2009 07:07 PM

RE: Help please...
 
I did upload everything. How should I upload the files then?

BMR777 05-13-2009 07:12 PM

RE: Help please...
 
Upload everything inside the "adoptables" folder to your "public_html" folder. That should work. :)

Steelghost600 05-13-2009 07:17 PM

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.

Tezna 05-13-2009 08:26 PM

RE: Help please...
 
I'll go do everything, just a second.

Steelghost600 05-13-2009 08:28 PM

RE: Help please...
 
ok thanks you.

Tezna 05-13-2009 08:30 PM

RE: Help please...
 
Its under review, I'll be done, but you want be able to see anything for a while...

DONE!

Steelghost600 05-13-2009 08:33 PM

RE: Help please...
 
ok thanks again.

Tezna 05-13-2009 08:35 PM

RE: Help please...
 
If you need any help with stuff like templates e-mail me. ;D

Steelghost600 05-13-2009 08:37 PM

RE: Help please...
 
wait a minute. I just tryed to install the thing to my site and its not working. its not working :(

Seapyramid 05-13-2009 10:12 PM

RE: Help please...
 
Quote:

Originally Posted by Steelghost600
wait a minute. I just tryed to install the thing to my site and its not working. its not working :(

Steel have you any HTML, PHP, MYSQL or FTP knowledge? we really should know your level of knowledge at this point before even questioning your issues.

Steelghost600 05-14-2009 01:47 PM

RE: Help please...
 
I have some knowledge for HTML.

Seapyramid 05-14-2009 01:52 PM

RE: Help please...
 
OK what error exactly are you getting when you go to the www.yoursite.com/install/ ?

Steelghost600 05-14-2009 04:27 PM

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

BMR777 05-14-2009 04:31 PM

RE: Help please...
 
It means the database details you entered are incorrect. Make sure you entered in the right data.

Steelghost600 05-14-2009 04:37 PM

RE: Help please...
 
in config.php? or no.

BMR777 05-14-2009 04:40 PM

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.

Steelghost600 05-14-2009 04:45 PM

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? :(

BMR777 05-14-2009 04:47 PM

RE: Help please...
 
No, it should not be blank. Did you run the installer? I'm guessing you didn't.

Steelghost600 05-14-2009 05:01 PM

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!

BMR777 05-14-2009 05:03 PM

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.

Steelghost600 05-14-2009 05:06 PM

RE: Help please...
 
oh the installation is right here:

http://www.bakuadopts.comxa.com/adoptables/install/ its right there.

BMR777 05-14-2009 05:20 PM

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?

Steelghost600 05-14-2009 05:24 PM

RE: Help please...
 
hmm maybe....
EDIT: Huh its still not working. grrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr!

SJC 05-14-2009 08:22 PM

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.

Tezna 05-15-2009 04:56 PM

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.

Bloodrun 05-15-2009 05:04 PM

RE: Help please...
 
Quote:

Originally Posted by Tezna
I'll Install it for you, I just need to know what you want your username and pass will be for the adoptables.

Please take discretion when giving out passwords.


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.