Viewing 15 posts - 31 through 45 (of 62 total)
  • Author
    Posts
  • vivacomputers Friend
    #441950

    Well 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 Moderator
    #441954

    Well 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 Moderator
    #441955

    I 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 Moderator
    #441957

    I 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 Friend
    #441959

    The 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 Friend
    #441964

    I 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 Moderator
    #441966

    It 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 Friend
    #441968

    Working 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 Friend
    #441969

    I 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 Friend
    #441971

    This 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 Moderator
    #441972

    You now have a 500 error. Something is seriously wrong with your hosting.

    vivacomputers Friend
    #441973

    Ok I will contact them again……

    vivacomputers Friend
    #441981

    Ok 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 Moderator
    #441983

    Not 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 Friend
    #441987

    Well 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!

Viewing 15 posts - 31 through 45 (of 62 total)

This topic contains 62 replies, has 3 voices, and was last updated by  gustele 12 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum