Webmastersite.net
Register Log In

New problem - since upgrade

Comments on New problem - since upgrade

Joanna
Member

Usergroup: Customer
Joined: Jan 06, 2009

Total Topics: 4
Total Comments: 18
Joanna
Posted Jan 28, 2009 - 10:40 AM:

I feel like i'm doing something wrong with this software - It seems I keep breaking it!

anyway, I updated the software a couple of days ago (NOT using the auto installer) since then whenever I make certain change via the admin system (like turning switches on and off) the site gets internal server error.

I've traced this to my .htaccess file. luckily I downloaded the whole site before the update so i'm able to just re-upload the old version of the .htacess file and everything is back up and running again - obviously though this isn't exactly a great solution.

I've compared the old file verses the new and several things are different. I'm not an expert on htacess files though so i can't see why its breaking.

Below is the code for the files if it's any help


OLD
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]
redirect 301 /horse_&_carriage.htm /transport-hire/horse-and-carriage-hire
redirect 301 /fun_casinos.htm /event-equipment/mobile-casino
redirect 301 /lookalikes.htm /event-equipment/lookalikes
redirect 301 /menswear.htm /clothes-and-accessories/menswear
redirect 301 /childrens_entertainers.htm /children-and-kids-entertainers
redirect 301 /furniture.htm /furniture-hire
redirect 301 /motorhomes.htm /transport-hire/motor-homes
redirect 301 /unusual_items.htm /unusual-and-others
redirect 301 /mobile_bar.htm /event-equipment/mobile-bars
redirect 301 /helicopters.htm /transport-hire/helicopter-hire
redirect 301 /wedding_dresses.htm /wedding-services
redirect 301 /vans.htm /transport-hire/van-hire
redirect 301 /boats.htm /transport-hire/boat-hire
redirect 301 /menswear.htm /clothes-and-accessories/suit-hire-and-menswear
redirect 301 /musicians.htm /event-equipment/musicians
redirect 301 /funfairs2.htm /event-equipment/fun-fairs
redirect 301 /musicians1.htm /event-equipment/musicians
redirect 301 /dressmakers.htm /clothes-and-accessories/dressmakers
redirect 301 /narrow_boats.htm /transport-hire/boat-hire
redirect 301 /mobile_discos1.htm /event-equipment/dj-and-mobile-discos
redirect 301 /catering1.htm /entertainment/catering-suppliers
redirect 301 /motor_bikes.htm /transport-hire/motorbikes
redirect 301 /nannies.htm /people-hire/nannies
redirect 301 /coaches.htm /transport-hire/coach-hire
redirect 301 /dancers.htm /entertainment/dancers
redirect 301 /marquees.htm /wedding-services/marquee-hire
redirect 301 /trailers.htm /transport-hire/trailers
redirect 301 /au_pairs.htm /people-hire/nannies
redirect 301 /caravans.htm /transport-hire/caravan-hire
redirect 301 /bicycles.htm /transport-hire/bicycle-hire
redirect 301 /furniture.htm /furniture-hire
redirect 301 /limousines.htm /transport-hire/limousine-hire
redirect 301 /pet_minders.htm /people-hire/pet-minders
redirect 301 /sports_cars.htm /transport-hire/sports-car-hire
redirect 301 /soundalikes.htm /event-equipment/lookalikes
redirect 301 /bands_groups.htm /event-equipment/musicians
redirect 301 /audio_visual.htm /event-equipment/audio-and-visual
redirect 301 /house_sitters.htm /people-hire/house-sitters
redirect 301 /tree_surgeons.htm /people-hire/tree-surgeons
redirect 301 /wedding_venues.htm /wedding-services
redirect 301 /bouncy_castles.htm /children-and-kids-entertainers/bouncy-castle-hire
redirect 301 /public_speakers.htm /event-equipment/public-speakers
redirect 301 /portable_toilets.htm /event-equipment/portable-toilets
redirect 301 /event_organisers.htm /people-hire/event-organisers
redirect 301 /portable_toilets1.htm /event-equipment/portable-toilets
redirect 301 /employment_agencies.htm /people-hire/employment-agencies
redirect 301 /after_dinner_speakers1.htm /event-equipment/public-speakers
RewriteRule ^clothes-and-accessories/suit-hire-and-menswear$ index.php?rewritten=1&action=displaycat&catid=145
RewriteRule ^venue-hire/?$ index.php?rewritten=1&action=displaycat&catid=180
RewriteRule ^venue-hire/?$ index.php?rewritten=1&action=displaycat&catid=181

