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

#   20 - JPath::check Snooping out of bounds error

##

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 2 months ago -  15 years 2 months ago [\#24048](#24048) by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")  *[20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24048 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")* was created by *[squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")*

Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma to a decimal point in my 3 chosen currencies.

i have only just noticed but when i change currency now from the default £ to either $ or euro i get an error page with the somewhat cryptic message:

20 - JPath::check Snooping out of bounds @ JPATH_COMPONENT/views

and the follwoing standard messages:

You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.

help please! Thanks in advance!

if it helps url fails on is: [ squeakstar.co.uk/index.php/a-z/a-g/a-posters/currency/update](http://squeakstar.co.uk/index.php/a-z/a-g/a-posters/currency/update)

Last edit: 15 years 2 months ago by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0MDQ4LTIwLWpwYXRoLWNoZWNrLXNub29waW5nLW91dC1vZi1ib3VuZHMtZXJyb3I/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 months ago [\#24052](#24052) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24052 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

Hi,

Could you try to redownload HikaShop form our website and install it over your current version just to make sure that everything is ok with the HikaShop files ?

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 2 months ago [\#24127](#24127) by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")  Replied by *[squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24127 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

Done that but still the same problem!

Any more ideas please? Anything more I can tell you, please ask.

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 2 months ago [\#24128](#24128) by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")  Replied by *[squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24128 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

Looking wider online i got the idea to turn off SEF.

When SEF is on currency switcher fails on change and i receive the error message as originally stated, and when off, currency switcher is working ok!!!

I need SEF on definitely, though i don't have URL rewriting on or ever have so far!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0MDQ4LTIwLWpwYXRoLWNoZWNrLXNub29waW5nLW91dC1vZi1ib3VuZHMtZXJyb3I/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 months ago -  15 years 2 months ago [\#24131](#24131) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24131 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

That seems to be a problem on joomla &gt;=1.6 with SEF on.
Please replace the code: Code:

function __construct($config = array(),$skip=false){ parent::__construct($config,$skip); $this-&gt;display[]='update'; if(!$skip){ $this-&gt;registerDefaultTask('update'); } JRequest::setVar('tmpl','component'); }

by: Code:

function __construct($config = array(),$skip=false){ $this-&gt;display[]='update'; if(!$skip){ parent::__construct($config,$skip); $this-&gt;registerDefaultTask('update'); } JRequest::setVar('tmpl','component'); }

in the file components/com_hikashop/controllers/currency.php and try again ?

Last edit: 15 years 2 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 2 months ago [\#24149](#24149) by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")  Replied by *[squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24149 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

Sorry - I'm on joomla 1.6!

I will backup the file and check to see if that code is relevant, and try throwing your suggestion in. Won't be able to check until tonight. If being on version 1.6 makes your suggestion irrelevant.. let em know!

thanks Nicholas!

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 2 months ago -  15 years 2 months ago [\#24209](#24209) by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")  Replied by *[squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24209 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

(woops sorry double posted)

Last edit: 15 years 2 months ago by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile").

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 2 months ago [\#24210](#24210) by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")  Replied by *[squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24210 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

Ok changed the file as suggested but now when i change currency i get this error..

Fatal error: Call to undefined method CurrencyController::isIn() in /data01/mattyh/public_html/components/com_hikashop/router.php on line 108

line 108/109 is this:
Code:

if($controller-&gt;isIn($segments[1],array('display','modify_views','add','modify','delete'))){ $skip = true;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0MDQ4LTIwLWpwYXRoLWNoZWNrLXNub29waW5nLW91dC1vZi1ib3VuZHMtZXJyb3I/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 months ago [\#24215](#24215) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24215 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

Ah yes, you also have to change the line:
class CurrencyController extends JController{
by:
class CurrencyController extends hikashopController{
in the file components/com_hikashop/controllers/currency.php to not have that problem.

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 2 months ago [\#24244](#24244) by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")  Replied by *[squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24244 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

cool - will have another bash in joomla tonight.

btw - is this a bug unique to a few and something that will be updated in a future release?

Many thanks - appreciative as ever!!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0MDQ4LTIwLWpwYXRoLWNoZWNrLXNub29waW5nLW91dC1vZi1ib3VuZHMtZXJyb3I/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 months ago [\#24250](#24250) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24250 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

That will be added to next release yes.

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 2 months ago [\#24251](#24251) by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")  Replied by *[squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24251 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

great - worried i was going to slip out of being in sync with releases. will update you tonight with confirmation of the amended fix. thanks!!!

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 2 months ago [\#24285](#24285) by [squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")  Replied by *[squeakstar](/forum/user/318-squeakstar "View squeakstar's Profile")* on topic *[Re: 20 - JPath::check Snooping out of bounds error](/forum/4-how-to/24048-20-jpath-check-snooping-out-of-bounds-error#24285 "Hey, whilst i have been tweaking my website a bit i believe i've done nothing in particular that could have upset the currency switcher other than upgrading to hikashop 1.5.3, and changing the comma...")*

update as promised: issue is fixed!

again many thanks ![:D](/bigsmile.gif ":D")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0MDQ4LTIwLWpwYXRoLWNoZWNrLXNub29waW5nLW91dC1vZi1ib3VuZHMtZXJyb3I/dG1wbD1tYXJrZG93bg==) 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: 1.536 seconds

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

[](#top)
