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)
-   -   Some Coding Trouble (http://www.mysidiaadoptables.com/forum/showthread.php?t=3966)

Kamalya 01-19-2013 07:53 PM

Some Coding Trouble
 
Alright, so I recently created a site and I was doing the installing steps. I get to about Step 3, hit next and then I get a error. I have like 0 coding experience and have been figuring everything out from trial and error so far, lol.

This is the error I am getting.

Parse error: syntax error, unexpected '.167' (T_DNUMBER) in /home/u296652253/public_html/katysite/install/configwrite.php on line 51

I go to line 51, and I know what's there and I remove it but I get even more jumble or errors and have no idea what I put there as again, no coding experience.

I appreciate any help I get and hope someone can tell me what I should put there instead so that I can finish installing my site since it took me forever just to get to the installing part. XD It's probably something simple too, lol.

Hall of Famer 01-20-2013 04:28 AM

Of course it is not working out, why are you trying to add your own code to the installation script anyway? I mean, the original script is different from the code you posted above. Just reupload the original script and install it following the instruction, it shouldnt be difficult.

If you really wanna know the cause of parse error, you are not enclosing string within single or double quotes. This is the current syntax:

PHP Code:

$adopts = new PDO("31.170.167.208""u296652253""katy15"); 

Also I recommend you to change the database password, its insecure to showcase your password on a public forum like this one.

Kamalya 01-20-2013 12:13 PM

I'm still getting the same error even after replacing it with the original configwrite.php file.

Hall of Famer 01-20-2013 03:50 PM

You should not, the original installation script does not give any errors as far as I know from other users. By original I mean the script you download from here, not your modified script. Anyway, reupload the original script and post the entire error message you get if it happens.


All times are GMT -5. The time now is 09:16 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.