-
AuthorPosts
-
March 18, 2012 at 7:29 pm #175140
I built the site in a different directory to test it. Everything worked fine with both CSS and JS set to Join & Minify & Compress.
When I took the site live, the CSS compression worked fine, but now I have to have JS set to “No”.
Nothing changed in my setup at all beyond the fact that the site is no longer in a subdirectory, but is now the live site. Is there a setting somewhere else I need to change? A different config.php file?
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
March 18, 2012 at 8:28 pm #444375Hello,
Have you changed the path’s to your configuration.php file ?
For example if your absolute folder was /home/useraccount/joomla/folder and you moved your site to /home/useraccount/joomla you should change that to your configuration.php file also.Regards
March 19, 2012 at 12:30 am #444426I see a spot to adjust for the log and tmp folders, which are pointing to the correct location. Is there another configuration file somewhere I need to adjust?
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
March 19, 2012 at 1:40 am #444431Hi,
Those 2 are the ones or you can find them in your configuration.php
public $log_path = 'absolute/path/to/disk/';
public $tmp_path = 'absolute/path/to/disk/';1 user says Thank You to Manos for this useful post
March 19, 2012 at 2:08 am #444436Yes, I had those adjusted to the correct path. Odd that the CSS compression works, but not the JS.
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
March 19, 2012 at 3:09 pm #444546Hi,
In some cases JS optimization is already done with in modules or even the template itself, so just linking the files to minimize the number of them is all that’s needed.
Optimization of a website is always a keep going and trying situation and also you have to understand that in some cases some modules don’t like JS compressed (mainly 3rd party )
March 19, 2012 at 6:22 pm #444589Yeah, I just can’t figure out why it worked fine on the testing server and didn’t act up until I took the site live. Still having a few odd layout bugs here and there as well, modules laying out too tall, etc. Work in progress!
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by monkeywright 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum