Parse error: syntax error, unexpected T_STRING in /home/dodonet2/public_html/includes
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
/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).
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.