| | Members: 16,802 Threads: 38,938 Posts: 160,312 Online: 140 Newest Member:
cugiadziboi | | | |  |  | |  |
24.11.2004, 14:14
|
#1 (permalink)
| | Senior Mamber
Join Date: Sep 2004
Posts: 221
| 404sef New thread, the other is getting rather long and I think perhaps in the wrong category. Let's contiune here. |
| |
24.11.2004, 15:08
|
#2 (permalink)
| | Mamber
Join Date: Apr 2004
Posts: 57
| Re: 404sef hi m2k,
first thank you for the great component, but i still got the problem with post and reply in simpleboard (1.0.3 with the latest security fix). however it isn't important to me, i found out the way to go around.( i've just commented out and use the selfstring).
my 2 cents:
what about store url in the database in some kind of section and category, 'cause i just visualize myself the way to do sef for login module that bundles with mambo and please correct me if i'm wrong?
best regards
crash |
| |
26.11.2004, 01:04
|
#3 (permalink)
| | Baby Mamber
Join Date: Aug 2004 Location: Swansea, UK
Posts: 17
| Re: 404sef Quote: |
Originally Posted by m2k New thread, the other is getting rather long and I think perhaps in the wrong category. Let's contiune here. | Hi M2K.
I upgraded to Beta7a recently - it's nice to have the configuration options integrated into the admin interface rather than editing php and using SQL... although I have to say I was a bit freaked out when I installed it and found my redirection table got blanked. I had a backup of course so no problem, Then I uninstalled the component and found it was wiped again. In fact, I didn't really test what the cause was, but it seemed like the whole table got wiped everytime I saved changes in the component settings.
Oh, and also everytime I save the config settings, it seems to add more escape characters to the apostrophes in my 404 page. Probably just an extra addslashes call somewhere... unless it's a mambo bug - I have a problem with extra escaping occuring in my article meta tags when I edit them.
Anyway, I think 404 SEF now does everything I hoped for, so I don't care whether you fix these problems or not, but I thought you'd like to know about them. And thanks for a wonderful component!
Regards,
DaveB |
| |
26.11.2004, 07:19
|
#4 (permalink)
| | Senior Mamber
Join Date: Sep 2004
Posts: 221
| Re: 404sef Quote: |
Originally Posted by daveb ... it seemed like the whole table got wiped everytime I saved changes in the component settings... | 404 Sef
Also, in regard to updating to beta7a, the component installer has no upgrade, so you have to uninstall/install to upgrade. The database is going to get blitzed when you do that anyway. |
| |
26.11.2004, 11:37
|
#5 (permalink)
| | Professional Mamber
Join Date: Apr 2004 Location: Gap / France
Posts: 860
| Re: 404sef Quote: |
I recommend mod_rewrite, but it is not required. You may still use Errordocument, just be aware that most forms probably will NOT work. This is an apache-specific limitation. Let's keep this thread ON TOPIC and discuss it 404SEF speciifc issues HERE Thanks!
| Ok, so how is 404SEF supposed to work then without the htaccess file it creates itself?
When I install, a .htaccess file gets created.
=> Enabling Sef in Mambo config + 404Sef with the htaccess: error 500, site down
=> Same thing, renaming htaccess: frontpage works, all menu links generate seffed urls, but blank pages, site unusable
=> Only solution: not enabling sef..
What do you mean by "most forms probably will NOT work"?
Any help appreciated, I am also in contact with the hosts support (which is the worst on earth as it's a free host..  ).. |
| |
26.11.2004, 11:48
|
#6 (permalink)
| | Baby Mamber
Join Date: Aug 2004 Location: Swansea, UK
Posts: 17
| Re: 404sef Quote: |
Originally Posted by m2k 404 Sef
Also, in regard to updating to beta7a, the component installer has no upgrade, so you have to uninstall/install to upgrade. The database is going to get blitzed when you do that anyway. | Oh, one more question: 404 SEF is using mod rewrite now isn't it? So does that mean I can re-enable my forms and the post data will go through OK? All the form-based stuff I've made used static php files rather than SEF anyway, so wasn't affected, but I noticed that the Mambo contacts page was broken.
(sorry if you've already answered this - I skipped a few pages on the old thread :-) ) |
| |
26.11.2004, 21:51
|
#7 (permalink)
| | Senior Mamber
Join Date: Sep 2004
Posts: 221
| Re: 404sef Quote: |
Originally Posted by eyezberg Ok, so how is 404SEF supposed to work then without the htaccess file it creates itself?
When I install, a .htaccess file gets created.
=> Enabling Sef in Mambo config + 404Sef with the htaccess: error 500, site down
=> Same thing, renaming htaccess: frontpage works, all menu links generate seffed urls, but blank pages, site unusable
=> Only solution: not enabling sef.. | If you have access to httpd.conf, you can update the settings there if you wish. .htaccess is just more convient and usually you're only option if you do not host your site yourself. Also, I just recently discovered that install.sef.php failed to add
RewriteEngine On
to the .htaccess it creates when there is not a pre-existing one.
Don't know if that's the source of the 500 server error, but it's possible.
(BTW, this has been fixed in CVS already)
I have also found that some hosting companies have apache configured so the required data does not get passed (Lycos, is a recent experience). Download the latest sef.php in CVS and replace the one in components/com_sef. Next, make sure you have enabled SEO in mambo, and then set debug=1 in the new sef.php. You can see if the server is passing the required info by trying to access a page on the site. (But, try something other than index.php ) If you try it I'd be interesting in seeing the results of the data dump, since you say it is not working. Quote: |
Originally Posted by eyezberg What do you mean by "most forms probably will NOT work"?
Any help appreciated, I am also in contact with the hosts support (which is the worst on earth as it's a free host..  ).. | I mean exactly what I said. If you configure .htaccess using the ErrorDocumet 404 /index.php, then forms which do not have action="index.php" are not going to work. You can not post data to an SEF url using the Errordocument method because apache flushes all varibles when it does the redirect for the 404. Hence, post data get dropped.
Here's a short "flow chart"
client sends request->apache looks for file->file not found -> apache flushes its variables (creates a new batch of environment variables )-> sends redirect to Errordocument back to client.
(cf: http://httpd.apache.org/docs/custom-error.html) Quote: |
Originally Posted by daveb Oh, one more question: 404 SEF is using mod rewrite now isn't it? So does that mean I can re-enable my forms and the post data will go through OK? | Yes, the recommended method is mod_rewrite and that is EXACTLY the reason why. AFAIK, all forms should work properly with mod_rewrite. |
| |
28.11.2004, 21:27
|
#8 (permalink)
| | Mamber
Join Date: Oct 2004
Posts: 62
| Re: 404sef I just tried to install 404SEF and ended up with blank pages??? I've uninstalled, but I would really like to use 404SEF. I've been intently following the development and think I'm ready to run with it on my site, but I can run very far with blank pages :-)
Is there a solution?
For the record, I never got as far as configuration because as soon as I installed, the pages went blank. |
| |
28.11.2004, 22:20
|
#9 (permalink)
| | Mamber
Join Date: Oct 2004
Posts: 62
| Re: 404sef *never mind*
Problems solved, 404SEF installed. Thanks to the developer for such a great product. Where do I send a bit of gratitude? Is there is a donate page?
FWIW, I took out the SEF generated and suggested 404 redirect ad put my own custom one in, which is:
ErrorDocument 404 /index.php?option=content&task=view&id=148
That page is the static content one I created when I first tried SEF a month ago or so. |
| |
01.12.2004, 15:51
|
#10 (permalink)
| | Baby Mamber
Join Date: Nov 2004
Posts: 4
| Re: 404sef Quote: |
Originally Posted by crashdummy hi m2k,
first thank you for the great component, but i still got the problem with post and reply in simpleboard (1.0.3 with the latest security fix). however it isn't important to me, i found out the way to go around.( i've just commented out and use the selfstring). | I just installed Simpleboard with both patches and already had SEF404 beta7 installed, but I get a page not found when trying to post:
The category url is correct http://www.domain.com/Community/category/showcat.html
When I click on post it shows the following URL http://www.domain.com/category/post/reply/
I am running Mambo 4.5.1
Clearly there is something going wrong here  |
| | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT +2. The time now is 04:36. | | | |