sh404SEF Upgrade

E-mail Print PDF

Just spent a few hours upgrading my sh404SEF component to the latest. Got the email there was a serious security flaw that opened up the site for blind SQl injections so I decided the upgrade. I followed the instruction at http://dev.anything-digital.com/Forum/Announcements/9100-Urgent-sh404SEF-security-release-Joomla-1.5/ to the letter to upgrade from a Joomla! 1.5 sh404SEF 1.5.x version.

I backed up the database, backed up all files and made a backup of the jos_redirection table in case something went wrong. Then I uninstalled the component in J! offline mode and installed the latest version com_sh404sef2_2.1.8.777 . I got a warning that kunera.php was not installed and my whole menu disappeared. Here the errors

 

JInstaller::install: Failed to copy file: 
/var/www/vhosts/domain.com/httpdocs/tmp/install_4cf4d3b27a220/admin/language/plugins/com_kunena.php 
to /var/www/vhosts/domain.com/httpdocs/administrator/components/com_sh404sef/language/plugins/com_kunena.php

Accessibility issues

Well I reloaded admin and sh404sef seemed to have been installed and running. Asked a question on the sh404sef forum, but have not gotten any answers there so far. The only issues I had - at least I thought I had only - were that several files were not writable and were causing issues.

Unable to access
administrator/components/com_sh404sef/custom.sef.php   Unwriteable
administrator/components/com_sh404sef/logs   Unwriteable
administrator/components/com_sh404sef/security   Unwriteable
components/com_sh404sef/cache   Unwriteable

So I adjusted that. Still sh404sef kept saying some were still not writable which was not true. More writable than CHMOD 777 is not possible now is it? Well except for the config file that does still not seem to allow itself to be written by the server all else seemed to be OK at that moment.

URL Format

Other issue was that .html was appended and not all pretty urls were with lower case letters. Changing that in configuration had no result whatsoever. This despite the fact that the config was writable. I made it CHMOD 777 which I only do when it is really necessary.

 

Manual adjustment configuration

  In the end I winded up manually editing the configuration file @ /admin/components/com_sh404sef/confic/config.sef.php , uploading it to the server, purging the urls and emptying my browser cache. These lines were important:

$suffix = ''; //no suffix such as the standard .html
$LowerCase = true; // yes all lower case
$ShowSection = '1'; // yes I want sections to be added!

With these I had sections added to urls, all lower case urls and no .html appended to urls.

Now all is peachy.

 

Last Updated ( Tuesday, 30 November 2010 16:56 )  

Add comment


Security code
Refresh

jTweet

Follow me on twitter
You are here: Home Joomla! sh404SEF Upgrade