The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
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  [ 14 posts ] 
Author Message
PostPosted: Sat Mar 04, 2006 5:18 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Sep 03, 2005 11:19 pm
Posts: 14
Upgraded to 1.0.7 a couple of weeks ago, I guess.  Was surprised to be informed by a visitor to my site tht she was receiving a 404; it was working fine for me and had been ever since the update to 1.0.7.  But she was getting:

My Website Name
We're sorry but the page you requested could not be found.
Return to site
error 404

Then I noticed that the bookmark I was using directed me to:
    http://www.my site.com/index.php

whereas she was typing
    http://www.my site.com

in her browser's address bar.  When I did the same, I got the 404, too.

I played around with a version of .htaccess I found here in the forums while still at 1.0.7, but found I had to disable SEF URLs in order to get the site to come up.  Then I noticed that 1.0.8 was available and so upgraded and put its .htaccess file in play.  Still the same -- SEF URLs have to be off to access the site.  I notice that my Who's Online component is intermittent, and when displaying the number of guests/visitors, it would appear all traffic to my site has evaporated.  Google Ads have also reverted to the state they were in when I first brought them up (hurricane relief public service ad only)

Information on this situation seems pretty convoluted.  I cannot determine what I must do to correct the issue.  Can someone please discuss the solution? 

The site is hosted at PowWeb running Apache 1.3.33.

Thanks.

_________________
The soundtrack for your awesome life.
Girls Rock Radio
The finest contemporary Pop, Rock, and Alternative music from today's awesome All-Girl and Girl-Fronted Bands.


Last edited by Mot on Sat Mar 04, 2006 5:26 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sat Mar 04, 2006 10:33 pm 
Joomla! Ace
Joomla! Ace

Joined: Wed Jan 25, 2006 8:46 am
Posts: 1091
Could you show us the .htaccess.

_________________
http://www.provisionstudio.com - Professional webdesign and IT Services


Top
 Profile  
 
PostPosted: Sat Mar 04, 2006 11:53 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Sep 03, 2005 11:19 pm
Posts: 14
Yes.  It is the one that ships with the 1.0.7 to 1.0.8 update.

##
# @version $Id: htaccess.txt 2368 2006-02-14 17:40:02Z stingrey $
# @package Joomla
# @copyright Copyright (C) 2005 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.
#
# Only use one of the two SEF sections that follow.  Lines that can be uncommented
# (and thus used) have only one #.  Lines with two #'s should not be uncommented
# In the section that you don't use, all lines should start with #
#
# For Standard SEF, use the standard SEF section.  You can comment out
# all of the RewriteCond lines and reduce your server's load if you
# don't have directories in your root named 'component' or 'content'
#
# If you are using a 3rd Party SEF or the Core SEF solution
# uncomment all of the lines in the '3rd Party or Core SEF' section
#
#####################################################

#####  SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
# SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented.  If you are running your Joomla/Mambo from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line.  For example, if your Joomla/Mambo is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################


##  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/MamboDirectory (just / for root)

# RewriteBase /


########## Begin Standard SEF Section
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## End Standard SEF Section


########## Begin 3rd Party or Core SEF Section
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## End 3rd Party or Core SEF Section

_________________
The soundtrack for your awesome life.
Girls Rock Radio
The finest contemporary Pop, Rock, and Alternative music from today's awesome All-Girl and Girl-Fronted Bands.


Top
 Profile  
 
