Joomla! Discussion Forums



It is currently Fri Nov 27, 2009 6:29 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 186 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
Posted: Thu Mar 26, 2009 2:21 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Dec 25, 2006 9:20 pm
Posts: 41
Thanks M4rc0

Quote:
But If you really have 19 and 20 (really?) files then the hard work surely will worth for you :D


Yeah..Unfortunately I am kinda extension-addict. But isn't it the whole point of having Joomla? Isn't its modular structure makes the difference?

Where can I find this httpd.conf file?

Quote:
In other words, you have to hack the extensions:
- Check all the css and js files from plugins/modules/components that you have installed in the source code.
- Copy the css contents in a file, like joomla.css and the js in another one like scripts.js
- Hack the extensions one by one and disable the call for the stylesheet or scripts
- Add your joomla.css and scripts.js in your site
- Concatenate with the rest


That is scarry. But if I feel crazy enough to dare giving it a try, I should make a call to these wholesale script.js and joomla.css from within every single component and modules, I guess.

The another problem is some CSS and JS files don't work from a combined file. I tried CssJsCompress plugin and JRE Cache Accelerator components JS and CSS combine utilities, some JS and CSS didn't like it..I gues some JS files make dynamic calls..

Thanks anyway M4rc0


Top
   
 
Posted: Thu Mar 26, 2009 2:38 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Sep 27, 2006 1:47 pm
Posts: 304
Don't blame yourself, I consider that to be a joomla problem.. ;)

A downside for having such great extensions maybe.

The httpd.conf, if you are using windows it's in the apache_folder/conf/httpd.conf
If you are in linux /etc/httpd/conf/httpd.conf

In Windows it should probably be "C:/Program Files/Apache" (or WAMP), whatever you are using.

I'm a linux guy, so I can't help you there. Just dig it :D

_________________
http://marcobarbosa.com
http://twitter.com/marcobarbosa


Top
   
 
Posted: Thu Mar 26, 2009 7:00 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Jan 14, 2007 1:18 pm
Posts: 54
Location: Paris
Hi M4rc0,

To know wich file is out of base...

Got to smartoptimizer/index.php

Find (line 120):
Code:
if (strpos(realpath($fileDir), realpath($settings['baseDir'])) !== 0) debugExit("File is out of base directory.");

Replace by:
Code:
if (strpos(realpath($fileDir), realpath($settings['baseDir'])) !== 0) debugExit("File is out of base directory." . $query);


And I'm JCE user, and everything is ok...

_________________
Joomla 1.5.10 Fr/En


Top
   
 
Posted: Thu Mar 26, 2009 7:59 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Sep 27, 2006 1:47 pm
Posts: 304
Thanks SiriusOCT! That solved the mistery!

The error will appear only when you click "Add article" or anywhere that loads the jce. Try doing it, it has to appear for you too. This is the file:

plugins/editors/jce/tiny_mce/plugins/help/langs/en.js

The thing is, there isn't even the folder langs nor en.js

Could you try adding an article or something and tell me if the error appears?
Also, is there such a file in your jce?

Thanks again. And sorry for going a bit off-topic here.

EDIT: I disabled the help plugin in the component and the problem disapeared :D

:pop

_________________
http://marcobarbosa.com
http://twitter.com/marcobarbosa


Top
   
 
Posted: Fri Mar 27, 2009 7:01 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Oct 27, 2006 7:45 am
Posts: 125
Location: Bucuresti
One more question: my server doesn't have gzip enabled (provider doesn't allow gzip) but i can use zlib...i can use smartoptimizier with zlib?

Thank you


Top
  E-mail  
 
Posted: Tue Mar 31, 2009 6:13 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Mar 21, 2009 2:36 pm
Posts: 16
i worker with smart oprimizer, but php speedy is quite more faster, stable and reliable. Google for PHP Speedy

_________________
My creations (a lot of hard word put on them): http://www.yourweb-life.com and http://blog-in.ws


Top
  E-mail  
 
Posted: Tue Mar 31, 2009 6:50 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Sep 27, 2006 1:47 pm
Posts: 304
nasis wrote:
i worker with smart oprimizer, but php speedy is quite more faster, stable and reliable. Google for PHP Speedy


Have you successfully used PHP Speedy with Joomla 1.5.10 ?

You see, barthle, I think this PHP Speedy does automatically get all the files in one. That looks impressive..

_________________
http://marcobarbosa.com
http://twitter.com/marcobarbosa


Top
   
 
Posted: Tue Mar 31, 2009 7:30 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Oct 27, 2006 7:45 am
Posts: 125
Location: Bucuresti
I found a php speedy plugin for joomla 1.0 and 1.5 here:

http://www.fijiwebdesign.com/products/j ... lugin.html


Top
  E-mail  
 
Posted: Thu Apr 02, 2009 5:48 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Mar 14, 2009 6:27 am
Posts: 13
Wow, thank you, great tool! I have installed this on three sites, YSlow go from 48-55 to 81-85 on the first two, ouch!! :D I install it on the third: nothing! Same score, same external files, same no Expire something... This website is on the same server as the others, it even have the same template, I really don't understand. I double-check the .htaccess file but it's all good, exactly the same as the others two. Someone have an explanation?

_________________
http://peterzeller.com - My personal website

http://freesteer.com - Free Artisteer Joomla templates


Top
  E-mail  
 
Posted: Fri Apr 10, 2009 6:30 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Mar 16, 2006 9:24 am
Posts: 21
Just wanted to say thank you, this is such a great tool!
For me as well sites went from the fifties on YSlow to mid eighties!


Top
  E-mail  
 
Posted: Tue Apr 14, 2009 5:33 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Apr 14, 2009 5:24 am
Posts: 12
I manage to get this to work with latest version however, i encounter more problem with this .. in backend .. since some css not load properly or java error .. ( ajax specific ) .. now i take it off and i try to find other way to make site go faster ..


Top
  E-mail  
 
Posted: Thu Apr 23, 2009 5:24 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Thu Feb 05, 2009 10:27 am
Posts: 307
great post


Top
  E-mail  
 
Posted: Fri Apr 24, 2009 7:27 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Thu Jul 06, 2006 12:57 pm
Posts: 474
About the php speedy plugin!

My experience.

This was a mess and I cant not recommend this bot ! seems not to be updated for be in running mode for J 1.5 native. After not been able to get it running good with my template the whole crashed my back end and etc ush just problems!

Having smartoptimizer and CSSJScompress working perfectly before I can just regret to test this old b o t !

Maybe I could set it up to work correctly but Smartoptimzer and CSSJCompress work perfect and fast together for me. Get the site up and running again with old settings puh!

sorry..maybe update this plg and it would be better?

_________________
Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben


Last edited by darb on Fri Apr 24, 2009 8:14 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Fri Apr 24, 2009 7:58 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Sep 27, 2006 1:47 pm
Posts: 304
darb wrote:
About the php speedy plugin!

My experience.

This was a mess and I cant not recommend this bot ! seems not to be updated for be in running mode for J 1.5 native. After not been able to get it running good with my template the whole crashed my backend and etc ush just problems!

Having smartoptimizer and CSSJScompress working perfectly before I can just regret to test this old b o t !



Same here! It crashed my site, but I was on a local server :)

May I ask why do you use CSSJScrompress? What does it do that smartoptimizer doesn't or what benefits?

Thanks :pop

_________________
http://marcobarbosa.com
http://twitter.com/marcobarbosa


Top
   
 
Posted: Fri Apr 24, 2009 9:05 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Thu Jul 06, 2006 12:57 pm
Posts: 474
M4rc0 wrote:
darb wrote:
About the php speedy plugin!

My experience.

This was a mess and I cant not recommend this bot ! seems not to be updated for be in running mode for J 1.5 native. After not been able to get it running good with my template the whole crashed my backend and etc ush just problems!

Having smartoptimizer and CSSJScompress working perfectly before I can just regret to test this old b o t !



Same here! It crashed my site, but I was on a local server :)

May I ask why do you use CSSJScrompress? What does it do that smartoptimizer doesn't or what benefits?

Thanks :pop


Well I am not sure about who doest exactly what and not but I have figured it out to work together and my site is faster with both extension together.

Also using QueryCache from Joomlaperformance.com latest nightly build.

_________________
Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben


Top
  E-mail  
 
Posted: Fri May 15, 2009 9:04 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Jan 28, 2006 11:51 pm
Posts: 561
Location: Vancouver BC
Hello,

I have smartoptimer partially working on my site. I am getting files in the cache folder, but my background images are all missing. When I look at the css in Firebug is see the path as this:
Code:
#leftcolumn div.moduletable {
background-image:url(http://domain.com/smartoptimizer/../templates/mts/css//templates/mts/images/module-bg-fixed-260.gif);

the path should just be: /templates/mts/css/images/module-bg-fixed-260.gif
Found the solution to this problem, your paths need to be relative not absolute, so have the images working now.

But the JS files are not working. I have the following in the head of my template:
Code:
 
  <script language="JavaScript" src="../../../scripts/other/MM.js" type="text/javascript"></script>
  <script language="JavaScript" src="/scripts/other/maxlength.js" type="text/javascript"></script>
  <script language="JavaScript" src="<?php echo $this->baseurl ?>/scripts/AC_RunActiveContent.js" type="text/javascript"></script>
  <script language="JavaScript" src="/scripts/other/pscroller.js" type="text/javascript"></script>

As you can see I have tried relative paths as well as absolute and fully qualified, but the JS files are not being loaded into the site. I get JS errors that it can't find the functions in the files.

Here is my .htaccess:
Code:
# SmartOptimizer Rules
#
## These rules need to be first
<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>
#
# End SmartOptimizer Rules

#php_value memory_limit 32
Options +Indexes

AddType "text/x-component" htc


##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On

#RewriteCond %{HTTP_HOST} !^staging.mtsentourage.com$ [NC]
#RewriteRule ^(.*)$ http://staging.mtsentourage.com/$1 [L,R=301]

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section


I left config.php as this:
Code:
$settings['baseDir'] = '../';

as the smartoptimizer folder is at the same level as the Joomla index.php file. The only edit I made to config.php was to change the compressionLevel to 6 from 9, everything else is set to the default.

Does anyone know why the JS is not working?

Thanks.

_________________
Laurelle
Keashly.ca Consulting
http://www.keashly.ca


Top
  E-mail  
 
Posted: Tue May 26, 2009 8:20 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sat Mar 21, 2009 7:12 am
Posts: 64
what is the benefit from making the following change in config


EmbedMaxSize = 0

servercachecheck = true or false

clientcache = true

clientcachecheck = true or false

and in the htaccess , what happens if i uncomment this : # RewriteBase /


and also...after using this solution, my total http requests have not decreased ? is there something wrong ?

my site is http://www.animefushigi.com . can someone check how i can decrease total http request ?

EDIT *** A strange thing here...

this began happening since i started using smart optimization.

In my sh404sef 404 logs, i am seeing these strange long urls

here is a pic : http://i43.tinypic.com/dgicgj.jpg


Top
  E-mail  
 
Posted: Tue May 26, 2009 9:12 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Dec 13, 2005 10:57 am
Posts: 181
Location: Los Angeles
Hi There,

I would appreciate a solution for this attached error message...

Thank you


You do not have the required permissions to view the files attached to this post.

_________________
http://www.iChoson.com
-------------------------------------------
Joomla 1.5.13


Top
   
 
Posted: Wed May 27, 2009 1:21 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Jan 14, 2007 1:18 pm
Posts: 54
Location: Paris
Hi,

as I don't use com_community I can't tell you on which file you must check the bad formatted path call.

But for example, those who have this issue (a bug in jomcomment):
Quote:
File Not Found: /www/administrator/plugins/system/pc_includes/ajax_1.2.js


Must edit: azrul.system.php in the folder: plugins/system/

Then find:
Code:
$jax   = new JAX( AZRUL_SYSTEM_LIVE . '/pc_includes' );


And replace by:
Code:
//$jax   = new JAX( AZRUL_SYSTEM_LIVE . '/pc_includes' );
$jax   = new JAX( JURI::root() . 'plugins/system/pc_includes' );


This is the same type of error for you, a bad path call, just find the line of code that normally call the messaging-1.0.js to correct it.

_________________
Joomla 1.5.10 Fr/En


Top
   
 
Posted: Wed May 27, 2009 8:57 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Jan 14, 2007 1:18 pm
Posts: 54
Location: Paris
viesta wrote:
what is the benefit from making the following change in config
EmbedMaxSize = 0

I think there's no benefits to put this at 0, because one file will use more CPU time

Quote:
servercachecheck = true or false

This is well explain in the comment line
//if you change it to false, the files will not be checked for modifications and always cached files will be used (for better performance)

Quote:
clientcache = true

Use or not the brower's cache of the client

Quote:
clientcachecheck = true or false

//Setting this to false will force the browser to use cached files without checking for changes.

Quote:
and in the htaccess , what happens if i uncomment this : # RewriteBase /

Nothing, if your site is in the standard root

Quote:
and also...after using this solution, my total http requests have not decreased ? is there something wrong ?

With an empty cache you got HTTP Requests - 33 and Total Weight - 427.2K
But with primed cache : HTTP Requests - 4 and Total Weight - 6.9K
All normal here

Quote:
EDIT *** A strange thing here...

this began happening since i started using smart optimization.

In my sh404sef 404 logs, i am seeing these strange long urls

here is a pic : http://i43.tinypic.com/dgicgj.jpg


Don't be afraid, those files are just the obfuscated css image (on base 64), that's one of the smartoptimzer jobs.

_________________
Joomla 1.5.10 Fr/En


Top
   
 
Posted: Thu May 28, 2009 5:04 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Jan 28, 2006 11:51 pm
Posts: 561
Location: Vancouver BC
Hello SiriusOCT,

Do you have any idea why smartoptimizer would not be finding/including my JS files? Is there any particular server requirements that you need to have to get the JS to work that the CSS doesn't need? See my post up about 5 messages. The CSS works, the cache has files in it, but the JS files in my head are not being included properly as I get JS errors that the functions in the files are not being found.

Thank you for your help,
Laurelle

_________________
Laurelle
Keashly.ca Consulting
http://www.keashly.ca


Top
  E-mail  
 
Posted: Fri May 29, 2009 6:59 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Jan 09, 2009 3:16 pm
Posts: 391
Over time I had managed to get my joomla site to speed up, but I am considering this optimizer.

_________________
Owner of "Banquet Tables Pro" Built on Joomla & Virtuemart


Top
   
 
Posted: Sun May 31, 2009 1:05 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Mar 06, 2009 7:21 pm
Posts: 19
abrar226 wrote:
yes it works with monolingual.
but, if someone got solution of smartoptimizer with joomfish, please share with us.


I have SmartOptimizer on my site with Joomfish
If you have SEF enabled it works.

_________________
-- Jossi
http://emandtee.com/blog/

Signature rules: Literal URLs only - viewtopic.php?f=8&t=65


Top
  E-mail  
 
Posted: Sun Jun 07, 2009 12:58 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri May 02, 2008 2:53 am
Posts: 16
Location: Ohio, USA
I've installed SO and it's working nicely with one exception.

JCE is my default editor. When I open an article and subsequently click on the Edit Code icon, I get the following three pop up messages in succession.

SmartOptimizer Error: File not found (../tiny_mce_popup.js).

SmartOptimizer Error: File is out of base directory.smartoptimizer/js/advcode.js

SmartOptimizer Error: File is out of base directory.smartoptimizer/js/codemirror.js

Somewhat, by chance, I found that the file, plugins/editors/jce/tiny_mce/plugins/advcode/advcode.html contained the following relative path references (labeled Original) which I changed to full path references.

Original:
<script type="text/javascript" src="tiny_mce/tiny_mce_popup.js"></script>

Changed to:
<script type="text/javascript" src="../../plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script>

Original:
<script type="text/javascript" src="js/advcode.js"></script>

Changed to:
<script type="text/javascript" src="../../plugins/editors/jce/tiny_mce/plugins/advcode/js/advcode.js"></script>

Original:
<script type="text/javascript" src="js/codemirror.js"></script>

Changed to:
<script type="text/javascript" src="../../plugins/editors/jce/tiny_mce/plugins/advcode/js/codemirror.js"></script>

As a result of the change, I no longer get the pop up messages, although the Edit Code window remains blank or empty as

it did before with no trace of any html code.

Not sure what to do next or whether my modification is even correct. Any help is appreciated!

Thanks in advance!

Craig

_________________
Instant Broadband Quotes & Availability online for DSL, Cable, Cellular, T1, Managed Ethernet, MPLS, SIP Trunking & more at http://www.best-t1.com. USA only.


Top
  E-mail  
 
Posted: Mon Jun 08, 2009 8:40 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Mar 08, 2009 7:54 am
Posts: 1
I have just change hosting and transfered my domain ( in two languages) . As suggested by my previous hosting company, I have optimised automaticly each file of mysql database before this transfer because cpu time was not so long or my big database.

Is this optimisation may the reason of following error message that I have meet after thre transfer of web site on new server . "Error loading feed data"

What is your suggestion to solve this problem. Is joomfish translation module is corrupted or dont match with right data , dont found it

Translation windows of joomfish show only 10 data and coudnt found other content accessible in primary language.




Have a backup of all content in 2 languages ( 2 months old). Is it good idea to delete joomfish and redownload . it and transfer content of previous backup ?


Top
  E-mail  
 
Posted: Tue Jun 09, 2009 3:28 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jun 09, 2009 7:51 am
Posts: 28
Have you successfully used PHP Speedy with Joomla 1.5.11 ?


Top
  E-mail  
 
Posted: Sat Jun 13, 2009 7:24 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Feb 14, 2008 12:11 am
Posts: 29
I get this error on almost everpage except de homepage:

Code:
De pagina op http://salsa.panama-hat-central.com meldt:SmartOptimizer Error: File is out of base directory.index.php/lothar-ranft-Cat/sercio-1.html

SmartOptimizer Error: File not found (../index.php/Parque-Virtual.html).


I read the thread but I still cant figure it out.

Here is a link http://salsa.panama-hat-central.com/index.php/lothar-ranft-Cat/sercio-1.html

Any ideas?

Thanks very much!


Top
  E-mail  
 
Posted: Sat Jun 13, 2009 7:35 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Jan 14, 2007 1:18 pm
Posts: 54
Location: Paris
hi sweet160

what kind of SEF Rewriter are you using ?

it seems like a wrong configuration of your sef component or a wrong rule in your htaccess, because you shouldn't have an "index.php" in your URI rewrite before the rest of it.

This link of your site is ok:
http://salsa.panama-hat-central.com/lot ... cio-1.html

_________________
Joomla 1.5.10 Fr/En


Top
   
 
Posted: Sat Jun 13, 2009 7:42 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Feb 14, 2008 12:11 am
Posts: 29
Hi SiriusOCT,

I am using sh404sef to make the urls more SEO friendly.

this is my htacces file, I tried to change the RewriteBase into RewriteBase /salsa because its on that subdomain. But it didnt inprove anything.

Would it be a setting in sh404sef?


Code:
##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On
<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>


########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

#RewriteBase /salsa


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section


Thanks for the kind help!


Top
  E-mail  
 
Posted: Sat Jun 13, 2009 7:50 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Feb 14, 2008 12:11 am
Posts: 29
Ok,

Thanks for putting me on the right track!

I rechecked my sh404sef settings and I just had to activate the .htacces file in that component.

now my front end is working great. And fast I get a C with a 79 Yslow score.

There is just one more thing in the backend I get this error
Code:
SmartOptimizer Error: File is out of base directory.administrator/plugins/system/rokbox/rokbox.js


thanks,
Jo


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 186 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

Quick reply

 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group