403 Access Forbidden errors dealing with zones

  • Posts: 4
  • Thank you received: 0
12 years 6 months ago #51808

I've been unable to find anyone else encountering this problem on the forums or any mention in the documentation, hopefully I didn't over look the answer.

I am getting access forbidden (403) errors when trying to deal with zones as a group or when selecting my default tax zone. I can publish/unpublish zones individually but when I try to select one for the default tax zone (tick the checkbox and click ok in the popup window) I get the 403 error.

I also have what appears to be rows for US states but no information contained with in them. Thus when I set custom field, address_country to united states when I try to add an address on the front end there is no way to select the state. Presumably it is supposed to populate a dropdown box.

These seems to be a database issue and maybe it is isolated to the 1.5.8 starter version? Any help would be greatly appriciated as I am on a very short time table to get a simple cart built and this seems to be the only thing holding me back. Everything else about the hikashop has been great and easy to figure out.

Forgot to mention Joomla version 2.5.1

Last edit: 12 years 6 months ago by ultimica.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 6 months ago #51816

Add the line:
$this->display[] = 'addchild';
after:
$this->modify_views[] = 'selectchildlisting';
in administrator/components/com_hikashop/controllers/zone.php and that will fix the problem. We'll change that on our end ASAP.

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

  • Posts: 4
  • Thank you received: 0
12 years 6 months ago #51824

That worked, however I seem to have borked something with saving trying to figure out what was up with the US database.

In regards to the first problem I can now select United States as the default tax zone with your code change.
However, I still see extra rows for states in the zone_link table but no actual states listed for the US. (appears to return rows with empty data in the back-end due to the zone_link table). I was looking directly at the tables with HeidiSQL.

My new problem is that for some reason it doesn't appear to be updating all fields properly now. For instance whenever I save on the config page I get
"No valid weight unit entered. The system put back the default units.
No valid dimension unit entered. The system put back the default units."
Even though the values were never changed from default. Also, if I try to select USD as the currency it reverts back to EUR during the save.
One more example, when trying to use a category list menu item, when I select the category and click save it reverts back to the default product category.

I did try to uninstall/re-install everything listed as hikashop when I was troubleshooting the first problem. When this kept the same data I did another uninstall then manually deleted all the hikashop tables, then re-installed. This may have created a problem I'm not seeing with the updating of certain fields.

Thanks for your quick response. If you could tell me how to completely remove everything from my joomla install and I could start fresh with your modification that would be great. Some guidance on how to fix/add the missing states would be great also, since I don't want to mess anything up with what's already in the zone_link table.

For reference I have 3,886 rows in prefix_hikashop_zone and 4,083 rows in prefix_hikashop_zone_link if for some reason my server / database setup is not causing them all to be written. I have also downloaded the installation again to make sure it wasn't a bad download.

-edit-
The second problem is not related to the code change you offered. I get the same result with the original and modified files.

Last edit: 12 years 6 months ago by ultimica.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 6 months ago #51826

If you delete the two zone tables and install again HikaShop, it will put back all the zones.

For the saving not working properly, it's usually a problem related to your browser's cookies/cache.
If you try with another browser or clean your browser's cookies/cache it should work.

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

  • Posts: 4
  • Thank you received: 0
12 years 6 months ago #51839

It was the browser cache, should have figured that one out on my own /facepalm. However I have rebuilt the zone and zone_link tables again and they are still incomplete for the US. I think its just missing from whatever file creates the tables in this build.

As you can see from the attached files zone_link has all the correct states, but zone does not have any (the query I did should have returned Indiana as a state) and you can see from the back-end screenshot that rows are created but there is no data in them. From the front end you can see that now state dropdown is populated when using zone and usa as country.

Attachments:

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 6 months ago #51911

We found the problem. Please download again the installation package from our website and install it on yours. That will fix the problem.

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

  • Posts: 4
  • Thank you received: 0
12 years 6 months ago #51924

Great, I can now implement as needed. Thanks for all your quick work.

One problem remaining is the ability to publish / unpublish multiple zones at once. I still get a 403 error when using a check box and the unpublish button at the top right of the screen. This occurs whether I have multiple boxes checked or just one. I can publish / unpublish using the circle/check image on the individual row, it just takes a lot longer that way.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 6 months ago #51927

Thanks for the feedback. That's fixed too. You can download again the installation package from our website and install it on yours. That will fix the problem.

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

  • Posts: 10
  • Thank you received: 0
12 years 6 months ago #54884

nicolas wrote: Thanks for the feedback. That's fixed too. You can download again the installation package from our website and install it on yours. That will fix the problem.


Does it fixed only in starter version or in full range?
my Business version 1.5.8 and face with same Publish/Unpublish bug. Updater shows that I have latest version.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 6 months ago #54961

Yes, it's fixed for all three.
You can download again the installation package from our website and install it on yours. That will fix the problem.

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

  • Posts: 10
  • Thank you received: 0
12 years 5 months ago #55658

You can download again the installation package from our website and install it on yours. That will fix the problem.


Today I download fresh package and install over my instance and got the same error:

Joomla!
403 - Обнаружена ошибка.

Доступ запрещен

Вернуться в Панель управления

Call stack
# Function Location
1 JAdministrator->dispatch() /workspaces/web/administrator/index.php:47
2 JComponentHelper::renderComponent() /workspaces/web/administrator/includes/application.php:153
3 JComponentHelper::executeComponent() /workspaces/web/libraries/joomla/application/component/helper.php:351
4 require_once() /workspaces/web/libraries/joomla/application/component/helper.php:383
5 JController->execute() /workspaces/web/administrator/components/com_hikashop/admin.hikashop.php:39
6 JError::raiseError() /workspaces/web/libraries/joomla/application/component/controller.php:765
7 JError::raise() /workspaces/web/libraries/joomla/error/error.php:251

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 5 months ago #55660

Either the files where not copied during the reinstall or your browser cached the install package from your previous download.
I'm 100% sure it works now.
You can try it on our demo website:
www.demo.hikashop.com/administrator/inde...m_hikashop&ctrl=zone
With the new package you won't have the error for the zones unpublish/pbulish

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

  • Posts: 10
  • Thank you received: 0
12 years 5 months ago #57201

Thank you for reply,
In zone section all work perfect, but the same problem with publishing in products

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 5 months ago #57280

Yes,

It has already been reported here:
www.hikashop.com/en/forum/3-bug-report/5...bulk-publishing.html

It will be fixed in next version.

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

  • Posts: 2
  • Thank you received: 0
12 years 5 months ago #58696

Hi there

I need to update text in the translation override for English (GB) and getting the 403 Forbidden error.

Can you assist please Nicolas? :)

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 5 months ago #58756

Hi,

No one reported such problem so far with that function.

can you give more information ? A screenshot of the page before the error and one of the page after ?
Can you try to download again HikaShop on our website and reinstall it on yours ? You won't loose any data.

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

  • Posts: 2
  • Thank you received: 0
12 years 5 months ago #58784

Hi Nicolas

I have version 1.5.8 (latest version I believe).

Example of override:



Error received:


I have purchased the Hika Styles add on but that will not affect this function I'm certain.

Any ideas? Is it a permissions issue on the webserver?

Attachments:

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 5 months ago #58809

Can you try to download again HikaShop on our website and reinstall it on yours ? Maybe a file went missing during the install.

It's not a permission issue on the webserver.

Also, note that the overrides can be configured via the language manager of Joomla since Joomla 2.5.0 so you might want to use that instead.

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

  • Posts: 6
  • Thank you received: 0
11 years 1 week ago #136749

Hellou i got similar error but when i listing product and click on next page in admin drops out error 403 access forbiden.
And im super user.
It does even wheni edit product and click on close or use search in products.

Really dont know what to do. I tried to find solutien but i couldnt. I got newest hikasho essential.

Thx

Attachments:

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 1 week ago #136782

That has already been fixed. Please download again HikaShop on our website and reinstall it on yours

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

Time to create page: 0.127 seconds
Powered by Kunena Forum