Skip to main content

Registration User form uncontrolled after update

More
11 years 1 month ago #213246 by cfi
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 2.5.28
-- Error-message(debug-mod must be tuned on) -- : xml-rpc error (404) unknown error

Good morning, I upgraded to hikashop no errors. Since that time, however, it did not check the syntax of the username field more during recording, for example if in the 'username is an empty space. Saves to joomla but then buy from error and white page with "xml-rpc error (404) unknown error".
why? how can I solve and apply this control?

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #213249 by nicolas
Hi,

Please try to add the code:
Code:
if(!empty($this->registerData->username)){ $safeHtmlFilter = JFilterInput::getInstance(null, null, 1, 1); $this->registerData->username = $safeHtmlFilter->clean($this->registerData->username,'USERNAME'); }
before the code:
Code:
if($simplified == 0 || $simplified ==3){
in the file administrator/components/com_hikashop/classes/user.php
That should take the filtering of the username of Joomla into account on the registration form of HikaShop.

Please Log in or Create an account to join the conversation.

More
11 years 4 weeks ago #213332 by cfi
Nicolas Hello, thanks for the help but the problem remains :( .. I edited the file by adding the code but the control does not happen, not me error in the username field, but shows "xml-rpc error (404) unknown error" on page white.By the Joomla I find the username created but not active.
My joomla is connected by Joomdle to Moodle and before the upgrade did not create problems

Please Log in or Create an account to join the conversation.

More
11 years 4 weeks ago #213333 by nicolas
Hi,

Well, my code modification is to properly filter the username. Not to fix that xml-rpc error.
HikaShop doesn't use xml-rpc.
It seems to come from moodle, not HikaShop.
The best would thus be to contact them.
Here is a thread about that error message and a potential solution:
stackoverflow.com/questions/18497903/joo...la-xml-rpc-error-404
The following user(s) said Thank You: cfi

Please Log in or Create an account to join the conversation.

Time to create page: 0.216 seconds
Powered by Kunena Forum