Joomlatwork
Welcome, Guest. Please login or register.
June 19, 2013, 12:16:04 AM

Login with username, password and session length
Search:     Advanced search
39613 Posts in 20651 Topics by 12305 Members
Latest Member: Blingeligusly
* Home Help Search Login Register
+  Joomlatwork
|-+  Joomla accelerate component
| |-+  Installation questions
| | |-+  Fatal error: 'JConfig' not found in /com_jrecache/library/database.php line 45
« previous next »
Pages: [1] Print
Author Topic: Fatal error: 'JConfig' not found in /com_jrecache/library/database.php line 45  (Read 4456 times)
joeiska
Newbie
*
Posts: 3


View Profile
« on: September 23, 2008, 07:57:06 AM »

Hi, Just bought and did fresh install JRECache 3.0 and I had to install manually the cache engine (after component install). It works for about 2 hrs amazingly (compressed about 50% file and speed up the page opening by 50-70 % faster)and suddenly the I got the error mentioned in title (front end), and my whole website is blank with error noticed.

Please Help!

Note:

1. I can open JRECache back end with no error.
2. I am using PHP 5.2.6, Joomla 1.5.7, Mysql 5.x.xx, apache 2.2

Here is my ../administrator/index.php like:

Code:
<?php
/**
* @version $Id: index.php 9987 2008-02-05 17:43:24Z ian $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 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');

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' );
require_once( 
JPATH_BASE .DS.'includes'.DS.'helper.php' );
require_once( 
JPATH_BASE .DS.'includes'.DS.'toolbar.php' );

JDEBUG $_PROFILER->mark'afterLoad' ) : null;

/**
 * CREATE THE APPLICATION
 *
 * NOTE :
 */
$mainframe =& JFactory::getApplication('administrator');

/**
 * INITIALISE THE APPLICATION
 *
 * NOTE :
 */
// JRE cache cleanup function\
$curr_dir dirname(__FILE__);
define ('_JREROOTFOLDER'JPATH_ROOT);
if ( !
defined('_JRE_CACHE')) {
define('_JRE_CACHE'1);
}
if ( 
file_exists(  $curr_dir DIRECTORY_SEPARATOR 'components'DIRECTORY_SEPARATOR 'com_jrecache'DIRECTORY_SEPARATOR 'jrecache.config.php') ){
include_once ($curr_dir DIRECTORY_SEPARATOR 'components'DIRECTORY_SEPARATOR 'com_jrecache'DIRECTORY_SEPARATOR 'library'DIRECTORY_SEPARATOR 'functions.php');
cleanup_cache_tricker ( );
}
$mainframe->initialise(array(
'language' => $mainframe->getUserState"application.lang"'lang' )
));

JPluginHelper::importPlugin('system');

// trigger the onAfterInitialise events
JDEBUG $_PROFILER->mark('afterInitialise') : null;
$mainframe->triggerEvent('onAfterInitialise');

/**
 * ROUTE THE APPLICATION
 *
 * NOTE :
 */
$mainframe->route();

// trigger the onAfterRoute events
JDEBUG $_PROFILER->mark('afterRoute') : null;
$mainframe->triggerEvent('onAfterRoute');

/**
 * DISPATCH THE APPLICATION
 *
 * NOTE :
 */
$option JAdministratorHelper::findOption();
$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'));
?>


And my JRECache configuration is:


http://www.info24jam.com/1234.png



Thank You
« Last Edit: September 23, 2008, 08:00:17 AM by joeiska » Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #1 on: September 23, 2008, 09:28:27 AM »

Can you please give us an order number and email adres which you have made the order since your email adres of this post is unknown for us. Please email this at services-at-joomlatwork.com

regards,

Richard
Logged
joomlatwork
Administrator
Hero Member
*****
Posts: 2817


View Profile Email
« Reply #2 on: September 23, 2008, 10:24:32 AM »

Looking at your config it looks that you 2 hours cache ttl is causing the error... I've build the same environment overhere and I'm trying to rebuild the error...

Richard
Logged
joeiska
Newbie
*
Posts: 3


View Profile
« Reply #3 on: September 23, 2008, 11:22:39 AM »

Hi Richard

Thanks, for quick support answer! Awesome!

I uploaded the file and it works!
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!