[Skip to main content](#vessel-content)

#   Redirect plugin not working

##

- **[sanneschoo](/forum/user/38743-sanneschoo "View sanneschoo's Profile")**
- [![sanneschoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38743-sanneschoo "View sanneschoo's Profile") Topic Author
- [ Offline](/forum/user/38743-sanneschoo)

Less More

- Posts: 20
- Thank you received: 0
-
-

9 years 10 months ago [\#259027](#259027) by [sanneschoo](/forum/user/38743-sanneschoo "View sanneschoo's Profile")  *[Redirect plugin not working](/forum/33-customers/888207-redirect-plugin-not-working#259027 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0.1 -- Browser(s) name and version -- : firefox latest -- Error-message(debug-mod must be tuned on) -- : none  Hi Hikashop,  My registration redirect plugin doesn't seem to work. When I use the joomla login and klick on &quot;rigister&quot;, I still get the joomla registrationform.  Error report is on maximum, but no errors. I have set the menu id for the registration page and the plugin enabled.  Can you help me out?  Kind regards, Sanne")* was created by *[sanneschoo](/forum/user/38743-sanneschoo "View sanneschoo's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0.1
-- Browser(s) name and version -- : firefox latest
-- Error-message(debug-mod must be tuned on) -- : none

Hi Hikashop,

My registration redirect plugin doesn't seem to work.
When I use the joomla login and klick on "rigister", I still get the joomla registrationform.

Error report is on maximum, but no errors.
I have set the menu id for the registration page and the plugin enabled.

Can you help me out?

Kind regards,
Sanne

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODgyMDctcmVkaXJlY3QtcGx1Z2luLW5vdC13b3JraW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

9 years 10 months ago [\#259064](#259064) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Redirect plugin not working](/forum/33-customers/888207-redirect-plugin-not-working#259064 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0.1 -- Browser(s) name and version -- : firefox latest -- Error-message(debug-mod must be tuned on) -- : none  Hi Hikashop,  My registration redirect plugin doesn't seem to work. When I use the joomla login and klick on &quot;rigister&quot;, I still get the joomla registrationform.  Error report is on maximum, but no errors. I have set the menu id for the registration page and the plugin enabled.  Can you help me out?  Kind regards, Sanne")*

Hi,

When I click on the register link of your Joomla login on your website, I see these error messages: Code:

Notice: Use of undefined constant DS - assumed 'DS' in C:\domains\zgraaftexel.nl\wwwroot\33\plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43 Notice: Use of undefined constant DS - assumed 'DS' in C:\domains\zgraaftexel.nl\wwwroot\33\plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43 Notice: Use of undefined constant DS - assumed 'DS' in C:\domains\zgraaftexel.nl\wwwroot\33\plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43 Notice: Use of undefined constant DS - assumed 'DS' in C:\domains\zgraaftexel.nl\wwwroot\33\plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43 Notice: Use of undefined constant DS - assumed 'DS' in C:\domains\zgraaftexel.nl\wwwroot\33\plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43 Warning: include_once(C:\domains\zgraaftexel.nl\wwwroot\33\administratorDScomponentsDScom_hikashopDShelpersDShelper.php): failed to open stream: No such file or directory in C:\domains\zgraaftexel.nl\wwwroot\33\plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43 Warning: include_once(): Failed opening 'C:\domains\zgraaftexel.nl\wwwroot\33\administratorDScomponentsDScom_hikashopDShelpersDShelper.php' for inclusion (include_path='.') in C:\domains\zgraaftexel.nl\wwwroot\33\plugins\system\hikashopregistrationredirect\hikashopregistrationredirect.php on line 43

This indicates that DS is not defined (which shouldn't be the case normally).
Add the code: Code:

if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);

before the code: Code:

if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return true;

in the file plugins/system/hikashopregistrationredirect/hikashopregistrationredirect.php and that should solve the problem.

The following user(s) said Thank You: [sanneschoo](/forum/user/38743-sanneschoo "View sanneschoo's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODgyMDctcmVkaXJlY3QtcGx1Z2luLW5vdC13b3JraW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sanneschoo](/forum/user/38743-sanneschoo "View sanneschoo's Profile")**
- [![sanneschoo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38743-sanneschoo "View sanneschoo's Profile") Topic Author
- [ Offline](/forum/user/38743-sanneschoo)

Less More

- Posts: 20
- Thank you received: 0
-
-

9 years 10 months ago [\#259088](#259088) by [sanneschoo](/forum/user/38743-sanneschoo "View sanneschoo's Profile")  Replied by *[sanneschoo](/forum/user/38743-sanneschoo "View sanneschoo's Profile")* on topic *[Redirect plugin not working](/forum/33-customers/888207-redirect-plugin-not-working#259088 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0.1 -- Browser(s) name and version -- : firefox latest -- Error-message(debug-mod must be tuned on) -- : none  Hi Hikashop,  My registration redirect plugin doesn't seem to work. When I use the joomla login and klick on &quot;rigister&quot;, I still get the joomla registrationform.  Error report is on maximum, but no errors. I have set the menu id for the registration page and the plugin enabled.  Can you help me out?  Kind regards, Sanne")*

Thanks for the help! it worked.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODgyMDctcmVkaXJlY3QtcGx1Z2luLW5vdC13b3JraW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
