smitp11 Posted July 1, 2009 Share Posted July 1, 2009 I have installed Page Cache v1.5 - MS2. When I hit my home page, although the page loads fine, it is not caching it. With debug on I see this: Warning: fopen(/public_html/tbr/store/catalog/cache/_store_catalog_index.php__english_CAD.cache) [function.fopen]: failed to open stream: No such file or directory in /home/itsjusta/public_html/tbr/store/catalog/includes/classes/page_cache.php on line 258 Warning: fwrite(): supplied argument is not a valid stream resource in /home/itsjusta/public_html/tbr/store/catalog/includes/classes/page_cache.php on line 259 Warning: fclose(): supplied argument is not a valid stream resource in /home/itsjusta/public_html/tbr/store/catalog/includes/classes/page_cache.php on line 260 That file does not exist but the cache directory does. Any help would much appreciated. http://tbr.itsjustapc.ca/store/catalog Thanks. Patrick. Quote Link to comment Share on other sites More sharing options...
smitp11 Posted July 1, 2009 Author Share Posted July 1, 2009 Bump, anyone ? I really am struggling with this. Thanks. Quote Link to comment Share on other sites More sharing options...
spooks Posted July 2, 2009 Share Posted July 2, 2009 have u triple check the install u need to post the code if u want more, unless there is a support thread, if so post there. Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
germ Posted July 2, 2009 Share Posted July 2, 2009 Look at the entire error: Warning: fopen(/public_html/tbr/store/catalog/cache/_store_catalog_index.php__english_CAD.cache) [function.fopen]: failed to open stream: No such file or directory in /home/itsjusta/public_html/tbr/store/catalog/includes/classes/page_cache.php on line 262 Warning: fwrite(): supplied argument is not a valid stream resource in /home/itsjusta/public_html/tbr/store/catalog/includes/classes/page_cache.php on line 263 Warning: fclose(): supplied argument is not a valid stream resource in /home/itsjusta/public_html/tbr/store/catalog/includes/classes/page_cache.php on line 264 Array ( [PAGE_CACHE] => Array ( [admin_config_settings] => Array ( [ENABLE_PAGE_CACHE] => true [PAGE_CACHE_LIFETIME] => 30 [PAGE_CACHE_DEBUG_MODE] => true [PAGE_CACHE_DISABLE_PARAMETERS] => false [PAGE_CACHE_DELETE_FILES] => false [PAGE_CACHE_UPDATE_CONFIG_FILES] => none ) [cache_dir] => /public_html/tbr/store/catalog/cache/ [cache_filename] => _store_catalog_index.php [cache_param] => [cache_language] => _english [cache_currency] => _CAD [cache_file] => /public_html/tbr/store/catalog/cache/_store_catalog_index.php__english_CAD.cache [cache_lifetime] => 1800 seconds [debug_output] => true [is_guest] => 1 [compress_buffer] => compressing buffer [customer_cart] => 1 [customer_sid] => osCsid=b1086867ebf02e390f7aa4d64efe3a22 [is_guest_check] => customer_id not set - cache_this_page() [no_file_or_expired] => file does not exist or is expired [ob_started] => ob started @ 1246497029 [is_guess_check_end] => customer_id not set - end_page_cache() [output_ob] => output_ob = true [ob_compressed] => output buffer flushed and compressed [output_2_screen] => successfully output to screen [unset_screen_buffer] => screen buffer unset [output] => compressed ob sent to screen [file_write] => buffer writtent to file [unset_write_buffer] => write buffer unset [write_file] => compressed ob written to file [unset_cache_compress] => cache compress unset ) [COOKIE_INFO] => Array ( ) [SESSION_INFO] => Array ( [cart] => shoppingCart Object ( [contents] => Array ( ) [total] => 0 [weight] => 0 [content_type] => ) [language] => english [languages_id] => 1 [currency] => CAD [navigation] => navigationHistory Object ( [path] => Array ( [0] => Array ( => index.php [mode] => NONSSL [get] => Array ( ) [post] => Array ( ) ) ) [snapshot] => Array ( ) ) ) ) 1 When you have PHP code showing on the page like that you've probably lost an opening PHP tag somewhere... :huh: Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
♥ecartz Posted July 2, 2009 Share Posted July 2, 2009 When you have PHP code showing on the page like that you've probably lost an opening PHP tag somewhere...PHP code? All I see that is different in what you posted is something that looks like the output from print_r on the page cache variable or $GLOBALS or something. Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
gvl62 Posted July 3, 2009 Share Posted July 3, 2009 (edited) The code in the screen above is not the problem. We have debug turned on, so the error gets displayed on the home page. What we need help with is the actual error. We have the cache folder, but it's empty. Is this an install problem do you think? Edited July 3, 2009 by gvl62 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.