-
AuthorPosts
-
vivacomputers Friend
vivacomputers
- Join date:
- March 2011
- Posts:
- 152
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 26
- Thanked:
- 4 times in 1 posts
March 5, 2012 at 2:15 pm #441950Well they gave a answer:
Parse error: syntax error, unexpected T_ENDIF in /home/vhosts/vivacomputers.nl/httpdocs/templates/ja_business/html/com_content/featured/default_item. php on line 7
So it seems indeed that the problems are in the template.
When you see my site in Firefox you can see the error….
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 5, 2012 at 2:28 pm #441954Well the logs have directed us towards the problem. It is not the template at fault (well, sort of) but the fact your files are corrupted. Lets take a look at that file on your server and this is what I see
[php] </dd>
</dd>
</dd>
<?php endif; ?>
<?php if ($params->get(‘show_author’) && !empty($this->item->author)) : ?>
<dd class=”createdby”>
<?php $author = $this->item->author; ?>
<?php $author = ($this->item->created_by_alias ? $this->item->created_by_alias : $author);?><?php if (!empty($this->item->contactid ) && $params->get(‘link_author’) == true):?>
<?php echo JText::sprintf(‘JACOM_CONTENT_WRITTEN_BY’ ,
JHtml::_(‘link’,JRoute::_(‘index.php?option=com_contact&view=contact&id=’.$this->item->contactid),$author)); ?><?php else :?>
<?php echo JText::sprintf(‘JACOM_CONTENT_WRITTEN_BY’, $author); ?>
<?php endif; ?>
</dd>
[/php]and this is what we should see
[php]<?php
/**
* @version $Id: default_item.php 18052 2010-07-08 04:56:08Z infograf768 $
* @package Joomla.Site
* @subpackage com_content
* @copyright Copyright (C) 2005 – 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/// no direct access
defined(‘_JEXEC’) or die;// Create a shortcut for params.
$params = &$this->item->params;
$canEdit = $this->item->params->get(‘access-edit’);
?><div class=”contentpaneopen”>
<?php if ($this->item->state == 0) : ?>
<div class=”system-unpublished”>
<?php endif; ?>[/php]So it seems that somehow either when uploading or during the time it has been on your host that this file has become corrupt.
Would you like me to overwrit this file with a good copy?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 5, 2012 at 2:30 pm #441955I have uploaded a good copy and renamed the faulty file by adding _corrupt to the end of it. Let’s see how you get on. We do not know if any other files on your server are faulty too.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 5, 2012 at 2:33 pm #441957I have also found another corrupt file and replaced it, that was templates>ja_business>blocks>header.php
In fact, looking deeper a lot of your files seem corrupt.
vivacomputers Friendvivacomputers
- Join date:
- March 2011
- Posts:
- 152
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 26
- Thanked:
- 4 times in 1 posts
March 5, 2012 at 2:39 pm #441959The site is working at the moment, thank you for that! How many files are corrupt you mean? If possible can you correct that? Also can I ask you 1 last tiny favour, can you also fix the slideshow because it is not displaying correct and I miss the Readmore button?
Sorry for all the trouble…….
gustele Friendgustele
- Join date:
- March 2010
- Posts:
- 50
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 17 times in 10 posts
March 5, 2012 at 2:51 pm #441964I see the parsing error again. That means that something on the host is corrupting your files because it was replaced by a good version by Phill not too long ago.
Inform your host about this; this cannot be good.Regards, John
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 5, 2012 at 2:53 pm #441966It may be working but I fear you have more than a few corrupt files. For instance if you go to the back end of your site you see the version number of Joomla 5 times.
I have then replaced a number of files that I can see are faulty and withing a few minutes the replacements have become corrupt. It is not just the template files but core Joomla files. Maybe there is a faulty disk on your host because this is not normal.
gustele Friendgustele
- Join date:
- March 2010
- Posts:
- 50
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 17 times in 10 posts
March 5, 2012 at 2:54 pm #441968Working again on the home page, but now I see a parsing error in your ticketing component; click on the menu option Tickets.
Regards, John
vivacomputers Friendvivacomputers
- Join date:
- March 2011
- Posts:
- 152
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 26
- Thanked:
- 4 times in 1 posts
March 5, 2012 at 2:56 pm #441969I see it also, only the homepage displays good and the rest is wrong :(( just now it was good.
The ticket system I have to reinstall again because every time when the site went blank the ticket system went corrupt afterwards.
gustele Friendgustele
- Join date:
- March 2010
- Posts:
- 50
- Downloads:
- 16
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 17 times in 10 posts
March 5, 2012 at 3:04 pm #441971This is not something that you can solve. This is something in your hosting environment and I agree with Phill that it could be a faulty disk. Inform you hosting company; most probably they have more users with the same problem.
Regards, John
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 5, 2012 at 3:06 pm #441972You now have a 500 error. Something is seriously wrong with your hosting.
vivacomputers Friendvivacomputers
- Join date:
- March 2011
- Posts:
- 152
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 26
- Thanked:
- 4 times in 1 posts
March 5, 2012 at 3:08 pm #441973Ok I will contact them again……
vivacomputers Friendvivacomputers
- Join date:
- March 2011
- Posts:
- 152
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 26
- Thanked:
- 4 times in 1 posts
March 5, 2012 at 3:42 pm #441981Ok I got a reply and they said that nothing was wrong with the hosting. Nobody had problems and they checked it. They gave me a hint that it was a script that was causing the trouble and they were wondered that there was a end if command used and that was causing the trouble.
I hope this can help……
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 5, 2012 at 3:46 pm #441983Not a lot we can do to help really. Either you have been hacked and a script if mashing your files or the drive is corrupt. No JA scripts will write to the Joomla core files. Nor should any of the files I have replaced suddenly become corrupted and full of garbage. It is not just the template files but as you have experienced your ticket system is also becoming corrupt.
vivacomputers Friendvivacomputers
- Join date:
- March 2011
- Posts:
- 152
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 26
- Thanked:
- 4 times in 1 posts
March 5, 2012 at 3:55 pm #441987Well then I have to reinstall it again……:((
Can you desribe what you did with the slideshow so that I can implement that? Then I will go back to work again for the 2nd time…..
Anyway you and John thanks for the effort!
-
AuthorPosts
This topic contains 62 replies, has 3 voices, and was last updated by gustele 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum