-
AuthorPosts
-
May 5, 2008 at 3:24 pm #128232
My header images disappear when I turn on sef urls. I’ve seen the previous threads and tried the fixes but they don’t work for me. I’m using Joomla 1.5.3 with Mageia 1.1 for Joomla 1.5.
It’s only a 6 page simple site with Chronoforms component loaded and a 2 image slideshow in the left sidebar. I’ve amended the header to display over the full width and I’m not using the Newsflash module. No other modifications. Unlike the previous reports, my header doesn’t appear on any of the pages when sefs are on.
Can someone please help? This is my first foray into J1.5 but I have used Mageia twich before on Joomla1.3 without a problem.
Many thanksSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 6, 2008 at 4:23 am #247896Hi lindaneale !
Please send me htaccess.txt file in your server.May 6, 2008 at 6:03 am #247906<em>@hainn84 51899 wrote:</em><blockquote>Hi lindaneale !
Please send me htaccess.txt file in your server.</blockquote>
Hi HainnHere it is:
##
# @version $Id: htaccess.txt 9975 2008-01-30 17:02:11Z 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 useRewriteEngine On
# 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 .* –
#
########## End – Joomla! core SEF Section########## 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_{1,21}(=|%3D)
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*)
# 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,2})
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|{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 exploitsHope you can spot something.
Many thanksnathanbohn Friendnathanbohn
- Join date:
- March 2006
- Posts:
- 230
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 9 times in 1 posts
May 14, 2008 at 7:56 pm #249150any solution to this?
May 15, 2008 at 5:49 am #249188HI
No one seemed to have an answer so all I can do it rebuild the site using Joomla 1.0 instead of 1.5. Pity.May 15, 2008 at 5:33 pm #249277I fixed this a while ago and notified webmaster@joomlart.com to fix it. The bug is subtle.
Problem: relative urls are used for the header images; submenu items do not work when SEF is enabled on Joomla 1.5.x.
Changing the relative to absolute URLs will fix your problem. Download Mageia 1.1, open index.php in your editor (pref. Notepad++) and look for this line:
<div id="ja-header" style="background: url(templates/<?php echo $JAconfig->template."/images/header/". $JAconfig->ja_color ."/". $ja_header_img;?>) no-repeat top right;">
You’ll need to change it to this:
<div id="ja-header" style="background: url(<?php echo JURI::base();;?>templates/<?php echo $JAconfig->template."/images/header/". $JAconfig->ja_color ."/". $ja_header_img;?>) no-repeat top right;">
5 users say Thank You to surrey for this useful post
May 15, 2008 at 7:07 pm #249292Thank you so much for your fix. I’ll try it out tomorrow. It’s very kind of you to take the time and trouble – I appreciate it.
ThanksMay 15, 2008 at 11:04 pm #249318Thanks for the kind words lindaneale. Please let me know if that fixes the problem – it certainly worked for me. Apparently the J!1.0.x version is also afflicted by this bug.
Cheers!May 16, 2008 at 5:46 am #249362Hi Surrey
You’re a star! It worked! Thank you very much. It seems that lots of other people are having the same problem so your help should assist many.
Top marks for accuracy and generosity.
Thanks
LindaPierre van Lier FriendPierre van Lier
- Join date:
- April 2015
- Posts:
- 57
- Downloads:
- 41
- Uploads:
- 10
- Thanks:
- 19
- Thanked:
- 1 times in 1 posts
serendip Friendserendip
- Join date:
- May 2008
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
May 22, 2008 at 3:13 pm #250144<em>@pierke 53787 wrote:</em><blockquote>Thank you very much for this workaround. Works like a breeze!</blockquote>
thank you also. i had the same problem and it works perfect !!! so glad about that.
May 23, 2008 at 3:14 pm #250313Surrey, this fix was a life-saver. Fast, easy, and works like a charm.
THANK YOU!
May 26, 2008 at 12:31 am #250516Hello – this fix is wunderfull
but….
Now I have the same problem with the Symbols for the font-size AAA
They are only present by the Main-Domain as “www.test.at”
Wenn i surved with the Navigation sample as “www.test.at/index.php/home”
the Font-Size Symbols are not present.You have an Idea?
lg Wolfi
May 26, 2008 at 8:11 pm #250639What’s the actual domain? I don’t use the font-size tools, will look @ yours to see what the problem may be..
May 26, 2008 at 8:19 pm #250641 -
AuthorPosts
This topic contains 18 replies, has 8 voices, and was last updated by surrey 16 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum