Last night I discovered my host's switch to PHP5 had broken WSN Links, and immediately downloaded 4.1.39 for a long overdue upgrade. At first the category links weren't working properly; all were pointing to category #1. I regenerated the categories, set it to use upper and lowercase letters, and noticed that the format for category rewriting field in the SEO seection was blank, and filled it with {CATREWRITEPATH}/{PAGE}.html.
I immediately got 500 server errors on each page until I reuploaded .htaccess and (hitting the back button) turned off URL rewriting. Now the category links look like they've been rewritten (http://www.customize-your-life.com/Clothing/Shoes, for example) but if clicked give me a 404 error, and reenabling rewriting gives me 500 errors.
What are all the values on your Admin -> Settings -> SEO page rewriting section? Just post a screenshot.
Unrelated: I don't think your stylesheet is up to date, it looks odd, seems to be missing a lot of elements. Those should add automatically on upgrade so I'm not sure how they can be missing.
"We recommend you load this web site using Firefox" is a bit irritating, by the way... I happen to like Opera.
Paul wrote: What are all the values on your Admin -> Settings -> SEO page rewriting section? Just post a screenshot.
See attachment; it seems to happen any time rewriting is turned on or off, so I'm guessing there's a problem auto-writing the htaccess. I've tried changing the permissions (666, 755, 777) but no luck.
Paul wrote: Unrelated: I don't think your stylesheet is up to date, it looks odd, seems to be missing a lot of elements. Those should add automatically on upgrade so I'm not sure how they can be missing.
Fixed.
Paul wrote: "We recommend you load this web site using Firefox" is a bit irritating, by the way... I happen to like Opera.
It's just the default 404 page. All the more reason to get rid of it
That all seems right. Have you tried resubmitting the SEO settings page as is to get the file regenerated? If it still doesn't work, post the .htaccess file contents.
until I reuploaded .htaccess
If you've been uploading it, that could be the problem. You're supposed to let it generate automatically.
According to a google, "bad flag delimiters usually means an extra or unescaped space in a regex pattern, or a missing [ or ]"... but I don't see any of that there.
If you can send me access I'll mess around with it until I figure it out. It may relate to the particular combination of switches you have, somehow.
Edit: I'll try copying the file to my site first.
Second edit: got it to produce an internal server error on my site, so I should be able to track it down.
Do you have a blank space at the end of your format for rewriting help items, or is that the forum's autospacing? Then there's the space between k and s here: search.php?rewritten=1&filled=1&action=filter&whichtype=link s&tagscondition=like&tagssearch=|$1|
Please re-post using the code tags or send by email so I know if the spaces are post formating or bugs.
Once I remove the extraneous spaces, the file you posted works fine for me. If it doesn't for you then I'll need server access to try to figure out how your server differs.
Once I remove the extraneous spaces, the file you posted works fine for me. If it doesn't for you then I'll need server access to try to figure out how your server differs.
Ok, the PM is not on it's way after all... you've disabled private messaging for your account, and your email support pages aren't working. Also, I can't seem to log on to my customer account here; it's not recognizing my email address or password, and I can't even find my account on the member list. *puzzled*
My email support pages are working. You need to figure out what email address you purchased with, or what you changed it to after purchase, or tell me your approximate date of purchase so I can give you a list of who you might be.
You still have two of the weird spaces in the code tags on the last two lines. When you look at the file yourself, do you actually see
Ah... your browser doesn't redirect after that? If I look quickly I can see it, but it moves on to the correct page after a half-second. Should be fixed in a few minutes anyhow.
Update: fixed.
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.
Comments on problem with URL rewrites after upgrade
Member
Usergroup: Customer
Joined: Sep 27, 2004
Location: New York City
Total Topics: 24
Total Comments: 46
Last night I discovered my host's switch to PHP5 had broken WSN Links, and immediately downloaded 4.1.39 for a long overdue upgrade. At first the category links weren't working properly; all were pointing to category #1. I regenerated the categories, set it to use upper and lowercase letters, and noticed that the format for category rewriting field in the SEO seection was blank, and filled it with {CATREWRITEPATH}/{PAGE}.html.
I immediately got 500 server errors on each page until I reuploaded .htaccess and (hitting the back button) turned off URL rewriting. Now the category links look like they've been rewritten (http://www.customize-your-life.com/Clothing/Shoes, for example) but if clicked give me a 404 error, and reenabling rewriting gives me 500 errors.
Any ideas? Thanks.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
What are all the values on your Admin -> Settings -> SEO page rewriting section? Just post a screenshot.
Unrelated: I don't think your stylesheet is up to date, it looks odd, seems to be missing a lot of elements. Those should add automatically on upgrade so I'm not sure how they can be missing.
"We recommend you load this web site using Firefox" is a bit irritating, by the way... I happen to like Opera.
Member
Usergroup: Customer
Joined: Sep 27, 2004
Location: New York City
Total Topics: 24
Total Comments: 46
What are all the values on your Admin -> Settings -> SEO page rewriting section? Just post a screenshot.
See attachment; it seems to happen any time rewriting is turned on or off, so I'm guessing there's a problem auto-writing the htaccess. I've tried changing the permissions (666, 755, 777) but no luck.
Unrelated: I don't think your stylesheet is up to date, it looks odd, seems to be missing a lot of elements. Those should add automatically on upgrade so I'm not sure how they can be missing.
Fixed.
"We recommend you load this web site using Firefox" is a bit irritating, by the way... I happen to like Opera.
It's just the default 404 page. All the more reason to get rid of it
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That all seems right. Have you tried resubmitting the SEO settings page as is to get the file regenerated? If it still doesn't work, post the .htaccess file contents.
until I reuploaded .htaccess
If you've been uploading it, that could be the problem. You're supposed to let it generate automatically.
Member
Usergroup: Customer
Joined: Sep 27, 2004
Location: New York City
Total Topics: 24
Total Comments: 46
This was in the error log:
/public_html/.htaccess: RewriteRule: bad flag delimiters
Here's the .htaccess:
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]
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 ^thread/([0-9]+)/([0-9]+)/?$ comments.php?rewritten=1&id=$1&page=$2
RewriteRule ^thread/([0-9]+)/?$ comments.php?rewritten=1&id=$1
RewriteRule ^links/[-_/\+A-Za-z0-9]+-([0-9]+)\.html?$ link.php?rewritten=1&action=detail&id=$1
RewriteRule ^lists/?$ albums.php?rewritten=1
RewriteRule ^lists/[-_/\+A-Za-z0-9]+-([0-9]+)/?$ albums.php?rewritten=1&catname=$1
RewriteRule ^lists/[-_/\+A-Za-z0-9]+-([0-9]+)/([0-9]+)\.html?$ albums.php?rewritten=1&catname=$1&page=$2
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
According to a google, "bad flag delimiters usually means an extra or unescaped space in a regex pattern, or a missing [ or ]"... but I don't see any of that there.
If you can send me access I'll mess around with it until I figure it out. It may relate to the particular combination of switches you have, somehow.Edit: I'll try copying the file to my site first.
Second edit: got it to produce an internal server error on my site, so I should be able to track it down.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Do you have a blank space at the end of your format for rewriting help items, or is that the forum's autospacing? Then there's the space between k and s here:
search.php?rewritten=1&filled=1&action=filter&whichtype=link
s&tagscondition=like&tagssearch=|$1|
Please re-post using the code tags or send by email so I know if the spaces are post formating or bugs.
Once I remove the extraneous spaces, the file you posted works fine for me. If it doesn't for you then I'll need server access to try to figure out how your server differs.
Member
Usergroup: Customer
Joined: Sep 27, 2004
Location: New York City
Total Topics: 24
Total Comments: 46
Do you have a blank space at the end of your format for rewriting help items, or is that the forum's autospacing?
Didn't find one.
Then there's the space between k and s here:
search.php?rewritten=1&filled=1&action=filter&whichtype=link
s&tagscondition=like&tagssearch=|$1|
Please re-post using the code tags or send by email so I know if the spaces are post formating or bugs.
PM on the way.
Member
Usergroup: Customer
Joined: Sep 27, 2004
Location: New York City
Total Topics: 24
Total Comments: 46
Ok, the PM is not on it's way after all... you've disabled private messaging for your account, and your email support pages aren't working. Also, I can't seem to log on to my customer account here; it's not recognizing my email address or password, and I can't even find my account on the member list. *puzzled*
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
My email support pages are working. You need to figure out what email address you purchased with, or what you changed it to after purchase, or tell me your approximate date of purchase so I can give you a list of who you might be.
You still have two of the weird spaces in the code tags on the last two lines. When you look at the file yourself, do you actually see as was posted, or do you see as it should be, and as works perfectly for me?
Member
Usergroup: Customer
Joined: Sep 27, 2004
Location: New York City
Total Topics: 24
Total Comments: 46
Thanks Paul, I found the spaces and it works again. Now to redo my template...
I figured out my account, too. BTW, kudos on the automatic upgrade feature!
Here's what I get when I visit your support form though:
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Ah... your browser doesn't redirect after that? If I look quickly I can see it, but it moves on to the correct page after a half-second. Should be fixed in a few minutes anyhow.
Update: fixed.