My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 30 days

  • Dec 28, 2009
    issue 17 (Problem with multiple sites/domains in same host) commented on by jeffchannell.com   -   You have to have shell access to your hosting environment...
    You have to have shell access to your hosting environment...

Older

  • Nov 16, 2009
    issue 17 (Problem with multiple sites/domains in same host) commented on by mike.bubo   -   I have exactly the same setup as aapessoa and would appreciate knowing how it is possible to use a symlink in this case?
    I have exactly the same setup as aapessoa and would appreciate knowing how it is possible to use a symlink in this case?
  • Nov 14, 2009
    issue 14 (Concatenation does not work) commented on by betweenbrain   -   I too am having issues getting concatenation to work. I have tried this on a few sites, some static HTML, some Joomla. I have even tried the default .htaccess and the one above, both by themselves. I do see that Smartoptimizer is working since the Cache folder is being populated and there are some performance gains. I'd love to be able to deploy this if I could get this to work. Any help is appreciated. I can even set up a test site if need be.
    I too am having issues getting concatenation to work. I have tried this on a few sites, some static HTML, some Joomla. I have even tried the default .htaccess and the one above, both by themselves. I do see that Smartoptimizer is working since the Cache folder is being populated and there are some performance gains. I'd love to be able to deploy this if I could get this to work. Any help is appreciated. I can even set up a test site if need be.
  • Nov 12, 2009
    issue 21 (How to exclude some paths ?) commented on by mike.bubo   -   I'd find this very useful. I run a test environment in www.mydomain.com/test which is a copy of the environment at www.mydomain.com. I'd like to exclude anything below test.
    I'd find this very useful. I run a test environment in www.mydomain.com/test which is a copy of the environment at www.mydomain.com. I'd like to exclude anything below test.
  • Nov 04, 2009
    issue 14 (Concatenation does not work) commented on by jvanwunnik   -   My .htaccess file looks like this (and for works it): <IfModule mod_expires.c> <FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt)$"> ExpiresActive On ExpiresDefault "access plus 1 year" </FilesMatch> </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} !^/robots\.txt$ RewriteCond %{HTTP_HOST} ^yourdomein\.com$ [NC] RewriteRule ^(.*)$ http://www.yourdomein.com/$1 [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*\.(js|css))$ smartoptimizer/?$1 [L] <IfModule mod_expires.c> RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*\.(js|css|html?|xml|txt))$ smartoptimizer/?$1 </IfModule> <IfModule !mod_expires.c> RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt))$ smartoptimizer/?$1 </IfModule> </IfModule> <IfModule mod_headers.c> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent env=!dont-vary </IfModule> </IfModule> <FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt)$"> FileETag none </FilesMatch> Hope this helps?!
    My .htaccess file looks like this (and for works it): <IfModule mod_expires.c> <FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt)$"> ExpiresActive On ExpiresDefault "access plus 1 year" </FilesMatch> </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} !^/robots\.txt$ RewriteCond %{HTTP_HOST} ^yourdomein\.com$ [NC] RewriteRule ^(.*)$ http://www.yourdomein.com/$1 [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*\.(js|css))$ smartoptimizer/?$1 [L] <IfModule mod_expires.c> RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*\.(js|css|html?|xml|txt))$ smartoptimizer/?$1 </IfModule> <IfModule !mod_expires.c> RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt))$ smartoptimizer/?$1 </IfModule> </IfModule> <IfModule mod_headers.c> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent env=!dont-vary </IfModule> </IfModule> <FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt)$"> FileETag none </FilesMatch> Hope this helps?!
  • Nov 04, 2009
    issue 14 (Concatenation does not work) commented on by ajyrds   -   My .htaccess file looks like this, but still the js and css is not getting concatenated - <IfModule mod_expires.c> <FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt)$"> ExpiresActive On ExpiresDefault "access plus 10 years" </FilesMatch> </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*\.(js|css))$ smartoptimizer/?$1 <IfModule mod_expires.c> RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*\.(js|css|html?|xml|txt))$ smartoptimizer/?$1 </IfModule> <IfModule !mod_expires.c> RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt))$ smartoptimizer/?$1 </IfModule> </IfModule> <FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt)$"> FileETag none </FilesMatch> Would appreciate your help! Regards, Ajay
    My .htaccess file looks like this, but still the js and css is not getting concatenated - <IfModule mod_expires.c> <FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt)$"> ExpiresActive On ExpiresDefault "access plus 10 years" </FilesMatch> </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*\.(js|css))$ smartoptimizer/?$1 <IfModule mod_expires.c> RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*\.(js|css|html?|xml|txt))$ smartoptimizer/?$1 </IfModule> <IfModule !mod_expires.c> RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt))$ smartoptimizer/?$1 </IfModule> </IfModule> <FilesMatch "\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt)$"> FileETag none </FilesMatch> Would appreciate your help! Regards, Ajay
  • Nov 03, 2009
    issue 22 (Error: the xajax Javascript component could not be included.) commented on by m...@eaegis.com   -   I am also having this issue appear only in the admin when using a component that uses ajax. Has anyone found a fix for this yet?
    I am also having this issue appear only in the admin when using a component that uses ajax. Has anyone found a fix for this yet?
  • Oct 04, 2009
    issue 24 (CDN Integration ?) reported by dev...@payms.com   -   Farhadi, thanks a million for this great app. It'd be awesome, if you had asked username/password/API Key and placed all those cache files to CDN account. As a biggest CDN provider; http://aws.amazon.com/cloudfront/ can be reached using; http://tarzan-aws.com/ This is the final missing piece before this is the 'best' optimizer out there. Cheers, Devrim
    Farhadi, thanks a million for this great app. It'd be awesome, if you had asked username/password/API Key and placed all those cache files to CDN account. As a biggest CDN provider; http://aws.amazon.com/cloudfront/ can be reached using; http://tarzan-aws.com/ This is the final missing piece before this is the 'best' optimizer out there. Cheers, Devrim
  • Sep 14, 2009
    issue 17 (Problem with multiple sites/domains in same host) commented on by aapessoa   -   Hi Jeff How is that done? Let me give you an example: base domain is in /public_html domain mytest is in directory /public_html/mytest thanks in advance
    Hi Jeff How is that done? Let me give you an example: base domain is in /public_html domain mytest is in directory /public_html/mytest thanks in advance
  • Aug 24, 2009
    issue 10 (File is Out of Base Directory) commented on by craigbishopsr   -   Visit http://bit.ly/Ak8cZ and post your specific difficulty. This is where I found help & a solution.
    Visit http://bit.ly/Ak8cZ and post your specific difficulty. This is where I found help & a solution.
  • Aug 24, 2009
    issue 10 (File is Out of Base Directory) commented on by jowinsjm   -   any idea how this can be rectified? Me too have the same problem in Joomla 1.5.14 with SO 1.7 Beta with a forum component. It doesnt happen very often but once happen it continues. The link is http://www.tokaichan.com/index.php/index.php?option=com_agora&Itemid=47
    any idea how this can be rectified? Me too have the same problem in Joomla 1.5.14 with SO 1.7 Beta with a forum component. It doesnt happen very often but once happen it continues. The link is http://www.tokaichan.com/index.php/index.php?option=com_agora&Itemid=47
  • Jun 29, 2009
    issue 23 (Javascript / CSS files not minifying) reported by doma...@betleywhitehorne.com   -   What steps will reproduce the problem? Config file set to minify, not gzip What is the expected output? What do you see instead? Minified js and css files in cache folder. The js files are cached at all and the css files are not minifed. What version of the product are you using? On what operating system? 1.7 Please provide any additional information below. When I use YSlow at analyse the page it says everything is minified, but when I look at the cached files they are not minified. It only copies the css files and the javascript files are not touched.
    What steps will reproduce the problem? Config file set to minify, not gzip What is the expected output? What do you see instead? Minified js and css files in cache folder. The js files are cached at all and the css files are not minifed. What version of the product are you using? On what operating system? 1.7 Please provide any additional information below. When I use YSlow at analyse the page it says everything is minified, but when I look at the cached files they are not minified. It only copies the css files and the javascript files are not touched.
  • Jun 13, 2009
    issue 22 (Error: the xajax Javascript component could not be included.) commented on by i...@mooncities.com   -   I could solve this problem by reading former issues. Thanks anyway
    I could solve this problem by reading former issues. Thanks anyway
  • Jun 13, 2009
    issue 22 (Error: the xajax Javascript component could not be included.) reported by i...@mooncities.com   -   What steps will reproduce the problem? 1. http://salsa.panama-hat-central.com/ 2. 3. What is the expected output? What do you see instead? I get a error: Error: the xajax Javascript component could not be included. Perhaps the URL is incorrect? URL: http://salsa.panama-hat-central.com/components/com_s2framework/vendors/xajax_05rc2/xajax_js/xajax_core.js What version of the product are you using? On what operating system? I am using the 1.7 Beta Please provide any additional information below.
    What steps will reproduce the problem? 1. http://salsa.panama-hat-central.com/ 2. 3. What is the expected output? What do you see instead? I get a error: Error: the xajax Javascript component could not be included. Perhaps the URL is incorrect? URL: http://salsa.panama-hat-central.com/components/com_s2framework/vendors/xajax_05rc2/xajax_js/xajax_core.js What version of the product are you using? On what operating system? I am using the 1.7 Beta Please provide any additional information below.
  • Jun 13, 2009
    issue 21 (How to exclude some paths ?) reported by siriusocteam   -   What can be done to exclude some paths ? We could have another variable like $settings['exclDir'] = '../thepath'; for example... Can you tell me what to do please ? We could also make some change in the RewriteCond %{REQUEST_FILENAME} !-d I suppose ? Thanks
    What can be done to exclude some paths ? We could have another variable like $settings['exclDir'] = '../thepath'; for example... Can you tell me what to do please ? We could also make some change in the RewriteCond %{REQUEST_FILENAME} !-d I suppose ? Thanks
  • Jun 12, 2009
    issue 17 (Problem with multiple sites/domains in same host) commented on by jeffchannell.com   -   As a workaround, I added a symlink for each subdomain: [~/public_html]$ ln -s smartoptimizer/ subdomain/smartoptimizer
    As a workaround, I added a symlink for each subdomain: [~/public_html]$ ln -s smartoptimizer/ subdomain/smartoptimizer
  • May 16, 2009
    issue 20 (Module & Component malfunction) reported by i...@incredible-india.biz   -   After setup (htaccess) the site loads howhever, JSN ImageShow and PhocaGallery do behave strange. JSN pictures are not shown (module loads fine) and phocagallery preview/slides do not work.
    After setup (htaccess) the site loads howhever, JSN ImageShow and PhocaGallery do behave strange. JSN pictures are not shown (module loads fine) and phocagallery preview/slides do not work.
  • Apr 12, 2009
    issue 19 (Included pictures, css files and js files, that are part fro...) reported by v0rtex7777   -   What steps will reproduce the problem? 1. In Joomla, if you include pictures, js files ot css files from a subdomain, then after smart optimizer is enabled, those files are not loaded /not found. 2. 3. What is the expected output? What do you see instead? Of course the site design is completly gone, because of this and not functioning right What version of the product are you using? On what operating system? I am using the latest beta (by the time of posting) 1.7-beta Please provide any additional information below.
    What steps will reproduce the problem? 1. In Joomla, if you include pictures, js files ot css files from a subdomain, then after smart optimizer is enabled, those files are not loaded /not found. 2. 3. What is the expected output? What do you see instead? Of course the site design is completly gone, because of this and not functioning right What version of the product are you using? On what operating system? I am using the latest beta (by the time of posting) 1.7-beta Please provide any additional information below.
  • Mar 19, 2009
    issue 13 (Problem Ajax Folder) commented on by a.farhadi   -   I couldn't find any way to edit or delete it. Do you have access to delete or edit your post? If yes, feel free to do it yourself.
    I couldn't find any way to edit or delete it. Do you have access to delete or edit your post? If yes, feel free to do it yourself.
  • Mar 17, 2009
    issue 13 (Problem Ajax Folder) commented on by HowardOnix   -   Mr. Farhadi, Would mind editing or deleting my post to remove my site URL? Thank you.
    Mr. Farhadi, Would mind editing or deleting my post to remove my site URL? Thank you.
  • Mar 13, 2009
    issue 18 (htaccess issue) reported by aplennevaux   -   i'm having issues with the .htaccess file: i tried simply copy/pasting your htaccess at the beginning of mine. What happens as far as i can tell, is that the javascript files are not found anymore. I get this error: "the stylesheet ... hasn't been loaded because its MIME type, "text/html", is not "text/css". in case that helps, i attached my htaccess file with your code on top of it. Removing your htaccess code brings everything back to normal.
    i'm having issues with the .htaccess file: i tried simply copy/pasting your htaccess at the beginning of mine. What happens as far as i can tell, is that the javascript files are not found anymore. I get this error: "the stylesheet ... hasn't been loaded because its MIME type, "text/html", is not "text/css". in case that helps, i attached my htaccess file with your code on top of it. Removing your htaccess code brings everything back to normal.
  • Mar 04, 2009
    issue 17 (Problem with multiple sites/domains in same host) reported by aapessoa   -   What steps will reproduce the problem? 1. have a host with several sites/domains, one of them in the main /public_html directory and the other (addon) domains in subdirectories under /public_html. All of them are diferent sites, some in joomla, some in other php scripts 2. smartoptimizer is installed on the oldest domain (the one in public_html dir) and works great for that domain. Mod_rewrite is enable, with the modified .htaccess 3. the other domains stop working (meaning: html/css stops being rendered correctly, only unformated text links appear) unless each of these domains has a copy of smartoptimizer in a sub-directory under that domain and the .htacces rewritten. 4. this is OK in some cases, and not so OK in others, as there are conflicts with some .js libraries (joomla frontpage slideshow/jquery) and ioncube encoded php scripts (jrox.com jem) It woul be great if smartoptimizer had a feature to ignore certain subdirectories, thus not creating this problem. Product version and server details: - Smartoptimizer 1.7 beta, - OS is linux 2.6.27-6_1.intel.BHsmp x86_64, - Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 , - mysql 5.0.67-community-log, - php 5.2.8, Zend Engine v2.2.0, Zend Extension Manager v1.2.2, Zend Optimizer v3.3.3, - cgi-fcgi with fastcgi - mod_rewrite ON, safemode OFF, virtual directory support ON
    What steps will reproduce the problem? 1. have a host with several sites/domains, one of them in the main /public_html directory and the other (addon) domains in subdirectories under /public_html. All of them are diferent sites, some in joomla, some in other php scripts 2. smartoptimizer is installed on the oldest domain (the one in public_html dir) and works great for that domain. Mod_rewrite is enable, with the modified .htaccess 3. the other domains stop working (meaning: html/css stops being rendered correctly, only unformated text links appear) unless each of these domains has a copy of smartoptimizer in a sub-directory under that domain and the .htacces rewritten. 4. this is OK in some cases, and not so OK in others, as there are conflicts with some .js libraries (joomla frontpage slideshow/jquery) and ioncube encoded php scripts (jrox.com jem) It woul be great if smartoptimizer had a feature to ignore certain subdirectories, thus not creating this problem. Product version and server details: - Smartoptimizer 1.7 beta, - OS is linux 2.6.27-6_1.intel.BHsmp x86_64, - Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 , - mysql 5.0.67-community-log, - php 5.2.8, Zend Engine v2.2.0, Zend Extension Manager v1.2.2, Zend Optimizer v3.3.3, - cgi-fcgi with fastcgi - mod_rewrite ON, safemode OFF, virtual directory support ON
  • Feb 28, 2009
    issue 16 (Double gzipping when using ob_gzhandler from htaccess) reported by shahan43   -   What steps will reproduce the problem? 1. loaded up on server 2. custom rewrite rules. posted below 3. caching and everything works. when download from cache, file works, but not in browser seems to be "double" gzip. What is the expected output? What do you see instead? its supposed to be gzipped and work correctly, instead the file is double gzip What version of the product are you using? On what operating system? tried beta, and latest svn version; using litespeed Please provide any additional information below. needs to check it ob_gzhandler is set RewriteEngine On RewriteCond %{HTTP_HOST} ^gpasoftware.com [NC] RewriteRule ^(.*)$ http://www.gpasoftware.com/$1 [L,R=301] DirectoryIndex default.html index.gpa index.php index.html index.htm #RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] RewriteRule ^(.*\.(js|css))$ smartoptimizer/index.php?$1 [L] .htaccess file: AddType application/x-httpd-php .gpa Options -Indexes php_flag magic_quotes_gpc Off php_value upload_max_filesize 5M php_value output_handler ob_gzhandler ExpiresActive On ExpiresByType image/* "access plus 10 years" ExpiresByType text/css "access plus 10 years" ExpiresByType application/x-javascript "access plus 10 years" FileETag None Header unset ETag Header unset Last-Modified
    What steps will reproduce the problem? 1. loaded up on server 2. custom rewrite rules. posted below 3. caching and everything works. when download from cache, file works, but not in browser seems to be "double" gzip. What is the expected output? What do you see instead? its supposed to be gzipped and work correctly, instead the file is double gzip What version of the product are you using? On what operating system? tried beta, and latest svn version; using litespeed Please provide any additional information below. needs to check it ob_gzhandler is set RewriteEngine On RewriteCond %{HTTP_HOST} ^gpasoftware.com [NC] RewriteRule ^(.*)$ http://www.gpasoftware.com/$1 [L,R=301] DirectoryIndex default.html index.gpa index.php index.html index.htm #RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] RewriteRule ^(.*\.(js|css))$ smartoptimizer/index.php?$1 [L] .htaccess file: AddType application/x-httpd-php .gpa Options -Indexes php_flag magic_quotes_gpc Off php_value upload_max_filesize 5M php_value output_handler ob_gzhandler ExpiresActive On ExpiresByType image/* "access plus 10 years" ExpiresByType text/css "access plus 10 years" ExpiresByType application/x-javascript "access plus 10 years" FileETag None Header unset ETag Header unset Last-Modified
  • Feb 21, 2009
    issue 13 (Problem Ajax Folder) changed by a.farhadi   -   There was a bug in JS minifier with missing semicolons which caused this issue. I fixed it in revision 8 and I'll release a new version ASAP. until then you can get changed file from here: http://smartoptimizer.googlecode.com/svn/trunk/smartoptimizer/minifiers/js.php
    Status: Fixed
    Owner: a.farhadi
    There was a bug in JS minifier with missing semicolons which caused this issue. I fixed it in revision 8 and I'll release a new version ASAP. until then you can get changed file from here: http://smartoptimizer.googlecode.com/svn/trunk/smartoptimizer/minifiers/js.php
    Status: Fixed
    Owner: a.farhadi
  • Feb 21, 2009
    r8 (Issue #13 fixed ) committed by a.farhadi   -   Issue #13 fixed
  • Feb 21, 2009
    issue 12 (PHP Error and Display issues On first page load) commented on by a.farhadi   -   With the errors you mentioned above it seems that there is something wrong in css minifier. Can you attach the css file which raised this issue? By the way, you said "no JS is being downloaded". Can you explain more? Is there any error in JS output?
    With the errors you mentioned above it seems that there is something wrong in css minifier. Can you attach the css file which raised this issue? By the way, you said "no JS is being downloaded". Can you explain more? Is there any error in JS output?
  • Feb 21, 2009
    issue 14 (Concatenation does not work) Status changed by a.farhadi   -   You should place SmartOptimizer RewriteRule before your own RewriteRule
    Status: Invalid
    You should place SmartOptimizer RewriteRule before your own RewriteRule
    Status: Invalid
  • Feb 21, 2009
    issue 15 ("could not create cache.." error after upgrade to joomla1.5....) Status changed by a.farhadi   -  
    Status: Invalid
    Status: Invalid
  • Feb 13, 2009
    issue 10 (File is Out of Base Directory) commented on by craigbishopsr   -   Thanks for your post and suggestion Miguel... although, my template properly references all files (src=) with the later method using baseurl as follows for my css, javascript and references to images too. <link rel="stylesheet" href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/base_<?php echo $scheme;?>.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/customize_<?php echo $scheme;?>.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/j15.css" type="text/css" media="screen" /> <script type="text/javascript" src="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/js/stylechanger.js"></script>
    Thanks for your post and suggestion Miguel... although, my template properly references all files (src=) with the later method using baseurl as follows for my css, javascript and references to images too. <link rel="stylesheet" href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/base_<?php echo $scheme;?>.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/customize_<?php echo $scheme;?>.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/j15.css" type="text/css" media="screen" /> <script type="text/javascript" src="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/js/stylechanger.js"></script>
  • Feb 13, 2009
    issue 10 (File is Out of Base Directory) commented on by miguelsuarez70   -   I had the same problem with Joomla and it was because in the template I had 2 css and js files linked like this: <script src="scripts/swfobject_modified.js" type="text/javascript"></script> and it should be like this: <script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>scripts/swfobject_modified.js" type="text/javascript"></script> Hope it helps.
    I had the same problem with Joomla and it was because in the template I had 2 css and js files linked like this: <script src="scripts/swfobject_modified.js" type="text/javascript"></script> and it should be like this: <script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>scripts/swfobject_modified.js" type="text/javascript"></script> Hope it helps.
  • Feb 05, 2009
    issue 10 (File is Out of Base Directory) commented on by TheD0gSoldi3r   -   I get SmartOptimizer Error: File is out of base directory. in1 of my components in joomla (rsgallery) and thats all, evertime you view the gallery a warning shows up 3 times called "SmartOptimizer Error: File is out of base directory." can anybody help me
    I get SmartOptimizer Error: File is out of base directory. in1 of my components in joomla (rsgallery) and thats all, evertime you view the gallery a warning shows up 3 times called "SmartOptimizer Error: File is out of base directory." can anybody help me
  • Jan 20, 2009
    issue 10 (File is Out of Base Directory) commented on by frank.le...@crooze.fm   -   I have the same problem, but only in the administrator area of Joomla 1.5.9 when opening the Stalytics2 component. After clicking OK, the stats are shown, but not all the numbers. The developer of Stalytics2 informed me that his component will not work when caching is used.
    I have the same problem, but only in the administrator area of Joomla 1.5.9 when opening the Stalytics2 component. After clicking OK, the stats are shown, but not all the numbers. The developer of Stalytics2 informed me that his component will not work when caching is used.
  • Jan 19, 2009
    issue 15 ("could not create cache.." error after upgrade to joomla1.5....) commented on by lvschoor   -   problem solved after deleting all the files in the cache directory
    problem solved after deleting all the files in the cache directory
  • Jan 19, 2009
    issue 15 ("could not create cache.." error after upgrade to joomla1.5....) commented on by lvschoor   -   This is the exact error: SmartOptimizer Error: Could not create cache file(cache/so_b4484b57c23aa286b49d5b838fc38e32.js.gz).
    This is the exact error: SmartOptimizer Error: Could not create cache file(cache/so_b4484b57c23aa286b49d5b838fc38e32.js.gz).
  • Jan 19, 2009
    issue 15 ("could not create cache.." error after upgrade to joomla1.5....) commented on by lvschoor   -   Still the same error, even with the cache directory permissions set to 777. So the problem is somewhere else. See: www.test.acromaniac.be
    Still the same error, even with the cache directory permissions set to 777. So the problem is somewhere else. See: www.test.acromaniac.be
  • Jan 17, 2009
    issue 15 ("could not create cache.." error after upgrade to joomla1.5....) commented on by michalzuber86   -   The directory is not writeable by the server user. You need to change the permissions on the cache directory. www.neville.sk
    The directory is not writeable by the server user. You need to change the permissions on the cache directory. www.neville.sk
  • Jan 17, 2009
    issue 15 ("could not create cache.." error after upgrade to joomla1.5....) commented on by michalzuber86   -   The directory is not writeable by the server user. You need to change the permissions on the cache directory. <a href="http://www.neville.sk">www.neville.sk</a>
    The directory is not writeable by the server user. You need to change the permissions on the cache directory. <a href="http://www.neville.sk">www.neville.sk</a>
  • Jan 17, 2009
    issue 15 ("could not create cache.." error after upgrade to joomla1.5....) commented on by michalzuber86   -   The directory is not writeable by the server user. You need to change the permissions on the cache directory. <a href="http://www.neville.sk">www.neville.sk</a>
    The directory is not writeable by the server user. You need to change the permissions on the cache directory. <a href="http://www.neville.sk">www.neville.sk</a>
  • Jan 17, 2009
    issue 15 ("could not create cache.." error after upgrade to joomla1.5....) commented on by michalzuber86   -   Your webserver has no write access to that directory.
    Your webserver has no write access to that directory.
  • Jan 14, 2009
    issue 15 ("could not create cache.." error after upgrade to joomla1.5....) reported by lvschoor   -   What steps will reproduce the problem? 1. With 1.5.8 all OK 2. Upgraded to 1.5.9 3. When opening site SmartOptimizer Error "Could not create cache file cache/...." Thanks for helping me on this issue.
    What steps will reproduce the problem? 1. With 1.5.8 all OK 2. Upgraded to 1.5.9 3. When opening site SmartOptimizer Error "Could not create cache file cache/...." Thanks for helping me on this issue.
  • Jan 13, 2009
    issue 14 (Concatenation does not work) reported by jvanwunnik   -   What steps will reproduce the problem? <link rel="stylesheet" href="css/screen.css,styles.css" media="screen, projection" /> and <script type="text/javascript" src="js/jquery- 1.2.6.min.js,jquery.corners.min.js,jquery.custom.js"></script> do noet work... I already have an .htaccess file. The following row causes the problem: RewriteRule ^(.*)$ /index.php?/$1 [L] RewriteRule ^(.*\.(js|css))$ smartoptimizer/?$1 If I remove the first line (I need for my Expression Engine install to get 'nice' URIs) the concatenation works. I do not have enought experience to solve this mod_rewrite problem. Any idea how both lines can work? What is the expected output? What do you see instead? A working concatenated css and js file. What version of the product are you using? On what operating system? SmartOptimizer v1.7 beta Please provide any additional information below. I've attached the .htacces file I'm using.
    What steps will reproduce the problem? <link rel="stylesheet" href="css/screen.css,styles.css" media="screen, projection" /> and <script type="text/javascript" src="js/jquery- 1.2.6.min.js,jquery.corners.min.js,jquery.custom.js"></script> do noet work... I already have an .htaccess file. The following row causes the problem: RewriteRule ^(.*)$ /index.php?/$1 [L] RewriteRule ^(.*\.(js|css))$ smartoptimizer/?$1 If I remove the first line (I need for my Expression Engine install to get 'nice' URIs) the concatenation works. I do not have enought experience to solve this mod_rewrite problem. Any idea how both lines can work? What is the expected output? What do you see instead? A working concatenated css and js file. What version of the product are you using? On what operating system? SmartOptimizer v1.7 beta Please provide any additional information below. I've attached the .htacces file I'm using.
  • Jan 05, 2009
    issue 13 (Problem Ajax Folder) reported by HowardOnix   -   What steps will reproduce the problem? 1. On initial page load, an error window appears with the follow: Error: the xajax Javascript component could not be included. Perhaps the URL is incorrect? URL: http://www.onixlink.com/components/com_s2framework/vendors/xajax_05rc2/xajax_js/xajax_core.js 2. With my local cache cleared/fresh page load, it take 20 to 35 seconds to load, 3 to 4 times normal...after that, it will load quick. 3. What is the expected output? What do you see instead? When it does load, it looks correct. What version of the product are you using? On what operating system? SmartOptimizer v1.7 beta Please provide any additional information below. Joomla 1.5.7 with JReview(uses AJAX heaviliy I believe), S5 TabShow, SObi, JomSocial Program Versions Program Version Apache: 2.2.10 CentOS: 5.2 cPanel: 11.23.6-STABLE Curl: 7.12.1 MySQL 5.0.51a phpMyAdmin 2.11.9.1 Python: 2.4.3 Program Version Perl: 5.8.8 PHP: 5.2.6 ionCube Loader: 3.1.32 Zend Optimizer: 3.3.3 Ruby: 1.8.7 Rails: 2.2.2 OpenSSL: 0.9.8b
    What steps will reproduce the problem? 1. On initial page load, an error window appears with the follow: Error: the xajax Javascript component could not be included. Perhaps the URL is incorrect? URL: http://www.onixlink.com/components/com_s2framework/vendors/xajax_05rc2/xajax_js/xajax_core.js 2. With my local cache cleared/fresh page load, it take 20 to 35 seconds to load, 3 to 4 times normal...after that, it will load quick. 3. What is the expected output? What do you see instead? When it does load, it looks correct. What version of the product are you using? On what operating system? SmartOptimizer v1.7 beta Please provide any additional information below. Joomla 1.5.7 with JReview(uses AJAX heaviliy I believe), S5 TabShow, SObi, JomSocial Program Versions Program Version Apache: 2.2.10 CentOS: 5.2 cPanel: 11.23.6-STABLE Curl: 7.12.1 MySQL 5.0.51a phpMyAdmin 2.11.9.1 Python: 2.4.3 Program Version Perl: 5.8.8 PHP: 5.2.6 ionCube Loader: 3.1.32 Zend Optimizer: 3.3.3 Ruby: 1.8.7 Rails: 2.2.2 OpenSSL: 0.9.8b
  • Jan 05, 2009
    issue 12 (PHP Error and Display issues On first page load) reported by david.baumwald   -   What steps will reproduce the problem? 1. Enabling minification by changing $setting['minify'] to 'true' 2. No other code changed. SO resides in the default directory within the root. 3. htaccess file installed with correct paramaters. 4. FireBug produces no errors, but it's obvious that no JS is being downloaded What is the expected output? What do you see instead? Expecting no errors, but receive... [05-Jan-2009 09:51:09] PHP Warning: substr_count() [<a href='function.substr-count'>function.substr-count</a>]: Empty substring in /home/usr/public_html/smartoptimizer/minifiers/css.php on line 67 [05-Jan-2009 09:51:09] PHP Warning: substr_count() [<a href='function.substr-count'>function.substr-count</a>]: Empty substring in /home/usr/public_html/smartoptimizer/minifiers/css.php on line 67 [05-Jan-2009 09:51:09] PHP Warning: substr_count() [<a href='function.substr-count'>function.substr-count</a>]: Empty substring in /home/usr/public_html/smartoptimizer/minifiers/css.php on line 67 [05-Jan-2009 09:51:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/usr/public_html/smartoptimizer/minifiers/css.php:67) in /home/usr/public_html/smartoptimizer/index.php on line 190 What version of the product are you using? On what operating system? Most recent version. Using Unix, with LiteSpeed server, PHP 5. Please provide any additional information below.
    What steps will reproduce the problem? 1. Enabling minification by changing $setting['minify'] to 'true' 2. No other code changed. SO resides in the default directory within the root. 3. htaccess file installed with correct paramaters. 4. FireBug produces no errors, but it's obvious that no JS is being downloaded What is the expected output? What do you see instead? Expecting no errors, but receive... [05-Jan-2009 09:51:09] PHP Warning: substr_count() [<a href='function.substr-count'>function.substr-count</a>]: Empty substring in /home/usr/public_html/smartoptimizer/minifiers/css.php on line 67 [05-Jan-2009 09:51:09] PHP Warning: substr_count() [<a href='function.substr-count'>function.substr-count</a>]: Empty substring in /home/usr/public_html/smartoptimizer/minifiers/css.php on line 67 [05-Jan-2009 09:51:09] PHP Warning: substr_count() [<a href='function.substr-count'>function.substr-count</a>]: Empty substring in /home/usr/public_html/smartoptimizer/minifiers/css.php on line 67 [05-Jan-2009 09:51:09] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/usr/public_html/smartoptimizer/minifiers/css.php:67) in /home/usr/public_html/smartoptimizer/index.php on line 190 What version of the product are you using? On what operating system? Most recent version. Using Unix, with LiteSpeed server, PHP 5. Please provide any additional information below.
  • Jan 01, 2009
    issue 11 (Code modification regarding file not found) reported by siriusocteam   -   What steps will reproduce the problem? 1. Try to have a file outside the directory 2. Then got the popup from smartoptimzer What is the expected output? What do you see instead? We should have the name of the requested file that is outside the directory. If not ,it's pretty hard to find where's the problem. What version of the product are you using? On what operating system? 1.7 beta Please provide any additional information below. In index.php find: if (strpos(realpath($fileDir), realpath($settings['baseDir'])) !== 0) debugExit("File is out of base directory." ); Replace with: if (strpos(realpath($fileDir), realpath($settings['baseDir'])) !== 0) debugExit("File is out of base directory." . $query);
    What steps will reproduce the problem? 1. Try to have a file outside the directory 2. Then got the popup from smartoptimzer What is the expected output? What do you see instead? We should have the name of the requested file that is outside the directory. If not ,it's pretty hard to find where's the problem. What version of the product are you using? On what operating system? 1.7 beta Please provide any additional information below. In index.php find: if (strpos(realpath($fileDir), realpath($settings['baseDir'])) !== 0) debugExit("File is out of base directory." ); Replace with: if (strpos(realpath($fileDir), realpath($settings['baseDir'])) !== 0) debugExit("File is out of base directory." . $query);
  • Dec 29, 2008
    issue 10 (File is Out of Base Directory) commented on by craigbishopsr   -   Using Joomla 1.5.8 too!
    Using Joomla 1.5.8 too!
  • Dec 29, 2008
    issue 10 (File is Out of Base Directory) reported by craigbishopsr   -   What steps will reproduce the problem? 1. Visit http://cellularday.com/faq/general-information.html (Authentication User: cell Password: phone) - OR - 2. Visit http://cellularday.com/faq/technical-info.html 3. Links are also under FAQ on horizontal menu.. you may need to load either one of the above page a second time to recreate error. What is the expected output? What do you see instead? I get [SmartOptimizer: File is out of Base Directory] (twice - hit OK and it will happen one more time) before page loads (with some output missing in the upper-right Compare & Save Block - click HOME to see normal Compare & Save Block output) What version of the product are you using? On what operating system? Using 1.7 beta on Apache 1.3.41 (Unix) Please provide any additional information below. SmartOptimizer worked fine "out of box" improving YSlow Grade from 53 to 81 immediately on HOME page, and worked repeatedly without error, until I later surfed around site to ensure that SmartOptimizer was working across the entire site. With limited testing error seems on only 2 pages shared above.
    What steps will reproduce the problem? 1. Visit http://cellularday.com/faq/general-information.html (Authentication User: cell Password: phone) - OR - 2. Visit http://cellularday.com/faq/technical-info.html 3. Links are also under FAQ on horizontal menu.. you may need to load either one of the above page a second time to recreate error. What is the expected output? What do you see instead? I get [SmartOptimizer: File is out of Base Directory] (twice - hit OK and it will happen one more time) before page loads (with some output missing in the upper-right Compare & Save Block - click HOME to see normal Compare & Save Block output) What version of the product are you using? On what operating system? Using 1.7 beta on Apache 1.3.41 (Unix) Please provide any additional information below. SmartOptimizer worked fine "out of box" improving YSlow Grade from 53 to 81 immediately on HOME page, and worked repeatedly without error, until I later surfed around site to ensure that SmartOptimizer was working across the entire site. With limited testing error seems on only 2 pages shared above.
  • Dec 16, 2008
    smartoptimizer-1.7-beta.tar.gz (SmartOptimizer v1.7 beta) file uploaded by a.farhadi
  • Dec 16, 2008
    r7 (ability to ignore some file types (e.g. htc) from being embe...) committed by a.farhadi   -   ability to ignore some file types (e.g. htc) from being embedded through embedExceptions config.
    ability to ignore some file types (e.g. htc) from being embedded through embedExceptions config.
  • Dec 07, 2008
    issue 9 (tincymce) Status changed by a.farhadi   -   Ok, I marked it as invalid.
    Status: Invalid
    Ok, I marked it as invalid.
    Status: Invalid
  • Dec 07, 2008
    issue 9 (tincymce) commented on by amaranatho   -   okay very sorry - I was doing it late last night and did not set the cache directory to right permission. thanks
    okay very sorry - I was doing it late last night and did not set the cache directory to right permission. thanks
 
Hosted by Google Code