RewriteRule ^admin/?$ admin/index.php

RewriteRule ^members/([0-9]+).html?$ memberlist.php?rewritten=1&page=$1

RewriteRule ^members/([-_/+A-Za-z0-9]+)-([0-9]+)-trader.html?$ trader.php?rewritten=1&id=$2
RewriteRule ^members/([-_/+A-Za-z0-9]+)-([0-9]+).html?$ memberlist.php?rewritten=1&action=profile&id=$2
RewriteRule ^members/?$ memberlist.php?rewritten=1
RewriteRule ^help/?$ help.php?rewritten=1
RewriteRule ^help/([-_/+A-Za-z0-9]+)/?$ help.php?rewritten=1&action=showcat&name=$1
RewriteRule ^help/([-_/+A-Za-z0-9]+)/([-_/+A-Za-z0-9]+)-([0-9]+).html?$ help.php?rewritten=1&action=showitem&id=$3


RewriteRule ^tags/([a-zA-Z0-9]+)/?$ search.php?rewritten=1&filled=1&action=filter&whichtype=links&tagscondition=like&tagssearch=|$1|

RewriteRule ^([-_/+A-Za-z0-9]+)/vote-([-_/+A-Za-z0-9]+)-([0-9]+).html?$ vote.php?rewritten=1&id=$3&categorypath=$1&linktitle=$2
RewriteRule ^([-_/+A-Za-z0-9]+)/email-([-_/+A-Za-z0-9]+)-([0-9]+).html?$ email.php?rewritten=1&id=$3&categorypath=$1&linktitle=$2
RewriteRule ^([-_/+A-Za-z0-9]+)/([-_/+A-Za-z0-9]+)-([0-9]+).html?$ link.php?rewritten=1&action=detail&id=$3&categorypath=$1&linktitle=$2

RewriteRule ^([-_/+A-Za-z0-9]+)/([-_/+A-Za-z0-9]+)-([0-9]+)-thread-([0-9]+).html?$ comments.php?rewritten=1&id=$3&page=$4
RewriteRule ^([-_/+A-Za-z0-9]+)/([-_/+A-Za-z0-9]+)-([0-9]+)-thread.html?$ comments.php?rewritten=1&id=$3
RewriteRule ^([0-9]+)/?$ index.php?rewritten=1&action=displaycat&catid=$1
RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?rewritten=1&action=displaycat&catid=$1&page=$2
RewriteRule ^([0-9]+)/sp([0-9]+).htm$ index.php?rewritten=1&action=displaycat&catname=$1&subpage=$2
RewriteRule ^([-_/+A-Za-z0-9]+)/?$ index.php?rewritten=1&action=displaycat&catname=$1
RewriteRule ^([-_/+A-Za-z0-9]+)/([0-9]+).html?$ index.php?rewritten=1&action=displaycat&catname=$1&page=$2



NEW
[-[-[codebox1]-] -]


Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 28, 2009 - 2:15 PM:

One of your custom .htaccess rules likely has an illegal character or other syntax error. Test by removing them all and seeing if there's still an error. If so, then remove a clump of them at a time to see which line it is that triggers the error.
Joanna
Member

Usergroup: Customer
Joined: Jan 06, 2009

Total Topics: 4
Total Comments: 18
Joanna
Posted Jan 29, 2009 - 3:35 AM:

I upgraded to 5.0.32 and all is now fine

thanks
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.