problem in version 1.4.1

  • Posts: 540
  • Thank you received: 49
10 years 6 months ago #156955

Hi dont understand its changes or bug with menu after update:
i have user/vendor menu
was Vendor profile edit - now vendor products icon and Error The action "Vendor edition" is forbidden
was cpanel (products, orders something else) - now only vendor products icon
was add discount - now vendor products icon Error HIKAM_ACT_DISCOUNT_ADD' is forbidden

add1. in product add menu missed image upload
add2. in vendor orders listing if i not mistakes was some statistics now only orders list or it was some sub menu...


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Last edit: 10 years 6 months ago by master_b.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 5 months ago #156995

Hi,

Please check your ACL.
Please provide screenshot of your ACL if required.

The update does not change anything special about ACL or menu management.
So like that, I can't tell you anything interesting without more details.

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: 540
  • Thank you received: 49
10 years 5 months ago #157005

yep some acl was unchecked but i dont change anything...

one more question - for what all vendors see ALL data from db not for current vendor i think vendor must see only him statistic not all


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Attachments:
Last edit: 10 years 5 months ago by master_b.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 5 months ago #157026

Hi,

Totally right.
In the file "components/com_hikamarket/views/ordermarket/view.html.php" please replace

		if($config->get('display_order_statistics', 0)) {
			$query = 'SELECT o.order_status, COUNT(o.order_id) as `total` FROM '.hikamarket::table('shop.order').' AS o WHERE o.order_type = \'sale\' GROUP BY o.order_status';
			$db->setQuery($query);
			$order_stats = $db->loadObjectList('order_status');
			ksort($order_stats);
		}
By:
		if($config->get('display_order_statistics', 0)) {
			if($vendor->vendor_id > 1) {
				$query = 'SELECT o.order_status, COUNT(o.order_id) as `total` FROM '.hikamarket::table('shop.order').' AS o WHERE o.order_type = \'subsale\' AND o.order_vendor_id = '.(int)$vendor->vendor_id.' GROUP BY o.order_status';
			} else {
				$query = 'SELECT o.order_status, COUNT(o.order_id) as `total` FROM '.hikamarket::table('shop.order').' AS o WHERE o.order_type = \'sale\' GROUP BY o.order_status';
			}
			$db->setQuery($query);
			$order_stats = $db->loadObjectList('order_status');
			ksort($order_stats);
		}

For your "forbidden" problem, would it be possible to have an access (with FTP if possible) in order to check it directly ?

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.
Last edit: 10 years 5 months ago by Jerome. Reason: code fix

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

  • Posts: 540
  • Thank you received: 49
10 years 5 months ago #157074

Jerome wrote: Hi,
For your "forbidden" problem, would it be possible to have an access (with FTP if possible) in order to check it directly ?

send access in pm

upd. after code chages i see Notice: Undefined variable: vendor_id in /http/components/com_hikamarket/views/ordermarket/view.html.php on line 106 and still global statistics


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Last edit: 10 years 5 months ago by master_b.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 5 months ago #157427

Hi,

Thanks for the accesses (and sorry for the delay).
When I open the admin page, I got a strange page that I didn't understand, I clicked on the button and I finally got the login page.
But when I tried to log-in, I got : Username and password do not match or you do not have an account yet.

I copy/past all fields to be sure to not make a mistake but... no positive result.

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: 540
  • Thank you received: 49
10 years 5 months ago #157465

Jerome wrote: Hi,

Thanks for the accesses (and sorry for the delay).
When I open the admin page, I got a strange page that I didn't understand, I clicked on the button and I finally got the login page.

it was hoster protection page =)

But when I tried to log-in, I got : Username and password do not match or you do not have an account yet.

I copy/past all fields to be sure to not make a mistake but... no positive result.

:whistle: i make little mistake when send pass. resend now pm with right pass


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 5 months ago #157478

Hi,

I fixed the warning in your website, the order statistics are now displayed fine.
About the ACL problem, I didn't see it in the front-end with the account you gave me.
In the backend, I didn't have the right to access to the HikaMarket configuration so I didn't see the default ACL for your vendors.

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: 540
  • Thank you received: 49
10 years 1 month ago #172934

master_b wrote: Hi dont understand its changes or bug with menu after update:
i have user/vendor menu
was Vendor profile edit - now vendor products icon and Error The action "Vendor edition" is forbidden
was cpanel (products, orders something else) - now only vendor products icon
in product add menu missed image upload
in vendor orders listing if i not mistakes was some statistics now only orders list or it was some sub menu...

again this errors after update why some markers unchceked?


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056
Last edit: 10 years 1 month ago by master_b.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 1 month ago #172937

Hi,

We fixed the save of the ACL in HikaMarket 1.4.3 ; are you sure that your ACL were not modified ?
The problem was when re-saving the ACL ; when HikaMarket loaded the ACL tree, there were some errors during the submission, the algorithm didn't catch all elements. But in the latest builds, this problem is solved.

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.
Last edit: 10 years 1 month ago by Jerome.

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

  • Posts: 540
  • Thank you received: 49
10 years 1 month ago #172951

absolutly sure/ i just update (use auto updater) components and translating market language files to russian language
this error i see in 1.4.4 in 1.4.3 with acl all was normal


сайт з перекладами www.benefit.in.ua
PS. спасибо переводить Webmoney : Z207635098627 R152456839841 или ЯД 410011027999056

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 1 month ago #172958

Hi,

Please create a new thread ; I am currently lost in this one (which is far away from the original title).

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.

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