The site's blown up
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Nov 17, 2016 11:28 am
The site's blown up
Dear guys,
My friends have this site that literally blew up, which I'm trying to fix up. The homepage content just vanished, the other pages content is there, but the template and the formatting have completely gone. I tried to change the template: the new theme's graphics were visible, but the home was still blank and the formatting was crazy.
This is the original index – I had to add a maintenance index.html page.
http://www.albergogalli.com/index.php
Any advice?
Thanks in advance.
My friends have this site that literally blew up, which I'm trying to fix up. The homepage content just vanished, the other pages content is there, but the template and the formatting have completely gone. I tried to change the template: the new theme's graphics were visible, but the home was still blank and the formatting was crazy.
This is the original index – I had to add a maintenance index.html page.
http://www.albergogalli.com/index.php
Any advice?
Thanks in advance.
- Per Yngve Berg
- Joomla! Master
- Posts: 30883
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: The site's blown up
Are you running 1.5.26?
What version of php is the server running?
What version of php is the server running?
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Nov 17, 2016 11:28 am
Re: The site's blown up
1.5.22
5.3.29, Linux
5.3.29, Linux
- strumjan
- Joomla! Explorer
- Posts: 451
- Joined: Sat Oct 20, 2007 11:21 am
- Location: Skopje, Macedonia
- Contact:
Re: The site's blown up
in source of your index.php I see line whit script tag and cal some media/system/js/stat676.php
it's strange for me, so try to comment that line.
it's strange for me, so try to comment that line.
Joomla.mk
Macedonian translation team
Macedonian translation team
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Nov 17, 2016 11:28 am
Re: The site's blown up
thanks for your replies.
strumjan, what do you mean with "comment that line"? i think it is related to the language manager, because it says "language=JavaScript" etc.
strumjan, what do you mean with "comment that line"? i think it is related to the language manager, because it says "language=JavaScript" etc.
- strumjan
- Joomla! Explorer
- Posts: 451
- Joined: Sat Oct 20, 2007 11:21 am
- Location: Skopje, Macedonia
- Contact:
Re: The site's blown up
no, that mean that script expected to be JavaScript file, make copy of your index.php and after that in original file just remove that line, just for try, maybe not there problem, but who know
Joomla.mk
Macedonian translation team
Macedonian translation team
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Nov 17, 2016 11:28 am
Re: The site's blown up
little language confusion
the index.php's code i downloaded from the ftp doesn't contain that line and it is totally different from the online source code. how can i remove that line?
the index.php's code i downloaded from the ftp doesn't contain that line and it is totally different from the online source code. how can i remove that line?
Code: Select all
<?php
/**
* @version $Id: index.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// Set flag that this is a parent file
define( '_JEXEC', 1 );
define('JPATH_BASE', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null;
/**
* CREATE THE APPLICATION
*
* NOTE :
*/
$mainframe =& JFactory::getApplication('site');
/**
* INITIALISE THE APPLICATION
*
* NOTE :
*/
// set the language
$mainframe->initialise();
JPluginHelper::importPlugin('system');
// trigger the onAfterInitialise events
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');
/**
* ROUTE THE APPLICATION
*
* NOTE :
*/
$mainframe->route();
// authorization
$Itemid = JRequest::getInt( 'Itemid');
$mainframe->authorize($Itemid);
// trigger the onAfterRoute events
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');
/**
* DISPATCH THE APPLICATION
*
* NOTE :
*/
$option = JRequest::getCmd('option');
$mainframe->dispatch($option);
// trigger the onAfterDispatch events
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
$mainframe->triggerEvent('onAfterDispatch');
/**
* RENDER THE APPLICATION
*
* NOTE :
*/
$mainframe->render();
// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');
/**
* RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));
- strumjan
- Joomla! Explorer
- Posts: 451
- Joined: Sat Oct 20, 2007 11:21 am
- Location: Skopje, Macedonia
- Contact:
Re: The site's blown up
if this above is code of index.php in root of your site than try to find that code in your template root folder or vice versa.
Joomla.mk
Macedonian translation team
Macedonian translation team
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Nov 17, 2016 11:28 am
Re: The site's blown up
i removed that line from the template's index, but nothing's changed. any other idea?
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: The site's blown up
I am sorry that your website is not working but I'm not surprised. J! 1.5.22 was released over 6 years ago (November 2010) and J! 1.5 was made obsolete (support ended) in September 2012.gio7 wrote: site that literally blew up. [Joomla version] 1.5.22 [and PHP version] 5.3.29.
Any advice?
PHP 5.3.19 was released in August 2014 and marked the end-of-life for the PHP 5.3 series.
J! 3.x requires (as a minimum) PHP 5.3.10, however PHP 5.6 (or PHP 7.0.12) are better alternatives.
I am sorry that your website is no longer functioning but, to be honest, it is to be expected that, sooner or later, all J! 1.5 websites will eventually go that way. The best advice we can give you is to salvage whatever content you can (images, documents, file-based content) and to migrate the remaining database-based content (i.e. Joomla articles) over to J! 3.6.
It may be possible to apply a band-aid or a temporary fix to your existing website and, for a little while, the site may continue to function more-or-less "normally" but you should bear in mind that any such fix will probably break again at some future time. A better approach, instead of using a band-aid, would be to undertake deeper surgery; in other words, the weight of professional advice is to migrate what you can to J! 3.6 while you're in a good position to do this.
Migrating from J! 1.5 to J! 3.6 is not difficult but it will require time and effort on your part. Depending on the complexity of your existing J! 1.5 website and the amount of content that you want to salvage, typically this is a task that could be done over a few days (usually less than one week). If this is not a job you want to undertake yourself, there are any number of professional services available to do this job for you.
I wish you luck but, as you said, you were looking for the best advice and that's what I hope I have given.