test
Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • lindaneale Friend
    #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 thanks

    Sherlock Friend
    #247896

    Hi lindaneale !
    Please send me htaccess.txt file in your server.

    lindaneale Friend
    #247906

    <em>@hainn84 51899 wrote:</em><blockquote>Hi lindaneale !
    Please send me htaccess.txt file in your server.</blockquote>
    Hi Hainn

    Here 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 use

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

    Hope you can spot something.
    Many thanks

    nathanbohn Friend
    #249150

    any solution to this?

    lindaneale Friend
    #249188

    HI
    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.

    surrey Friend
    #249277

    I 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;">

    lindaneale Friend
    #249292

    Thank 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.
    Thanks

    surrey Friend
    #249318

    Thanks 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!

    lindaneale Friend
    #249362

    Hi 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
    Linda

    Pierre van Lier Friend
    #249402

    Thank you very much for this workaround. Works like a breeze!

    serendip Friend
    #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.

    heidi Friend
    #250313

    Surrey, this fix was a life-saver. Fast, easy, and works like a charm.

    THANK YOU!

    utcbraz08 Friend
    #250516

    Hello – 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

    surrey Friend
    #250639

    What’s the actual domain? I don’t use the font-size tools, will look @ yours to see what the problem may be..

    utcbraz08 Friend
    #250641

    Hello Surrey

    http://www.utc000.at/

    thanks – Wolfi

Viewing 15 posts - 1 through 15 (of 18 total)

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