AFemaleProdigy Posted March 3, 2014 Share Posted March 3, 2014 I developed this site with a testing subdomain on a new hosting account. Everything worked flawlessly. So I enabled the CCC performance options to speed the site up. Still appeared to work ok. Then that same night (Friday), I pointed the new domain name to this server and updated the shop URL in BO. It appeared to be working at that time. Now I am not sure when it stopped working, but today I saw that I had a blank white page in FO and is working in BO. The usual error reporting method will not work, so I used a method to generate an error CSV file. The CSV file is full of 190 of these same errors for different files. (Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/content/43/12262843/html/modules/blockmyaccount/blockmyaccount.css /home/content/43/12262843/html/classes/Media.php: 229 --- (Notice) Undefined index: 0 /home/content/43/12262843/html/modules/addhomefeatured/addhomefeatured.php: 84 --- I have tried some trial and error with putting the optimization settings back to default. No change. Tried clearing cache in BO and manually deleting cache files with no fix. Please help! Website is here: http://papelcouture.com Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 3, 2014 Author Share Posted March 3, 2014 (edited) I want to add that if I enable the default theme, the home page loads, but the page looks terrible. Like the CSS is malfunctioning. Perhaps my custom theme is not compatible. If so, that is ok, but disabling these CCC settings does not make it go back to the way it was. It remains broke. And all worked fine prior to enabling CCC, minify, and compress. If this is not easilly fixed, How do I revert back to a point when the template was working, beside a database restore? Edited March 3, 2014 by AFemaleProdigy (see edit history) Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 3, 2014 Author Share Posted March 3, 2014 (edited) I did some testing. Restored previously working databases (2 of them) to see if it was an issue in the database. Still couldn't see the website. So this must be a matter of site files that were altered or cached files or something. But I tried uploading all of the site files again with no improvement. So I must be overlooking something. Any help would really be appreciated, as my client needs the website online. I did get errors down to 8. --- /home/content/43/12262843/html/classes/Media.php: 229 (Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/content/43/12262843/html/modules/blockmyaccount/blockmyaccount.css --- /home/content/43/12262843/html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64 (Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/content/43/12262843/html/cache/smarty/cache/blocksearch_top/1/1/1/21/9f/5b/87/9f5b878f02817f6289750f853a94d5a528809a14.blocksearch-top.tpl.php --- /home/content/43/12262843/html/modules/addhomefeatured/addhomefeatured.php: 84 (Notice) Undefined index: 0 Edited March 3, 2014 by AFemaleProdigy (see edit history) Link to comment Share on other sites More sharing options...
Joel Bardsley Posted March 3, 2014 Share Posted March 3, 2014 As it's in a subdomain, have you checked to see if the _PS_ROOT_DIR_ is correct in config/defines.inc.php? Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 3, 2014 Author Share Posted March 3, 2014 As it's in a subdomain, have you checked to see if the _PS_ROOT_DIR_ is correct in config/defines.inc.php? Yes, it is correct. Although I was using a subdomain (from an entirely different domain), it was still pointing to the root directory. It never changed directories or hosting. The domain was just changed from papel.motioncitymedia.net to papelcouture.com I also tried reverting back to that subdomain to see if it would work and it did not. I have not been able to back track to recover. Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 4, 2014 Author Share Posted March 4, 2014 I noticed this is referencing a file that does not exist in the server. I checked the default module and this never existed. I am guessing this was something created when I enabled CCC? And maybe it is not disabling the reference appropriately when CCC is turned off? Any thoughts? (Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/content/43/12262843/html/modules/blockmyaccount/blockmyaccount.css Link to comment Share on other sites More sharing options...
Rhapsody Posted March 4, 2014 Share Posted March 4, 2014 (edited) I had something similar to this a while back and this fixed it for me. Do you have any overrides? If the below doesn't work, try disabling overrides also to selectively see if that is causing the problem. Try disabling all the CCC options. Turn off the cache, set to force compilation and manually delete cache\class_index.php Edited March 4, 2014 by Rhapsody (see edit history) Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 4, 2014 Author Share Posted March 4, 2014 I had something similar to this a while back and this fixed it for me. Do you have any overrides? If the below doesn't work, try disabling overrides also to selectively see if that is causing the problem. Try disabling all the CCC options. Turn off the cache, set to force compilation and manually delete cache\class_index.php I already had all CCC disabled, cache off, force comp on... and I just deleted class_index.php but there was no change. Link to comment Share on other sites More sharing options...
Rhapsody Posted March 4, 2014 Share Posted March 4, 2014 Can you post a link to your site? Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 4, 2014 Author Share Posted March 4, 2014 I did an experiment and created the CSS files that were being referenced and uploaded them to the referenced directories. Those errors went away, leaving only these type of smarty referenced errors behind. So my guess is that the system is referencing things that do not exist. --- /home/content/43/12262843/html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php: 64 (Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home/content/43/12262843/html/cache/smarty/cache/blocksearch_top/1/1/1/21/9f/5b/87/9f5b878f02817f6289750f853a94d5a528809a14.blocksearch-top.tpl.php --- Turning CCC on broke the website. I think maybe because my theme was not compatible. Turning it off left irreparable damage. I have read that turning CCC off is supposed to restore the site to the way it was before it was enabled, but it seems like this is not happening. Someone correct me if I am wrong in these assumptions. So my thinking is, how do I recover it back to the way it was before I turned on CCC? Alternatively, how can I make my theme compatible with CCC so when I turn it on, it does not break? Can you post a link to your site? I included the link a couple of times in this discussion, but it is papelcouture.com Link to comment Share on other sites More sharing options...
Rhapsody Posted March 4, 2014 Share Posted March 4, 2014 Sorry - I missed that. It gives me a white screen. Do you have debug turned on? Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 4, 2014 Author Share Posted March 4, 2014 Sorry - I missed that. It gives me a white screen. Do you have debug turned on? That was also something I mentioned earlier. Turning debug on did not work, so I had to set it up to create a CSV error log. The white screen is the problem. Well, a symptom of the problem anyway. Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 4, 2014 Author Share Posted March 4, 2014 OMG... I am an idiot. For some reason, my Google analytics code in the footer was causing smarty to throw errors. Ugh. Removed that and now it is working. Go figure. Link to comment Share on other sites More sharing options...
Rhapsody Posted March 4, 2014 Share Posted March 4, 2014 I was just going to post something good happened because all of a sudden the site appeared! 1 Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 4, 2014 Author Share Posted March 4, 2014 Thanks anyway, everyone. Link to comment Share on other sites More sharing options...
AFemaleProdigy Posted March 4, 2014 Author Share Posted March 4, 2014 So I am seeing that when I have the CCC enabled for javascript and I try to install my Google analytics code, it is causing all these problems. What do I need to do to include the analytics code and not break this thing? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now