On The Web by Ircmaxell
GNU/GPL PageCache Joomla! APC php5 Lighttpd! Redhat
Home arrow Forum
Friday, 03 July 2009
 
 
Featured Site
Main Menu
Home
Articles
Services
Portfolio
Version Information
Bug Tracker
F.A.Q.
Downloads
Forum
Contact Us
Text Link Ads
Latest Version
Feed Icon Page Cache 1.0.8 stable
Release Date: 2007-06-11
Donate!
Login
Syndicate
On The Web Forums
Welcome, Guest
Please Login or Register.
Lost Password?
Not caching, NO powered by ... (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: Not caching, NO powered by ...

#857
narsaw (User)
Junior Boarder
Posts: 8
graphgraph
Click here to see the profile of this user
Not caching, NO powered by ... 2007/07/21 23:53 Karma: 0  
I have a similar problem to another user on this forum.

My site is configured as follows

Joomla! 1.0.12
sh404sef

Select the method for caching pages is set to file
I've got the Path to cache directory setup correctly:
/home/user/username/muysite.com/page_cache/
Permission set to: drwxrwxr-x

On the configuration I 'Enabled caching' and still nothing.

On the install got a message saying "Modification successfull"

This directory is always empty. I do not see a "Powered by.." anywhere or page load times.
The "Cache Pages Listing" is always empty.

What I am doing wrong? Please help.

SOME DEBUG INFO

ENABLED : 1
TTL : 3600
SAVEPATH : /home/user/username/muysite.com/page_cache/
LIC :
STATS : 1
HEADERSTTL : 3600
HITS : 1
STORAGE : 0
VERSION : 1.0.7 ( I had 1.08, same thing)
UNINSTALL : 1

Thanks,
narsaw

Post edited by: narsaw, at: 2007/07/22 03:00
  The administrator has disabled public write access.
#858
narsaw (User)
Junior Boarder
Posts: 8
graphgraph
Click here to see the profile of this user
Re:Not caching, NO powered by ... 2007/07/22 08:46 Karma: 0  
Here is some additional info from my server.

PHP built On: Linux barry 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189 #1 SMP Mon Feb 7 13:23:30 PST 2005 i686
Database Version: 5.0.24a-standard-log
PHP Version: 5.2.2
Web Server: Apache/2.0.54 (Unix) PHP/4.4.7 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
WebServer to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.0.12 Stable [ Sunfire ] 25 December 2006 01:00 UTC
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
Relevant PHP Settings:
Joomla! Register Globals Emulation: ON
Register Globals: OFF
Magic Quotes: OFF
Safe Mode: OFF
File Uploads: ON
Session auto start: OFF
Session save path: /tmp
Short Open Tags: ON
Output Buffering: OFF
Open basedir: none
Display Errors: ON
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
Configuration File: <?php
$mosConfig_MetaAuthor = '0';
$mosConfig_MetaDesc = 'testing';
$mosConfig_MetaKeys = 'testing';
$mosConfig_MetaTitle = '1';
$mosConfig_absolute_path = '/home/user/username/muysite.com';
$mosConfig_admin_expired = '1';
$mosConfig_allowUserRegistration = '1';
$mosConfig_back_button = '0';
$mosConfig_cachepath = '/home/user/username/muysite.com/cache';
$mosConfig_cachetime = '3600';
$mosConfig_caching = '1';
$mosConfig_db = 'xxxxxx'
$mosConfig_dbprefix = 'jos_';
$mosConfig_debug = '0';
$mosConfig_dirperms = '';
$mosConfig_editor = 'jce';
$mosConfig_enable_log_items = '0';
$mosConfig_enable_log_searches = '0';
$mosConfig_enable_stats = '0';
$mosConfig_error_message = 'This site is temporarily unavailable.
Please notify the System Administrator';
$mosConfig_error_reporting = '-1';
$mosConfig_favicon = 'favicon.ico';
$mosConfig_fileperms = '';
$mosConfig_fromname = 'mysite.com';
$mosConfig_frontend_login = '1';
$mosConfig_frontend_userparams = '1';
$mosConfig_gzip = '1';
$mosConfig_helpurl = 'http://help.joomla.org';
$mosConfig_hideAuthor = '1';
$mosConfig_hideCreateDate = '1';
$mosConfig_hideEmail = '0';
$mosConfig_hideModifyDate = '1';
$mosConfig_hidePdf = '1';
$mosConfig_hidePrint = '0';
$mosConfig_hits = '1';
$mosConfig_host = 'xxxxxx'
$mosConfig_icons = '1';
$mosConfig_item_navigation = '0';
$mosConfig_lang = 'english';
$mosConfig_lifetime = '900';
$mosConfig_link_titles = '1';
$mosConfig_list_limit = '10';
$mosConfig_live_site = 'http://www.mysite.com';
$mosConfig_locale = 'en_GB';
$mosConfig_mailer = 'mail';
$mosConfig_mailfrom = 'xxx.xxx@mysite.com';
$mosConfig_multilingual_support = '0';
$mosConfig_multipage_toc = '1';
$mosConfig_offline = '0';
$mosConfig_offline_message = 'This site is down for maintenance.
Database update in progress.
Please check back again soon.';
$mosConfig_offset = '0';
$mosConfig_offset_user = '-7';
$mosConfig_pagetitles = '1';
$mosConfig_password = 'xxxxxx'
$mosConfig_readmore = '1';
$mosConfig_secret = 'xxxxxxxxxxx';
$mosConfig_sef = '1';
$mosConfig_sendmail = '/usr/sbin/sendmail';
$mosConfig_session_life_admin = '1800';
$mosConfig_session_type = '0';
$mosConfig_shownoauth = '1';
$mosConfig_sitename = 'Test Site';
$mosConfig_smtpauth = '0';
$mosConfig_smtphost = 'localhost';
$mosConfig_smtppass = '';
$mosConfig_smtpuser = '';
$mosConfig_uniquemail = '1';
$mosConfig_user = 'xxxxxx'
$mosConfig_user = 'xxxxxx'
$mosConfig_vote = '1';
setlocale (LC_TIME, $mosConfig_locale);
?>
  The administrator has disabled public write access.
#859
ircmaxell (Admin)
Admin
Posts: 444
graph
Click here to see the profile of this user
Re:Not caching, NO powered by ... 2007/07/23 00:10 Karma: 8  
Well, try putting it on database storage and see what happens...
  The administrator has disabled public write access.
#860
narsaw (User)
Junior Boarder
Posts: 8
graphgraph
Click here to see the profile of this user
Re:Not caching, NO powered by ... 2007/07/23 18:59 Karma: 0  
Originally I had on DB storage with no pages being cached so I changed it to file.
I just changed it back to DB, surfed a few pages, still no caching.

I would really like to get this working. Any help would be appreciated.

Are there any issues with SH404SEF?

You can view the site http://www.boiseresturants.com/

Thanks,
narsaw
  The administrator has disabled public write access.
#861
ircmaxell (Admin)
Admin
Posts: 444
graph
Click here to see the profile of this user
Re:Not caching, NO powered by ... 2007/07/23 20:12 Karma: 8  
Hmmm, I doubt that it's to do with SH404... What other components are you using? is /index.php properly modified could you e-mail or post your index.php?
  The administrator has disabled public write access.
#862
narsaw (User)
Junior Boarder
Posts: 8
graphgraph
Click here to see the profile of this user
Re:Not caching, NO powered by ... 2007/07/23 20:42 Karma: 0  
Thanks for the support. Per your request.

COMPONENTS:

AlphaContent
JCal Pro
JCE Admin
Joomap
JoomlaStats
joomlaXplorer
Letterman
LinX
Mass Mail
Page Cache
Polls
Security Images
sh404SEF
Simple Review
Syndicate
Web Links
Z Weather

INDEX.PHP

Code:

 <?php /** * @version $Id: index.php 6022 2006-12-18 22:30:07Z friesengeist $ * @package Joomla * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html 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'_VALID_MOS'); // checks for configuration file, if none found loads installation page if (!file_exists'configuration.php' ) || filesize'configuration.php' ) < 10) {         $self rtrimdirname$_SERVER['PHP_SELF'] ), '/\\' ) . '/';         header("Location: http://" $_SERVER['HTTP_HOST'] . $self "installation/index.php" );         exit(); } require( 'globals.php' ); require_once( 'configuration.php' ); // SSL check - $http_host returns <live site url>:<port number if it is 443> $http_host explode(':'$_SERVER['HTTP_HOST'] ); if( (!empty( $_SERVER['HTTPS'] ) && strtolower$_SERVER['HTTPS'] ) != 'off' || isset( $http_host[1] ) && $http_host[1] == 443) && substr$mosConfig_live_site0) != 'https://' ) {         $mosConfig_live_site 'https://'.substr$mosConfig_live_site); } require_once( 'includes/joomla.php' ); require_once( 'components/com_page_cache/page_cache.class.php' ); //Installation sub folder check, removed for work with SVN if (file_exists'installation/index.php' ) && $_VERSION->SVN == 0) {         define'_INSTALL_CHECK');         include ( $mosConfig_absolute_path .'/offline.php');         exit(); } // displays offline/maintanance page or bar if ($mosConfig_offline == 1) {         require( $mosConfig_absolute_path .'/offline.php' ); } // load system bot group $_MAMBOTS->loadBotGroup'system' ); // trigger the onStart events $_MAMBOTS->trigger'onStart' ); if (file_exists$mosConfig_absolute_path .'/components/com_sef/sef.php' )) {         require_once( $mosConfig_absolute_path .'/components/com_sef/sef.php' ); } else {         require_once( $mosConfig_absolute_path .'/includes/sef.php' ); } require_once( $mosConfig_absolute_path .'/includes/frontend.php' ); // retrieve some expected url (or form) arguments $option strvalstrtolowermosGetParam$_REQUEST'option' ) ) ); $Itemid intvalmosGetParam$_REQUEST'Itemid'null ) ); if ($option == '') {         if ($Itemid) {                 $query "SELECT id, link"                 "\n FROM #__menu"                 "\n WHERE menutype = 'mainmenu'"                 "\n AND id = " . (int) $Itemid                 "\n AND published = 1"                 ;                 $database->setQuery$query );         } else {                 $query "SELECT id, link"                 "\n FROM #__menu"                 "\n WHERE menutype = 'mainmenu'"                 "\n AND published = 1"                 "\n ORDER BY parent, ordering"                 ;                 $database->setQuery$query0);         }         $menu = new mosMenu$database );         if ($database->loadObject$menu )) {                 $Itemid $menu->id;         }         $link $menu->link;         if (($pos strpos$link'?' )) !== false) {                 $link substr$link$pos+). '&Itemid='.$Itemid;         }         parse_str$link$temp );         /** this is a patch, need to rework when globals are handled better */         foreach ($temp as $k=>$v) {                 $GLOBALS[$k] = $v;                 $_REQUEST[$k] = $v;                 if ($k == 'option') {                         $option $v;                 }         } } if ( !$Itemid ) { // when no Itemid give a default value         $Itemid 99999999; } // mainframe is an API workhorse, lots of 'core' interaction routines //$mainframe = new mosMainFrame( $database, $option, '.' ); //$mainframe->initSession(); require_once( $mosConfig_absolute_path .'/includes/sefpatch.php' ); $mainframe = new mosSefPatch$database$option'.' ); $mainframe->initSession(); // trigger the onAfterStart events $_MAMBOTS->trigger'onAfterStart' ); // checking if we can find the Itemid thru the content if ( $option == 'com_content' && $Itemid === ) {         $id     intvalmosGetParam$_REQUEST'id') );         $Itemid $mainframe->getItemid$id ); } /** do we have a valid Itemid yet?? */ if ( $Itemid === ) {         /** Nope, just use the homepage then. */         $query "SELECT id"         "\n FROM #__menu"         "\n WHERE menutype = 'mainmenu'"         "\n AND published = 1"         "\n ORDER BY parent, ordering"         ;         $database->setQuery$query0);         $Itemid $database->loadResult(); } // patch to lessen the impact on templates if ($option == 'search') {         $option 'com_search'; } // loads english language file by default if ($mosConfig_lang=='') {         $mosConfig_lang 'english'; } include_once( $mosConfig_absolute_path .'/language/' $mosConfig_lang '.php' ); // frontend login & logout controls $return         strvalmosGetParam$_REQUEST'return'NULL ) ); $message        intvalmosGetParam$_POST'message') ); if ($option == 'login') {         $mainframe->login();         // JS Popup message         if ( $message ) {                 ?>                 <script language="javascript" type="text/javascript">                 <!--//                 alert( "<?php echo addslashes( _LOGIN_SUCCESS ); ?>" );                 //-->                 </script>                 <?php         }         if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) )  ) {         // checks for the presence of a return url         // and ensures that this url is not the registration or login pages                 // If a sessioncookie exists, redirect to the given page. Otherwise, take an extra  round for a cookiecheck                 if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {                         mosRedirect( $return );                 } else {                         mosRedirect( $mosConfig_live_site .'/index.php?option=cookiecheck&return='  . urlencode( $return ) );                 }         } else {                 // If a sessioncookie exists, redirect to the start page. Otherwise, take an extra  round for a cookiecheck                 if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {                         mosRedirect( $mosConfig_live_site .'/index.php' );                 } else {                         mosRedirect( $mosConfig_live_site .'/index.php?option=cookiecheck&return='  . urlencode( $mosConfig_live_site .'/index.php' ) );                 }         } } else if ($option == 'logout') {         $mainframe->logout();         // JS Popup message         if ( $message ) {                 ?>                 <script language="javascript" type="text/javascript">                 <!--//                 alert( "<?php echo addslashes( _LOGOUT_SUCCESS ); ?>" );                 //-->                 </script>                 <?php         }         if ( $return && !( strpos( $return, 'com_registration' ) || strpos( $return, 'com_login' ) )  ) {         // checks for the presence of a return url         // and ensures that this url is not the registration or logout pages                 mosRedirect( $return );         } else {                 mosRedirect( $mosConfig_live_site.'/index.php' );         } } else if ($option == 'cookiecheck') {         // No cookie was set upon login. If it is set now, redirect to the given page. Otherwise,  show error message.         if (isset( $_COOKIE[mosMainFrame::sessionCookieName()] )) {                 mosRedirect( $return );         } else {                 mosErrorAlert( _ALERT_ENABLED );         } } /** get the information about the current user from the sessions table */ $my = $mainframe->getUser(); // detect first visit $mainframe->detect(); global $pageCache; $pageCache->init(); ob_start("jos_page_cache_store"); // set for overlib check $mainframe->set( 'loadOverlib', false ); $gid = intval( $my->gid ); // gets template for page $cur_template = $mainframe->getTemplate(); /** temp fix - this feature is currently disabled */ /** @global A places to store information from processing of the component */ $_MOS_OPTION = array(); // precapture the output of the component require_once( $mosConfig_absolute_path . '/editor/editor.php' ); ob_start(); if ($path = $mainframe->getPath( 'front' )) {         $task   = strval( mosGetParam( $_REQUEST, 'task', '' ) );         $ret    = mosMenuCheck( $Itemid, $option, $task, $gid );         if ($ret) {                 require_once( $path );         } else {                 mosNotAuth();         } } else {         header( 'HTTP/1.0 404 Not Found' );         echo _NOT_EXIST; } $_MOS_OPTION['buffer'] = ob_get_contents(); ob_end_clean(); initGzip(); // display the offline alert if an admin is logged in if (defined( '_ADMIN_OFFLINE' )) {         include( $mosConfig_absolute_path .'/offlinebar.php' ); } // loads template file if ( !file_exists( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' ) ) {         echo _TEMPLATE_WARN . $cur_template; } else {         require_once( $mosConfig_absolute_path .'/templates/'. $cur_template .'/index.php' ); } // displays queries performed for page if ($mosConfig_debug) {         echo $database->_ticker . ' queries executed';         echo '<pre>';         foreach ($database->_log as $k=>$sql) {                 echo $k+1 . "\n" . $sql . '<hr />';         }         echo '</pre>'; } ob_end_flush(); doGzip(); ?>

  The administrator has disabled public write access.
#865
narsaw (User)
Junior Boarder
Posts: 8
graphgraph
Click here to see the profile of this user
Re:Not caching, NO powered by ... 2007/07/25 02:26 Karma: 0  
Any ideas here?
Thanks,
narsaw
  The administrator has disabled public write access.
#869
ircmaxell (Admin)
Admin
Posts: 444
graph
Click here to see the profile of this user
Re:Not caching, NO powered by ... 2007/07/25 18:48 Karma: 8  
hmmmm... Try turning off Gzip Page compression... Other than that, I would need to get on the server to figure out whats going on...
  The administrator has disabled public write access.
#878
narsaw (User)
Junior Boarder
Posts: 8
graphgraph
Click here to see the profile of this user
Re:Not caching, NO powered by ... 2007/07/25 20:15 Karma: 0  
Sent you an email with some details. Please respond and we'll move on.

Thanks,
narsaw
  The administrator has disabled public write access.
#880
ircmaxell (Admin)
Admin
Posts: 444
graph
Click here to see the profile of this user
Re:Not caching, NO powered by ... 2007/07/25 20:29 Karma: 8  
Replied...
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
get the latest posts directly to your desktop
Renegade Motorhomes - Credit Consolidation - Internet Marketing - Credit Counseling
 
Top! Top!
Generated in 0.25188398361206 Seconds