Jevents 2.x (Free Access)

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 follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby 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
User avatar
webathome
Silver Members
 
Posts: 56
Joined: Tue Jul 13, 2010 11:30 pm

Postby 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?
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!
User avatar
Geraint
 
Posts: 42795
Joined: Fri Feb 15, 2008 6:14 pm

Postby 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.
User avatar
webathome
Silver Members
 
Posts: 56
Joined: Tue Jul 13, 2010 11:30 pm

Postby 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
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!
User avatar
Geraint
 
Posts: 42795
Joined: Fri Feb 15, 2008 6:14 pm

Postby 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.
User avatar
webathome
Silver Members
 
Posts: 56
Joined: Tue Jul 13, 2010 11:30 pm

Postby 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.
User avatar
webathome
Silver Members
 
Posts: 56
Joined: Tue Jul 13, 2010 11:30 pm

Postby 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
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23713
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby 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
Attachments
sh404sef.png
sh404sef.png (157.75 KiB) Viewed 732 times
User avatar
webathome
Silver Members
 
Posts: 56
Joined: Tue Jul 13, 2010 11:30 pm

Postby 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!
User avatar
Geraint
 
Posts: 42795
Joined: Fri Feb 15, 2008 6:14 pm

Previous

Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users