url not found for registration

  • Posts: 73
  • Thank you received: 3
9 years 3 months ago #185777

-- url of the page with the problem -- : www.themes-ck.com/component/hikamarket/vendormarket/form
-- HikaShop version -- : latest
-- HikaMarket version -- : latest
-- Error-message(debug-mod must be tuned on) -- : error 404

Hi
I have a problem with an url.
I have the sef and url rewriting activated
The normal link is

index.php?option=com_hikamarket&view=vendormarket&layout=form

and this works, but if I put it in the editor it becomes

component/hikamarket/vendormarket/form

and this returns a 404 error.

I have no idea why this occurs. I have updated to the latest versions of hikashop and hikamarket, my editor is the standard included into joomla3

Thank you
CEd

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #185778

Hi,

The URL is wrong SEF.

http://www.themes-ck.com/component/hikamarket/vendor/form
Which SEF system are you using ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 73
  • Thank you received: 3
9 years 3 months ago #185816

I'm using the native joomla SEF, that is why I find this strange

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #185862

Hi,

I am currently making some tests in order to modify the HikaMarker router so the future SEF url won't contain the "market" anymore.
But it is also require to add a support of this "market" word in the url, so please edit the file "components/com_hikamarket/hikamarket.php" and replace

if(!empty($view) && !JRequest::getCmd('ctrl')) {
	JRequest::setVar('ctrl', $view);
	$layout = JRequest::getCmd('layout');
	if(!empty($layout)) {
		JRequest::setVar('task', $layout);
	}
}
Into
if(!empty($view) && !JRequest::getCmd('ctrl')) {
	JRequest::setVar('ctrl', $view);
	$layout = JRequest::getCmd('layout');
	if(!empty($layout)) {
		JRequest::setVar('task', $layout);
	}
} else {
	$ctrl = JRequest::getCmd('ctrl');
	if(!empty($ctrl) && substr($ctrl, -6) == 'market')
		JRequest::setVar('ctrl', substr($ctrl, 0, -6));
}
It should fix your problem ; and the next HikaMarket release would improve the generated SEF urls.

Sorry for the inconvenient.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 73
  • Thank you received: 3
9 years 3 months ago #185863

this works !
thank you. Do you have integrated in the future update ?
CEd

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #185871

Hi,

Yes.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 73
  • Thank you received: 3
9 years 3 months ago #186518

it is me again for the same problem but with the other url
dashboard : domain/vendor-account/control-panel
add product : domain/vendor-account/submit-a-theme

both return a 404 error. Is this due to the latest update ? it was working before ...

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

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #186522

Hi,

I got websites under Joomla 2.5 and Joomla 3.3 and I can't reproduce your issue.
Would it be possible to have more details about the URL behind the SEF ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 73
  • Thank you received: 3
9 years 3 months ago #186591

I think this has something related to the SEF
www.themes-ck.com/vendor-account
>> 404 - Page not found : vendormarket

www.themes-ck.com/vendor-account/control-panel
>> 404 - Page not found : vendormarket

www.themes-ck.com/vendor-account/submit-a-theme
>> 404 - Page not found : productmarket

let me know what other details you need
for info all other pages, and the pages from hikashop are working well. Only the hikamarket pages are impacted

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

  • Posts: 73
  • Thank you received: 3
  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #186663

Hi,

So it will be useful to place the same kind of code for the view parameter

$view = JRequest::getCmd('view');
if(!empty($view) && strlen($view) > 6 && substr($view, -6) == 'market')
	$view = substr($view, 0, -6);
if(!empty($view) && !JRequest::getCmd('ctrl')) {

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 73
  • Thank you received: 3
9 years 3 months ago #186680

thank you it works

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

Moderators: Obsidev
Time to create page: 0.078 seconds
Powered by Kunena Forum