Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

JoomSEF upgrade problems
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: JoomSEF upgrade problems

JoomSEF upgrade problems 16 years, 11 months ago #3543

Hello,

I'm having some trouble upgrading my copy of JoomSEF.

After installing the latest version, I get 404 not found for all pages except the home page. I've read the FAQ and checked my .htaccess file - the page names are correct, but the content isn't there.

Any advice would be appreciated - I hope I have not overlooked something obvious.

The site is at devsandbox.tfs.ca

.htaccess file looks like this:

##
# @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 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! from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line. For example, if your Joomla! 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! Directory (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

########## 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 tag in URL
RewriteCond %{QUERY_STRING} (Ä|%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

Re:JoomSEF upgrade problems 16 years, 11 months ago #3546

  • miun
  • OFFLINE
  • A pesimist is just a well-informed realist.
  • Posts: 563
Hello,
unfortunatelly you do not write from what version to which version you have upgraded and how (using online update or manually)?
Maybe there is/was some problem with URL conversion. I would suggest you to backup existing URL and try to purge all of them to see, if the problem lasts after they are regenerated. If it will be okay after that, then probably the update process failed somehow.
ARTIO Support Team

Re:JoomSEF upgrade problems 16 years, 11 months ago #3556

I'm not sure whether it is a problem with the URL conversion or not - there are a couple of issues.

I tried to upgrade from 1.2.4 to 1.5 - after using the URL conversion script. The script didn't work I don't think - and the upgrade didn't work either. So I deleted the database tables, uninstalled the component, and tried to reinstall fresh starting at 1.3.1 - so I could use the online upgrade utility. Still no luck.

All of this is not too critical as it is on a test server - however I don't know how to get from the version of 1.2.4 that I have on my live site - to a current version. All the generated URLs we have are indexed by search engines etc. so I need to find a way to do this without losing all our URLs.

Any thoughts?

Are there detailed upgrade instructions anywhere that I've overlooked? i.e. should I be turning off SEF in the global config before doing an upgrade? Should I be uninstalling the old version first, or just over-writing with the upgrade version?

Thanks for your help.

Odp.:JoomSEF upgrade problems 16 years, 11 months ago #3563

  • Lws
  • OFFLINE
  • Posts: 4
To by mě taky zajímalo jak mám upgradovat. Mám verzi 1.4.0 a návod, nějak postrádá význam. Můžete rozepsat kde použít ten script? Protože at zkouším nahrávat přes upgrade v joomsef script nebo novou verzi nic se neděje.

Re:Odp.:JoomSEF upgrade problems 16 years, 11 months ago #3575

  • miun
  • OFFLINE
  • A pesimist is just a well-informed realist.
  • Posts: 563
The version 1.2.x and 1.3.x may still have problems with automated upgrade. In that case, I would suggest to replace it manually with code of version 1.5.x and then try to upgrade to 2.x.

manually replace = unpack the distribution file (you can get older version in our archive) and rewrite files in dirs components/com_sef and administrator/components/com_sef.

Then upgrading should work, and by upgrading from 1.5.x to 2.x, your URLs should be auto-reformatted.

Please note, that the after manually replacing the files with 1.5, the site may not work, but it should after upgrade to 2.x (and you should be able to do the update).

Please note also, that after upgrade from 1.5.x to 2.x, you may need to upgrade some of the extensions as well. (check the update list again right after you upgrade to 2.x)

Regards,
michal
ARTIO Support Team

Re:Odp.:JoomSEF upgrade problems 16 years, 8 months ago #4028

Hi Michal,

Thanks for your reply. I have done the upgrade as you recommended, however it did not retain my URLs. I recall reading that pre-1.3.x URLs would need to be converted before upgrading, and as I mentioned I didn't have much luck with the script for that.

Any advice on how I can get to the current version without losing all my URLs?

Thanks again,
  • Page:
  • 1
User Login Empty