Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
Old 04-01-2009, 08:18 AM Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
Ultra Talker

Posts: 250
Trades: 0
Trying to install a estore getting this error

Quote:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/makecash/public_html/shop/includes/configure.php on line 10
Here is lines 1 to 15
<?php

PHP Code:
 /* add your database and website details to the variables below */  
define('DB_SERVER_USERNAME''*******');
   
// your username that you use to log into your web server
define('DB_SERVER_PASSWORD''*******);
  // your password that you use to log into your web server
define('
DB_DATABASE', store');
        
// replace username with your web server username
define('DIR_FS_CATALOG''/home/makecash/public_html/shop/');
   
// replace username with your web server username
define('HTTP_SERVER''http://www.make-cash-fast.info/shop');  // enter your website url
define('HTTP_COOKIE_DOMAIN''.make-cash-fast.info/');
  
// enter your website url. Do not include the www
define('DB_SERVER''localhost');  // do not change this unless your database server is not localhost 
line 10 is:
define('DIR_FS_CATALOG', '/home/makecash/public_html/shop/');

definitely got the details in the config files right and permissions are set correct and was uploaded in correct transfer mode.

tried googling around cant find results some people with same problem but different script had different answers just wonderin if anyone here can come up with one?
__________________
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|

MofoDog is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-01-2009, 10:16 AM Re: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
You forgot a single quote in DB_SERVER_PASSWORD:
Code:
'*******);
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 04-01-2009, 11:30 AM Re: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Store is missing a single quote as well

define('DB_DATABASE', store');
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 04-01-2009, 02:40 PM Re: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
Ultra Talker

Posts: 250
Trades: 0
hmm thanks it wasnt actually those errors it was incorrect config details.
it was one of those with 2 different config files.

anyway its working great now if anyone would care to test it
http://make-cash-fast.info/eStore/
__________________
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|

MofoDog is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27584 seconds with 12 queries