Main menu

Forum


× Help Forum English

[PATCH] 404 after click Register

  • wertigo
  • Portrait de wertigo Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 8 ans 2 mois - il y a 8 ans 2 mois #13550 par wertigo
[PATCH] 404 after click Register a été créé par wertigo
Hello

I have my site located on qnap. Till yesterday everything goes well but today i receive 404 error (page not found) when I try to register to event after I click to Register button.
Call stack
#	Function	Location
1	JApplicationCms->execute()	/share/MD0_DATA/Qweb/joomlaCMS/index.php:49
2	JApplicationSite->doExecute()	/share/MD0_DATA/Qweb/joomlaCMS/libraries/cms/application/cms.php:257
3	JApplicationSite->dispatch()	/share/MD0_DATA/Qweb/joomlaCMS/libraries/cms/application/site.php:230
4	JComponentHelper::renderComponent()	/share/MD0_DATA/Qweb/joomlaCMS/libraries/cms/application/site.php:191
5	JComponentHelper::executeComponent()	/share/MD0_DATA/Qweb/joomlaCMS/libraries/cms/component/helper.php:380
6	require_once()	/share/MD0_DATA/Qweb/joomlaCMS/libraries/cms/component/helper.php:405
7	JControllerLegacy->execute()	/share/MD0_DATA/Qweb/joomlaCMS/components/com_icagenda/icagenda.php:152
8	iCagendaControllerRegistration->register()	/share/MD0_DATA/Qweb/joomlaCMS/libraries/legacy/controller/legacy.php:702
9	iCagendaModelRegistration->register()	/share/MD0_DATA/Qweb/joomlaCMS/components/com_icagenda/controllers/registration.php:104
10	JError::raiseError()	/share/MD0_DATA/Qweb/joomlaCMS/components/com_icagenda/models/registration.php:958
11	JError::raise()	/share/MD0_DATA/Qweb/joomlaCMS/libraries/legacy/error/error.php:277

Where can be problem?
Dernière édition: il y a 8 ans 2 mois par Lyr!C. Raison: [PATCH]

Connexion ou Créer un compte pour participer à la conversation.

  • comsepa
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 8 ans 2 mois #13553 par comsepa
Réponse de comsepa sur le sujet 404 after click Register
I have the same issue.
After installing and adding some events i tried to fill out the register form and hit the "register"button.
I got redirected to a 404 page in Joomla.
message "the page you asked for can not be found"
The last piece of the URL shows: component/icagenda/?task=registration.register

anyone got a solution to this?

Connexion ou Créer un compte pour participer à la conversation.

  • comsepa
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 8 ans 2 mois #13554 par comsepa
Réponse de comsepa sur le sujet 404 after click Register
Wertigo,

i had the same problem...
goto this link

www.joomlic.com/forum/icagenda-aide-fr/3...n-evenement?start=10

its a french guy who had the same issues.
Look on the second page for the dev.zip....
download it and install it.
it solved the register issues...

:cheer:

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 8 ans 2 mois #13565 par Lyr!C
Réponse de Lyr!C sur le sujet 404 after click Register
Exactly, a "fix" is available, and i will attach it to this message ;-)

But, there's a reason for this issue, so even if it works with fix, it's better to understand that there's maybe other things to do to be perfect ;-)

comsepa écrit: The last piece of the URL shows: component/icagenda/?task=registration.register

If you have such an url, that means there's no published menu item link, of type "iCagenda - List Events" that allows to display this event.
For this reason (and since iCagenda 3.6, the bahavior is the same that the one for Joomla articles), the event will be displayed using the home page.
Which one has no itemid (this was the reason of the issue, the check that Itemid was a numeric faisl when this one was null).

So the version with fix (which one will be included in next 3.6.5 release) works.

But, i recommend for SEO reasons that you check menu items filtering, to have valid SEF urls, and not ones constructed by Joomla default urls when a menu item is missing (of type "component/componentname").

Note: this issue could happen too with SH404 when menu item from SEF urls is removed to shorten the urls. So this fix is a valid patch in this case, and nothing else to do as you have correct urls. But not really correct urls when "component/icagenda" in the urls (which will be solved if at least one menu item allows to display this event (in module "auto" mode for "Menu Item Link" option) OR if a specific menu item is selected.

Hope this gives a bit of more information about why the issue, and how this could have been solved without any patch ?

Best Regards,
Cyril

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

Fichier attaché :

Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

  • comsepa
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 8 ans 2 mois #13570 par comsepa
Réponse de comsepa sur le sujet 404 after click Register
Thank you very much!
Clear solution and followed instructions!
thanks!! :cheer: :cheer: :cheer:
Les utilisateur(s) suivant ont remercié: Lyr!C

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.182 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new