Support

Admin Tools

#20948 URGENT - NO ACCESS TO BACK END OR FRONT FOR ALL JOOMLA WEBSITE

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by dlb on Monday, 15 September 2014 13:34 CDT

user85476
 Hi there,

I trieds the creat .htaccess function on my ,main domain (www.queback.net)
Nothing is wirking anymore after that, I deleted the .htaccess and restored the original one through FTP, no changes.
I have amnually deleted the admin tools folders as explained but still nothing is working.
Same thing for all my joomal websites on this shared account, pleas ehelp asap !!

I have this error: Parse error: syntax error, unexpected '=', expecting '(' in /home/queback/www/includes/framework.php on line 42


or

Your host needs to use PHP 5.3.10 or higher to run this version of Joomla!

user85476
This is really urgent, none of my clients' joomla website are working anymore, this is a HUGE problem !

dlb
Your original .htaccess file had a command in it to change the php version on your sites. The version you created with Admin Tools would not have had that command unless you added it to one of the additional command boxes.

The original .htaccess file should be backed up as htaccess.admintools. You need to rename that file to .htaccess. That will restore the php version change.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

dlb
Once you get the sites back online, you can look at the .htaccess file and find the line that changes the php version. It is probably an ADDHANDLER line, but it varies by host. Add that into .htaccess maker, it doesn't make much difference if it is "above" or "below" for that line. Than you should be in business.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user85476
Unfortunately, this doesn't work, I can't find a line that is changing the php version and even if I try to rename the .htaccess, I can't reach any of my sites.

any other ideas ?

thx

user85476
I tried to rebuild a .htaccess with the line AddHandler application/x-httpd-php54 .php at the top.

I tried with 55 and 56 because I'm not sure of the version, the result is different, I read the index.php file: <?php
/**
* @package Joomla.Site
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

// Set flag that this is a parent file.
define('_JEXEC', 1);
define('DS', DIRECTORY_SEPARATOR);

if (file_exists(dirname(__FILE__) . '/defines.php')) {
include_once dirname(__FILE__) . '/defines.php';
}

if (!defined('_JDEFINES')) {
define('JPATH_BASE', dirname(__FILE__));
require_once JPATH_BASE.'/includes/defines.php';
}

require_once JPATH_BASE.'/includes/framework.php';

// Mark afterLoad in the profiler.
JDEBUG ? $_PROFILER->mark('afterLoad') : null;

// Instantiate the application.
$app = JFactory::getApplication('site');

// Initialise the application.
$app->initialise();

// Mark afterIntialise in the profiler.
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;

// Route the application.
$app->route();

// Mark afterRoute in the profiler.
JDEBUG ? $_PROFILER->mark('afterRoute') : null;

// Dispatch the application.
$app->dispatch();

// Mark afterDispatch in the profiler.
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;

// Render the application.
$app->render();

// Mark afterRender in the profiler.
JDEBUG ? $_PROFILER->mark('afterRender') : null;

// Return the response.
echo $app;

dlb
  1. Change to the .htaccess file
  2. PHP version error
This tells me that there was a line in the original .htaccess file that changed the PHP version from your host's default version. Simply renaming your current .htaccess file, leaving you with no .htaccess file, will not work. You have to have that command that changes your PHP version in your .htaccess file.

You have told me that you renamed the .htaccess file. You have not told me that you have restored the original file.

Some hosts (GoDaddy most notably) cache your .htaccess file and changes can take up to an hour to be recognized. You didn't fill in your host in the original questionnaire so I don't know if that is a possibility.

I can't help you with the AddHandler line. Your host can tell you what format it should be, it varies from host to host. It may be in your host's FAQ documentation.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user85476
Thanks for you answers,

I've managed to set the good php version thanks to a PHP-FPM file, I am with OVH, here is the link (in french) if it helps others

http://www.ovh.com/fr/g1175.optimisation-php-fpm

What a relief...

bye

dlb
You are welcome! I'm glad you got it working again.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!