TOPIC: User registration cause 404 error

User registration cause 404 error 9 years 9 months ago #5680

  • merlinm
  • merlinm's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 1
  • Karma: 0
Hi when an user want to "create an account" and submit the form

channysshoes.co.za/using-joomla/extensions/components/users-component/registration-form.html get an 404 error

Could you have a look

Many thanks
The administrator has disabled public write access.

Re: User registration cause 404 error 9 years 9 months ago #5686

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2284
  • Thank you received: 998
  • Karma: 121
Hello,

You should edit code from ot_valupat/templates/ot_valupat/html/com_k2/templates/register.php

and replace this code below(online 18):
action="<?php echo JRoute::_('index.php'); ?>"

by this code
action="<?php echo JURI::root(true); ?>/index.php"

Regards
The administrator has disabled public write access.

Re: User registration cause 404 error 9 years 9 months ago #5696

  • merlinm
  • merlinm's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 1
  • Karma: 0
Thank you,
I dont find ot_valupat/templates/ot_valupat/html/com_k2/templates/register.php starting with ot_valupat/templates but public_html/templates/ot_valupat/html/com_k2/templates/register.php

When I look in public_html/templates/ot_valupat/html/com_k2/templates/register.php I find the code (online 28) I have replaced it but it dont seem to work.
The administrator has disabled public write access.

Re: User registration cause 404 error 9 years 9 months ago #5704

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2284
  • Thank you received: 998
  • Karma: 121
You can try rename this file and then try again :)
The administrator has disabled public write access.

Re: User registration cause 404 error 9 years 9 months ago #5710

  • merlinm
  • merlinm's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 1
  • Karma: 0
Thank you,
I am not sure, what file should I rename?
The administrator has disabled public write access.

Re: User registration cause 404 error 9 years 9 months ago #5712

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2284
  • Thank you received: 998
  • Karma: 121
public_html/templates/ot_valupat/html/com_k2/templates/register.php
The administrator has disabled public write access.

Re: User registration cause 404 error 9 years 8 months ago #5719

  • merlinm
  • merlinm's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 1
  • Karma: 0
Thank you

I have replaced the existing code
action="<?php echo JRoute::_('index.php'); ?>"

in public_html/templates/ot_valupat/html/com_k2/templates/register.php with:
action="<?php echo JURI::root(true); ?>/index.php"

It still doesnt work.
Last Edit: 9 years 8 months ago by merlinm. Reason: typo
The administrator has disabled public write access.

Re: User registration cause 404 error 9 years 8 months ago #5723

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2284
  • Thank you received: 998
  • Karma: 121
So did you try rename that file (register.php) ?
The administrator has disabled public write access.
The following user(s) said Thank You: merlinm

Re: User registration cause 404 error 9 years 8 months ago #5731

  • merlinm
  • merlinm's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Thank you received: 1
  • Karma: 0
Thanks that worked.
The administrator has disabled public write access.
Time to create page: 0.110 seconds