Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 919 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

Php Error

Thread title: Php Error
Closed Thread    
    Thread tools Search this thread Display Modes  
10-29-2006, 04:17 AM
#1
alporto is offline alporto
Status: Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 412
iTrader: 0 / 0%
 

alporto is on a distinguished road

Send a message via AIM to alporto Send a message via MSN to alporto

  Old  Php Error

I'm getting this error

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/domingos/public_html/config.php on line 14


I'm trying to set up a myspace script.

Here is the line

define('ROOT_DIR', realpath(dirname(__FILE__)));


What am I supposed to set that at?

10-29-2006, 05:35 AM
#2
alporto is offline alporto
Status: Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 412
iTrader: 0 / 0%
 

alporto is on a distinguished road

Send a message via AIM to alporto Send a message via MSN to alporto

  Old

Nvm, but I keep getting errors,

If anyone has set up a myspace site like bomple.com,

please contact me.

11-11-2006, 02:11 AM
#3
smallbadad is offline smallbadad
Status: I'm new around here
Join date: Jul 2005
Location: wales
Expertise:
Software:
 
Posts: 17
iTrader: 0 / 0%
 

smallbadad is on a distinguished road

Send a message via MSN to smallbadad

  Old

realpath is a function on the site so its impossible to tell. check the lines above it make sure you havn't missed a ; at the end ect.


edit: ive just had that error it means that you have missed a . somewhere eg.. you hav done $var $var2 but it should be $var . $var2 the . joins them together if its not there it will give you that error

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed