LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-10-2010, 05:00 PM   #1
bestbuddy
LQ Newbie
 
Registered: Jan 2010
Posts: 5

Rep: Reputation: 0
Unhappy Parse error: syntax error, unexpected T_STRING in /home/dodonet2/public_html/includes


My website can`t open because of the error, Parse error: syntax error, unexpected T_STRING in /home/dodonet2/public_html/includes/config.php on line 45. I can`t understand this term and i will greatly appreciate your help. Thanks

Last edited by bestbuddy; 01-10-2010 at 08:09 PM.
 
Old 01-10-2010, 05:44 PM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
It means there is something wrong with line 49 of /home/dodonet2/public_html/includes/config.php it would appear there is a string where there should not be one.
 
Old 01-10-2010, 07:44 PM   #3
bestbuddy
LQ Newbie
 
Registered: Jan 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy website php line 45

Parse error: syntax error, unexpected T_STRING in /home/dodonet2/public_html/includes/config.php on line 45
I was linking a code and when i closed and tried to open my website, it can`t be accessed only the above error keeps appearing. I am getting confused and agitated because i don`t have a clue what all this means or even the slightest idea of what i can do. My website is http://www.dodonet-people-search.ws please someone help me sort this out. I will be very grateful thanks.
 
Old 01-10-2010, 07:56 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Rather than get more confused and more agitated, consider the beginnings of a solution given by r3sistance over on your first or second version of this question: http://www.linuxquestions.org/questi...cludes-781336/

Patience is a virtue here on LQ. You need to provide more information than what you currently have provided, and you need to NOT post the same question more than once in several different places.

Please continue this discussion in the thread I linked above, where you have had one reply already. Provide more information: maybe showing us the lines of code AROUND where the problem is occurring, will help someone diagnose the issue with you. Show us config.php lines 40-50, that would be a good place to continue.

This thread (and one or more others) will be merged and/or closed, so that your question and any replies to it, will remain in one location.

Thanks!

Sasha
 
Old 01-10-2010, 08:00 PM   #5
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,230

Rep: Reputation: 132Reputation: 132
Refer the following
http://www.linuxquestions.org/questi...-in...-433706/
 
Old 01-10-2010, 08:03 PM   #6
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 547

Rep: Reputation: 115Reputation: 115
PHP error messages are pretty self explanatory:

Code:
/home/dodonet2/public_html/includes/config.php on line 45
It's telling you that on line 45 of the file /home/dodonet2/public_html/includes/config.php (depending where you www root is, this may be just public_html/includes/config.php form when you ftp in).
 
Old 01-10-2010, 08:05 PM   #7
bestbuddy
LQ Newbie
 
Registered: Jan 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy to r3sistance

Thanks for trying to help me but all this is new to me and these technical terms are confusing me more. Don`t have an idea what strings are on what line don`t even know why i went there all this is Greek + Japanese combined to me if you know what i mean. My site is http://dodonet-people-search please help me remove those strings if you can so my website runs normally. Thank you in advance.
 
Old 01-10-2010, 08:22 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I have merged your two similar threads---Please keep all of this in one thread---Thanks

And Welcome to LQ!!
 
Old 01-10-2010, 08:31 PM   #9
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 547

Rep: Reputation: 115Reputation: 115
A string is just a piece of text, a sequence (string!) or characters. Nobody can do anything to your website without having full access to the ftp on there.
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse error syntax error unexpected '{ ' on line chakaox Programming 2 04-29-2009 03:27 AM
PHP Error Parse error: parse error, unexpected $ in /home/content/S/k/i/SkinCare4U/h CowanServices Programming 2 12-09-2008 08:26 PM
Parse error: parse error, unexpected '}' in /home/content jouvert Linux - Newbie 3 05-17-2008 06:55 PM
Parse error: parse error, unexpected $ in /home/content/d/o/m/domain/html/addpuppy2.p Scooby-Doo Programming 3 10-25-2007 09:41 AM
need help with "Parse error: parse error, unexpected T_STRING" coffee245 Programming 2 01-29-2007 11:53 AM


All times are GMT -5. The time now is 07:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration