Joomla! Discussion Forums



It is currently Fri Nov 27, 2009 12:37 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 ... 3, 4, 5, 6, 7
Author Message
Posted: Sat Oct 10, 2009 2:45 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Sat Apr 22, 2006 3:09 pm
Posts: 65
my joomla root folder is: public_html

I installed smartoptimizer and it works very well
When I installed gallery3 on public_html/gallery3 I alway get error "Smartoptimizer Error: File is out of base directory "

How I pass this error or make smartoptimizer do not effect to gallery3 folder ???

I tried to read 3 first pages but did not know how to fix this proplem .

Thanks for your help .


Top
  E-mail  
 
Posted: Wed Oct 21, 2009 5:36 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Fri Aug 14, 2009 6:51 am
Posts: 3
Im a little confused here. So I have my joomla installed in a folder called main. I changed my RewriteBase /main/ and $settings['baseDir'] = '../main';
Then added RewriteCond %{REQUEST_FILENAME} !/templates/ja_purity/template_css.css$ in here:
Code:
<IfModule mod_expires.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} !certainfile\.js$
RewriteRule ^(.*\.(js|css|html?|xml|txt))$ smartoptimizer/?$1
</IfModule>

Nothing appears in cache. And cache has write access. Am I missing a step?


Top
  E-mail  
 
Posted: Fri Oct 30, 2009 2:02 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Jan 08, 2009 5:35 pm
Posts: 10
First let me say I LOVE this solution. Very well done. It took my Yslow page from a 54 to 84 without doing anything more. I'm running a RocketTheme template and tons of extensions and this is a savior for me.

The problem I'm having is my images are disappearing on pages. When you first browse to the page, they are all there. If you refresh the page, they are gone. And the logo image that always should link back to the home page changes to just reload the current page.

It does not happen on all pages, and when I clear the admin cache and do a page refresh, they all show up again.

Running J 1.5.14 on apache, php v5??, with SO and se404SEF and SEF turned on.

I'm not sure how to solve this issue. Is anyone else having this problem?

Any help would be really appreciated.


Top
  E-mail  
 
Posted: Sun Nov 15, 2009 8:03 pm 
Joomla! Fledgling
Joomla! Fledgling
Online

Joined: Sun Nov 01, 2009 9:42 pm
Posts: 2
Hi SiriusOCT,
I have tried to install SmartOptimizer on diferent joomla sites that I have and it doesn't work for me. I follow the instructions "upload the unzipped SmartOptimizer in my root directory, modify the htaccess" but when I go to cache folder of S O there is nothing in there.

Any Sugestions?

Link to one of my sites http://www.edpaintingonline.com


Top
  E-mail  
 
Posted: Mon Nov 16, 2009 8:06 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Aug 19, 2008 5:25 am
Posts: 8
SiriusOCT wrote:
Oh ok,

that's probably because you've got a plugin or a component that can't get he's own path so the URI for him is wrong.

Replace the index.php of S.O with this one attached (unzip first) and then when you will have the popup again, you will see wich file exactly got the problem. So check this and tell me what the popup exactly say.

Attachment:
index.zip


Can you please post the additional query that shows the URL that is wrong. I wasn't able to download this file and and I've been all through this post trying to get it. If you can just post the additional code, I can add it to my index.php file.

Thanks


Top
  E-mail  
 
Posted: Tue Nov 17, 2009 10:48 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Aug 19, 2008 5:25 am
Posts: 8
Okay I think I figured it out in case anyone else need to troubleshoot the error message on the backend. So if you replace the following line of code in index.php around line 121:
Code:
if (strpos(realpath($fileDir), realpath($settings['baseDir'])) !== 0) debugExit("File is out of base directory.");

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

Then the error message will give you a bit more help.


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

Quick reply

 



Who is online

Users browsing this forum: No registered users and 10 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