-
AuthorPosts
-
yamemaru Friend
yamemaru
- Join date:
- February 2009
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 30
- Thanked:
- 1 times in 1 posts
April 21, 2009 at 4:07 pm #140460Just added a article to the site and it totally crashed. Anybody have any ideas how to reverse it?
i can still get into the joomla back end…but the main page is crapped out.every single page has this error
Parse error: syntax error, unexpected ‘<‘ in /home/yamemaru/public_html/index.php on line 89even if you try to change templates the error still persists.
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
April 21, 2009 at 4:43 pm #302095You have an opening bracket somewhere in the index.php where it shouldn’t be. You can try re-installing the template or removing the article (although I can’t see why the article could have caused this).
Parse error: syntax error, unexpected ‘<‘ in /home/yamemaru/public_html/index.php on line 891 user says Thank You to instantinlaw for this useful post
yamemaru Friendyamemaru
- Join date:
- February 2009
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 30
- Thanked:
- 1 times in 1 posts
April 21, 2009 at 4:46 pm #302096<em>@instantinlaw 125345 wrote:</em><blockquote>You have an opening bracket somewhere in the index.php where it shouldn’t be. You can try re-installing the template or removing the article (although I can’t see why the article could have caused this).
Parse error: syntax error, unexpected ‘<‘ in /home/yamemaru/public_html/index.php on line 89</blockquote>I just tried removing the article but it didn’t work. :((
I will try reinstalling the template now.
/edit
I tried picking another template. but the same error keeps occurring.looking at the index.php file..
<?php echo ‘<script type=”text/javascript”>var kXwYyisImklGFceJRVNL =that.s line 89.
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
April 21, 2009 at 5:31 pm #302103Hi I’m not a coder, but i’ve found that thoes error messages do not always show the correct line the error has occured on. It is probably showing you the compiled code line. Let’s hope re-installing the template works.
yamemaru Friendyamemaru
- Join date:
- February 2009
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 30
- Thanked:
- 1 times in 1 posts
April 21, 2009 at 5:40 pm #302104something was wrong with the index.php file. somehow joomla magically created a variable that was in the wrong place.
beats me…
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
April 21, 2009 at 6:36 pm #302113well this was aparently a php tag error.
the problem infact in line 89 it appear th code
"<?php 'echo"
when the previous php tag was not clossed. the solution remove the extra php tag and problem solved.
this is a perfect example for newbies in web and joomla, that the best way of solve a problem is a critical analysis of the problem the previous factors and the best way to solve it.
not all the problems are allways as easy as this. but many are originated by some syntax error
1 user says Thank You to shertmann for this useful post
yamemaru Friendyamemaru
- Join date:
- February 2009
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 30
- Thanked:
- 1 times in 1 posts
April 22, 2009 at 12:36 am #302139<em>@shertmann 125372 wrote:</em><blockquote>well this was aparently a php tag error.
the problem infact in line 89 it appear th code
"<?php 'echo"
when the previous php tag was not clossed. the solution remove the extra php tag and problem solved.
this is a perfect example for newbies in web and joomla, that the best way of solve a problem is a critical analysis of the problem the previous factors and the best way to solve it.
not all the problems are allways as easy as this. but many are originated by some syntax error</blockquote>
thanks..that did the trick :p
-
AuthorPosts
This topic contains 8 replies, has 4 voices, and was last updated by nick51 15 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum