404 error on redirect
Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
Re: 404 error on redirect
by webathome » Fri Feb 15, 2013 7:47 pm
Sorry - looks like it's
<form action="http://www.fredericksburgparent.net/index.php?option=com_jevents&Itemid=491" method="post" name="adminForm" enctype='multipart/form-data' id="adminForm" >
Still has that itemid pasted at the end
<form action="http://www.fredericksburgparent.net/index.php?option=com_jevents&Itemid=491" method="post" name="adminForm" enctype='multipart/form-data' id="adminForm" >
Still has that itemid pasted at the end
-

webathome - Silver Members
- Posts: 28
- Joined: Tue Jul 13, 2010 11:30 pm
Re: 404 error on redirect
by Geraint » Sat Feb 16, 2013 6:36 am
I may therefore have a clue as to what may be going on.
Your event creators are not authorised to publish their events - is that correct? So when they have created an event they should be redirected to the day list of events for the day on which they create their event (as opposed to 'today'). This redirect is a SEF URL - so far so good. The URL (from sh404sef) should look like http://www.fredericksburgparent.net/cal ... 013/2/18/-
Notice the eventsbyday part of the url is the task for JEvents to execute = day.listevents
The big question is why sh404sef is incapable of parsing this URL despite generating it in the first place.
Is your version of the sh404sef plugin for JEvents up to date?
Did you try telling sh404sef to use the Joomla router file instead for JEvents?
Your event creators are not authorised to publish their events - is that correct? So when they have created an event they should be redirected to the day list of events for the day on which they create their event (as opposed to 'today'). This redirect is a SEF URL - so far so good. The URL (from sh404sef) should look like http://www.fredericksburgparent.net/cal ... 013/2/18/-
Notice the eventsbyday part of the url is the task for JEvents to execute = day.listevents
The big question is why sh404sef is incapable of parsing this URL despite generating it in the first place.
Is your version of the sh404sef plugin for JEvents up to date?
Did you try telling sh404sef to use the Joomla router file instead for JEvents?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: 404 error on redirect
by webathome » Sat Feb 16, 2013 1:56 pm
That is correct.
My version of sh404SEF is only one version old - need to resubscribe to update and just haven't done it yet.
I just changed the setting to use the Joomla router, cleared the cache, and here's where it directed me:
http://www.fredericksburgparent.net/cal ... 13/02/18/-
which is exactly what you predicted. But it's still not a valid page on the site.
But I'm telling sh404SEF to NOT touch JEvents, so it shouldn't be doing anything. I even turned off the SEF radio button the JEvents config yesterday as well.
If you read my very first post, you'll see that everything worked fine until I updated my JEvents to 3.0. Because it broke all my layouts, I had to go back to 2.2.8. That's when everything started to go wrong. Not sure if that helps you diagnose.
My version of sh404SEF is only one version old - need to resubscribe to update and just haven't done it yet.
I just changed the setting to use the Joomla router, cleared the cache, and here's where it directed me:
http://www.fredericksburgparent.net/cal ... 13/02/18/-
which is exactly what you predicted. But it's still not a valid page on the site.
But I'm telling sh404SEF to NOT touch JEvents, so it shouldn't be doing anything. I even turned off the SEF radio button the JEvents config yesterday as well.
If you read my very first post, you'll see that everything worked fine until I updated my JEvents to 3.0. Because it broke all my layouts, I had to go back to 2.2.8. That's when everything started to go wrong. Not sure if that helps you diagnose.
-

webathome - Silver Members
- Posts: 28
- Joined: Tue Jul 13, 2010 11:30 pm
Re: 404 error on redirect
by Geraint » Sat Feb 16, 2013 5:18 pm
sh404sef is not using the Joomla SEF router for JEvents - the calendar url in the top menu has not been make SEO friendly (http://www.fredericksburgparent.net/ind ... &Itemid=56) neither is the add an event menu item (http://www.fredericksburgparent.net/ind ... &Itemid=56) and YET sh404sef passes the URL to the joomla router to get the SEF URL that is not working.
Are you sure you cleared the jevents aliases from the sh404sef cache?
Another thing to try is the latest version of the jevnets sh404sef plugin from http://www.jevents.net/downloads/catego ... ef-plugins
Are you sure you cleared the jevents aliases from the sh404sef cache?
Another thing to try is the latest version of the jevnets sh404sef plugin from http://www.jevents.net/downloads/catego ... ef-plugins
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: 404 error on redirect
by webathome » Sat Feb 16, 2013 5:57 pm
Here's the latest:
I had disabled sh404SEF for JEvents, but this time set it to use the Joomla router and to use the Joomla router.php for the plugin.
So when I clicked the menu item this time, it gave me this in the browser bar:
http://www.fredericksburgparent.net/icalevent_edit/0
so I was hopeful that the redirect would work properly.
I added the event and it sent me here:
http://www.fredericksburgparent.net/cal ... 13/02/25/-
Which just took me to the homepage instead of a 404 error page. Slightly better, but still no confirmation to the user that anything worked properly.
I had disabled sh404SEF for JEvents, but this time set it to use the Joomla router and to use the Joomla router.php for the plugin.
So when I clicked the menu item this time, it gave me this in the browser bar:
http://www.fredericksburgparent.net/icalevent_edit/0
so I was hopeful that the redirect would work properly.
I added the event and it sent me here:
http://www.fredericksburgparent.net/cal ... 13/02/25/-
Which just took me to the homepage instead of a 404 error page. Slightly better, but still no confirmation to the user that anything worked properly.
-

webathome - Silver Members
- Posts: 28
- Joined: Tue Jul 13, 2010 11:30 pm
Re: 404 error on redirect
by webathome » Sat Feb 16, 2013 7:07 pm
I tried deleting those menu items altogether and added a text link to Add a Calendar Event from the main calendar page. It still added the menu itemid to the end of the URL when it pulled up the add event page.
Then it still redirected to the http://www.fredericksburgparent.net/cal ... 13/02/16/-
page. Sometimes it gives a 404. Sometimes it shows the home page with no other info. I tried telling sh404SEF to leave the jevents as non-sef and that didn't work either. I tried deleting the itemid off the end of the URL from the add event page and reloaded it before adding the event.
It remembered it, however, and still redirected to the wrong place. There are no URL's in the sh404SEF manager from JEvents. I have deleted every one of them.
Then it still redirected to the http://www.fredericksburgparent.net/cal ... 13/02/16/-
page. Sometimes it gives a 404. Sometimes it shows the home page with no other info. I tried telling sh404SEF to leave the jevents as non-sef and that didn't work either. I tried deleting the itemid off the end of the URL from the add event page and reloaded it before adding the event.
It remembered it, however, and still redirected to the wrong place. There are no URL's in the sh404SEF manager from JEvents. I have deleted every one of them.
-

webathome - Silver Members
- Posts: 28
- Joined: Tue Jul 13, 2010 11:30 pm
Re: 404 error on redirect
by Tonyp » Sat Feb 16, 2013 9:48 pm
Hello webathome,
One of my clients uses SH404 a lot so I am fairly familiar with it.
SH404 creates urls and then if any other urls are created with are close/match say the date/time it classes it as a duplicate.
Can you check if any duplicates exist under the problematic urls?
Many thanks
Tony
One of my clients uses SH404 a lot so I am fairly familiar with it.
SH404 creates urls and then if any other urls are created with are close/match say the date/time it classes it as a duplicate.
Can you check if any duplicates exist under the problematic urls?
Many thanks
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8717
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: 404 error on redirect
by webathome » Sun Feb 17, 2013 1:27 am
When I look in the sh404 URL manager, there are NO URL's for JEvents.
I just upgraded to JEvents 3.0 and updated all the layouts, etc. I just tried to add an event and now the page just sits there and the form doesn't even submit anymore, much less redirect to the wrong place.
Have attached screenshot of the blank URL manager and aliases manager when searching for the word "calendar"
Thanks for any help you can suggest. I'm willing to PM super user credentials if that would help. Our calendar is THE biggest feature on our website that our readers use.
Karen
I just upgraded to JEvents 3.0 and updated all the layouts, etc. I just tried to add an event and now the page just sits there and the form doesn't even submit anymore, much less redirect to the wrong place.
Have attached screenshot of the blank URL manager and aliases manager when searching for the word "calendar"
Thanks for any help you can suggest. I'm willing to PM super user credentials if that would help. Our calendar is THE biggest feature on our website that our readers use.
Karen
- Attachments
-
- sh404sef.png (157.75 KiB) Viewed 119 times
-

webathome - Silver Members
- Posts: 28
- Joined: Tue Jul 13, 2010 11:30 pm
Re: 404 error on redirect
by Geraint » Sun Feb 17, 2013 6:51 am
Please send me super user details via PM and I'll see if I can figure it out. I'm travelling back from my vacation today and may get a chance to look at it when I'm waiting at the airport if you can get me the details first thing your time. Otherwise it will be tomorrow when I can get to look at it
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
19 posts
• Page 2 of 2 • 1, 2
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: Google [Bot]

