-
AuthorPosts
-
October 10, 2011 at 6:00 am #169512
I love Joomla…. Thanks for the support.
MY WEBSITE IS http://www.trueminecraft.com/ SEEMS TO BE A NEW PROBLEM.
Please help if you can, I don’t know much about Joomla but have learned many new things over the past year. I have a problem with the page not loading sometimes and giving me this random error.
Parse error: syntax error, unexpected ‘:’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(305) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected ‘:’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(305) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected ‘:’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(305) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
Please help soon if you have any ideas as I’m launching a fundraiser for the site and our novel/community
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
October 10, 2011 at 6:18 am #418125your ftp details did not get connected.
Also check your php configuration supports
SimpleXML[/h]October 10, 2011 at 6:35 am #418127Just sent you a PM with the info needed, I don’t know how to go about checking my php configuration supports
SimpleXMLchavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
October 10, 2011 at 6:46 am #418128Thanks I’m checking it. it would take some time Please wait.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
October 10, 2011 at 7:04 am #418131I checked with your php configuration it is Good.
Hope it is a security issue. Please contact your hosting Company regarding this issue. I hope they could fix this.
Please post what your hosting company says regarding this eval() error.
October 10, 2011 at 7:07 am #418132Thanks for the help I will check with them now, then let you know.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
October 10, 2011 at 8:55 am #4181491.5.21 IS THE VERSION WE USE DO YOU THINK WE CAN UPGRADE WITHOUT A PROBLEM? IF SO CAN YOU HELP?
Below is what the hosting Company said:
Hello,I’m not seeing anything that points to a security issue with your site, I do however see the error in the logs on the server:
error_log:[10-Oct-2011 04:08:38] PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting T_STRING or T_VARIABLE or ‘{‘ or ‘$’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(335) : eval()’d code on line 1
error_log:[10-Oct-2011 04:08:38] PHP Parse error: syntax error, unexpected ‘:’ in /home/lawman/public_html/libraries/joomla/utilities/simplexml.php(305) : eval()’d code on line 1This may be a bug in older versions of Joomla, it seems that you are running a slightly outdated version.
You are using 1.5.21, the newest compatible version is 1.5.23. In addition the current version is 1.7.1, however the 1.5 branch is not directly compatible and would require extensive work to upgrade.
I suggest upgrading to 1.5.23 to see if it resolves your issue. There are a few mentions of other people getting errors such as yours, however a solution is not readily available.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
October 10, 2011 at 12:36 pm #418175I searched some forums and they said the hosting company rectified this joomla Issue
October 10, 2011 at 2:44 pm #418199Do you know how they did it? Can you send me the link to forums you looked at? Do you think we can update to try 1.5.23 maybe thats the simple fix?
Thanks for all the help.
October 10, 2011 at 3:38 pm #418216Ok so here is how they fixed it and so far so good…
Hello Lawman,
The PHP version on the server is 5.2.17 and SimpleXML is enabled. I created a PHP info page at http://www.trueminecraft.com/administrator/info.php which lists the PHP configuration on the server. Do you know when this issue began? The server shows that simplexml.php was modified today at 1:50 AM CDT.
[root@gator1251 /home/lawman/public_html]# ll libraries/joomla/utilities/simplexml.php
-rw-r–r– 1 lawman lawman 15589 Oct 10 01:50 libraries/joomla/utilities/simplexml.phpAs a test, I downloaded the Joomla 1.5.21 full install file to check for differences between the server’s copy and the official copy from the install file. As a test, I backed up simplexml.php to simplexml.php.bak and then overwrote the existing version with the version from Joomla’s install. I no longer receive an error message on your main page and the server is not logging errors any more. Please let us know if you still see the errors on your site.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
October 12, 2011 at 8:20 am #418682I too tried it, but that did not work for me. I donno how it did work for you!!!!!!!!!!
October 13, 2011 at 12:13 am #418928Ok it seems as if TWITTER was causing the problem so I just removed the component for now and things seem to be working great. It seemed like it started randomly but in fact it was that I think I did not catch it when it happened the first few times. Then I thought it was fixed but, I did not truly fix it till I removed the Twitter moduel. Thanks for the support and have a great day 😉
-
AuthorPosts
This topic contains 14 replies, has 2 voices, and was last updated by chavan 12 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum