Big Rpoblem for my customer; website is after update not ava

Support desk for Villa Belluci Joomla Hotel Template
GK User
Sun Jun 11, 2017 11:28 am
Live-Website and admin-backend are not available after update of template. www.casa-daenzo.de

You get this:

Warning: filesize(): stat failed for /kunden/133886_38640/webseiten/casa2/configuration.php in /kunden/133886_38640/webseiten/casa2/includes/framework.php on line 29
No configuration file found and no installation code available. Exiting...


here si the code of these two docs.

configuration.php
Code: Select all
<?php
class JConfig {
   public $MetaAuthor = '0';
   public $MetaDesc = '';
   public $MetaKeys = '';
   public $MetaRights = '';
   public $MetaTitle = '1';
   public $MetaVersion = '0';
   public $access = '1';
   public $cache_handler = 'file';
   public $cachetime = '15';
   public $caching = '0';
   public $captcha = '0';
   public $cookie_domain = '';
   public $cookie_path = '';
   public $db = 'db133886_17';
   public $dbprefix = 'cde0l_';
   public $dbtype = 'mysqli';
   public $debug = '0';
   public $debug_lang = '0';
   public $display_offline_message = '1';
   public $editor = 'none';
   public $error_reporting = 'default';
   public $feed_email = 'none';
   public $feed_limit = '10';
   public $force_ssl = '0';
   public $fromname = 'Casa da Enzo - Ferienwohnungen';
   public $ftp_enable = '0';
   public $ftp_host = '';
   public $ftp_pass = '';
   public $ftp_port = '21';
   public $ftp_root = '';
   public $ftp_user = '';
   public $gzip = '1';
   public $helpurl = 'https://help.joomla.org/proxy?keyref=Help{major}{minor}:{keyref}&lang={langcode}';
   public $host = 'mysql5.casa-daenzo.de';
   public $lifetime = '60';
   public $list_limit = '20';
   public $live_site = 'http://www.casa-daenzo.de';
   public $log_path = '/kunden/133886_38640/webseiten/casa2/logs';
   public $mailer = 'mail';
   public $mailfrom = '[email protected]';
   public $memcache_compress = '0';
   public $memcache_persist = '1';
   public $memcache_server_host = 'localhost';
   public $memcache_server_port = '11211';
   public $offline = '0';
   public $offline_image = '';
   public $offline_message = 'Diese Website ist zurzeit im Wartungsmodus.<br />Bitte später wiederkommen.';
   public $offset = 'UTC';
   public $offset_user = 'UTC';
   public $password = 'jfa2vQ?ffrep';
   public $robots = '';
   public $secret = '7AcqodYCiUhMm9e62UXz8ib78jop84AW';
   public $sef = '1';
   public $sef_rewrite = '1';
   public $sef_suffix = '0';
   public $sendmail = '/usr/sbin/sendmail';
   public $session_handler = 'database';
   public $sitename = 'Casa da Enzo Ferienwohnungen in Goslar am Harz';
   public $sitename_pagetitles = '0';
   public $smtpauth = '0';
   public $smtphost = 'localhost';
   public $smtppass = '';
   public $smtpport = '25';
   public $smtpsecure = 'none';
   public $smtpuser = '';
   public $tmp_path = '/kunden/133886_38640/webseiten/casa2/tmp';
   public $unicodeslugs = '1';
   public $user = 'db133886_17';
   public $mailonline = '1';
   public $cache_platformprefix = '0';
   public $memcached_persist = '1';
   public $memcached_compress = '0';
   public $memcached_server_host = 'localhost';
   public $memcached_server_port = '11211';
   public $redis_persist = '1';
   public $redis_server_host = 'localhost';
   public $redis_server_port = '6379';
   public $redis_server_auth = '';
   public $redis_server_db = '0';
   public $proxy_enable = '0';
   public $proxy_host = '';
   public $proxy_port = '';
   public $proxy_user = '';
   public $proxy_pass = '';
   public $massmailoff = '0';
   public $session_memcache_server_host = 'localhost';
   public $session_memcache_server_port = '11211';
   public $session_memcached_server_host = 'localhost';
   public $session_memcached_server_port = '11211';
   public $frontediting = '1';
   public $asset_id = '1';
   public $replyto = '[email protected]';
   public $replytoname = 'Casa da Enzo - Ferienwohnungen';
   public $shared_session = '0';
}



framework.php

Code: Select all
<?php
/**
 * @package    Joomla.Site
 *
 * @copyright  Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Joomla system checks.
@ini_set('magic_quotes_runtime', 0);

// System includes
require_once JPATH_LIBRARIES . '/import.legacy.php';

// Set system error handling
JError::setErrorHandling(E_NOTICE, 'message');
JError::setErrorHandling(E_WARNING, 'message');
JError::setErrorHandling(E_ERROR, 'callback', array('JError', 'customErrorPage'));

// Bootstrap the CMS libraries.
require_once JPATH_LIBRARIES . '/cms.php';

$version = new JVersion;

// Installation check, and check on removal of the install directory.
if (!file_exists(JPATH_CONFIGURATION . '/configuration.php')
   || (filesize(JPATH_CONFIGURATION . '/configuration.php') < 10)
   || (file_exists(JPATH_INSTALLATION . '/index.php') && (false === $version->isInDevelopmentState())))
{
   if (file_exists(JPATH_INSTALLATION . '/index.php'))
   {
      header('Location: ' . substr($_SERVER['REQUEST_URI'], 0, strpos($_SERVER['REQUEST_URI'], 'index.php')) . 'installation/index.php');

      exit;
   }
   else
   {
      echo 'No configuration file found and no installation code available. Exiting...';

      exit;
   }
}

// Pre-Load configuration. Don't remove the Output Buffering due to BOM issues, see JCode 26026
ob_start();
require_once JPATH_CONFIGURATION . '/configuration.php';
ob_end_clean();

// System configuration.
$config = new JConfig;

// Set the error_reporting
switch ($config->error_reporting)
{
   case 'default':
   case '-1':
      break;

   case 'none':
   case '0':
      error_reporting(0);

      break;

   case 'simple':
      error_reporting(E_ERROR | E_WARNING | E_PARSE);
      ini_set('display_errors', 1);

      break;

   case 'maximum':
      error_reporting(E_ALL);
      ini_set('display_errors', 1);

      break;

   case 'development':
      error_reporting(-1);
      ini_set('display_errors', 1);

      break;

   default:
      error_reporting($config->error_reporting);
      ini_set('display_errors', 1);

      break;
}

define('JDEBUG', $config->debug);

unset($config);

// System profiler
if (JDEBUG)
{
   // @deprecated 4.0 - The $_PROFILER global will be removed
   $_PROFILER = JProfiler::getInstance('Application');
}



Please help soon
User avatar
Fresh Boarder

GK User
Sun Jun 11, 2017 11:43 am
This is not instantly existing, but the connection to site was not possible for 3 hours, after I tried to change st on configuration.php line 36
public $host = 'mysql5.casa-daenzo.de'; to public $host = 'https://mysql5.casa-daenzo.de';
the response was, connection to sql-server failed, so I changed back, and now the site is working again.

Please give me feedback
User avatar
Fresh Boarder

teitbite
Tue Jun 13, 2017 8:58 am
Hi

You have posted Your database access credentials on a public forum. Please change the database password quick or someone may wants to use it against You.

Both files mentioned are fully depended from joomla itself, so this question should be directed to joomla developers. I would recommend reinstalling joomla manually. Checking the permissions on both of this files, for most servers they should be 644. Check if You have still space available on Your server.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.