PostPosted: Sun Mar 05, 2006 12:18 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Sep 03, 2005 11:19 pm
Posts: 14
Okay, I believe I have got the site working again.  Thanks Apollo for forcing me to post the .htaccess, which inspired me to actually read the silly thing.  :-[

It's working because I commented out the "Standard SEF Section" and un-commented the "3rd Party or Core SEF Section"  Now if someone could please give me the 411 on Standard vs 3rd Party or Core, I'd feel a lot better about what I've just done.

And by the way, WOW!  The site loads an order of magnitude faster than ever before!

_________________
The soundtrack for your awesome life.
Girls Rock Radio
The finest contemporary Pop, Rock, and Alternative music from today's awesome All-Girl and Girl-Fronted Bands.


Top
 Profile  
 
PostPosted: Tue Mar 07, 2006 7:51 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Feb 10, 2006 10:37 am
Posts: 24
lol, i would just like to add i was having a major headache today after a full install to 1.0.8, no SEF for me, even though i was just running a previous version of joomla wirh SEF enabled on that host...

???

Long story short, i end up here with a quick search for SEF issues, opened my eyes and read the .htaccess properly...
...and i realised i must comment out 'Options FollowSymLinks'...bang, im back in business.

;D

Sometimes i miss the most basic of instructions...i really have to pay more attention to the instructions.

:P  :-[


Top
 Profile  
 
PostPosted: Tue Mar 07, 2006 7:57 am 
Joomla! Explorer
Joomla! Explorer

Joined: Mon Sep 19, 2005 8:49 pm
Posts: 268
Location: Empangeni, South Africa
Could some pls send me a .httaccess file or explain what I need to take out or replace? I'm also having the same problems in 1.0.8 with SEF.

_________________
Web Energy - Website Designs and Joomla Development in Empangeni, South Africa - http://www.webenergy.co.za


Top
 Profile  
 
PostPosted: Tue Mar 07, 2006 8:12 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Feb 10, 2006 10:37 am
Posts: 24
justinw wrote:
Could some pls send me a .httaccess file or explain what I need to take out or replace? I'm also having the same problems in 1.0.8 with SEF.


What i did was change this part of the htaccess here:

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


I commented it out like it says, to look like this instead:

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


And then it worked.

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.


Top
 Profile  
 
PostPosted: Tue Mar 07, 2006 8:18 am 
Joomla! Explorer
Joomla! Explorer

Joined: Mon Sep 19, 2005 8:49 pm
Posts: 268
Location: Empangeni, South Africa
Yay I did what Mot said and it worked! Are you sure it's safe to do this? Hopefully nothing will go wrong!

_________________
Web Energy - Website Designs and Joomla Development in Empangeni, South Africa - http://www.webenergy.co.za


Top
 Profile  
 
PostPosted: Tue Mar 07, 2006 2:34 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Sep 03, 2005 11:19 pm
Posts: 14
justinw wrote:
Yay I did what Mot said and it worked! Are you sure it's safe to do this? Hopefully nothing will go wrong!


Justin, I don't think anything will go wrong, but I'll reiterate that I'd appreciate anyone who could comment on the difference between "Standard" and "3rd Party or Core" SEFs.  I always feel better knowing why I've done something that works.

I did continue to have apparent problems with the Who's Online module and so I started another thread  here.  The response I got was interesting if not somewhat discouraging.  But it was an answer that I was able to come to grips with.

_________________
The soundtrack for your awesome life.
Girls Rock Radio
The finest contemporary Pop, Rock, and Alternative music from today's awesome All-Girl and Girl-Fronted Bands.


Top
 Profile  
 
PostPosted: Tue Mar 07, 2006 6:51 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Tue Nov 22, 2005 6:35 am
Posts: 86
Location: Victoria - Canada
I have played with the .htaccess (according to what I have read above) -- yet I still get
" You are not authorized to view this resource.
                You need to login."

on Mamblog URL's like:

http://www.mysite.com/content/view/321/

but not on URLs like -

http://www.mysite.com/content/view/338/156/

Why? Or does this not have anything to do with SEF?

Colin

_________________
Editor-Creator http://www.coffeecrew.com | dxer.ca | BobHarris.Com


Top
 Profile  
 
PostPosted: Tue Mar 07, 2006 7:19 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Tue Nov 22, 2005 6:35 am
Posts: 86
Location: Victoria - Canada
fixed --

seems to be a "Mamblog" issue.

Moving all my "Mamblog" items to standard content items.

_________________
Editor-Creator http://www.coffeecrew.com | dxer.ca | BobHarris.Com


Top
 Profile  
 
PostPosted: Tue Mar 28, 2006 9:59 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Mar 28, 2006 9:57 pm
Posts: 4
this solution has not workd for me. Anyone else still having problems. I have 9 other Joomla sites, but this is the only 1.0.8 one I have. what has been changed to make this so buggy.


Top
 Profile  
 
PostPosted: Tue Apr 11, 2006 6:32 pm 
Joomla! Intern
Joomla! Intern

Joined: Fri Dec 30, 2005 7:52 pm
Posts: 56
Try this

Replace this line with

Options FollowSymLinks



This 

Options +FollowSymLinks



I added + sign and it worked for me...withtou+ it doesnt...

Keeping backup of previous htaccess was a good choice.. ;) helped me compare what was working before


Top
 Profile  
 
PostPosted: Mon Jan 02, 2012 12:44 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Feb 15, 2011 12:27 pm
Posts: 4
i actualy commented out from "components/com_content/router.php" the following lines

//require_once(JPATH_COMPONENT.DS.'controller.php');
//require_once(JPATH_COMPONENT.DS.'helpers'.DS.'query.php');
//require_once(JPATH_COMPONENT.DS.'helpers'.DS.'route.php');

and everything seems to be working fine with sef. I am not sure if i did the correct thing or if i have any sideefects in the futre. But for now everything seems to be working.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 



Who is online

Users browsing this forum: No registered users and 2 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® Forum Software © phpBB Group