No redirect URL option for Purchase Orders

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 9 months ago #261506

Hi,

Please check that you do not have any "security" plugin which could block the ajax call of the page
Like that, the fully blank page looks suspicious.

https://aketo.org/index.php?option=com_hikashop&ctrl=product&task=listing&cid=1&limitstart=12&Itemid=151&tmpl=ajax
You can check your PHP error log for errors in that page and you can see to activate temporally the Joomla debug mode + error reporting in your Joomla global configuration.

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: 215
  • Thank you received: 6
  • Hikashop Business
7 years 9 months ago #261534

this page

https://aketo.org/index.php?option=com_hikashop&ctrl=product&task=listing&cid=1&limitstart=12&Itemid=151&tmpl=ajax
does not load - is it mean what there are errors on server ?
i tried to switch debug mode and show php mess mode but cant see any errors even in php logs even in joomla mode

i think ajax have to work on server because cart and stuff are working and o this page too

Last edit: 7 years 9 months ago by Bender.

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
7 years 9 months ago #261535

Hello,

A white screen (with no error message is quite often from php error), here it's possible that the ajax request is for a reason or another, and so an php can't be process without an element, theorically.

In order to be sure that this Ajax request isn't blocked by a security plugin (or maybe another...) go to :
- Extensions => Plugins
- Disabled ONE plugin and refresh your page
=> if that don't solve your white page issue, this plugin isn't the root issue, so switch it ON and try with the next plugin.



The aim is to find the plugin that block Ajax request, that's why you have to test plugins ONE BY ONE until make disappear your issue.

Awaiting news from you.

Regards

Attachments:
Last edit: 7 years 9 months ago by Philip.

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

  • Posts: 215
  • Thank you received: 6
  • Hikashop Business
7 years 9 months ago #261627

i checked all plugins one by one - no effect
only found error in other plugin

Fatal error: Call to undefined function empy() in .../plugins/system/hikashopremarketing/hikashopremarketing.php on line 144

what does mean
tmpl=ajax
?
because if use page without it - the page load
https://aketo.org/ru/?option=com_hikashop&ctrl=product&task=listing&cid=1&limitstart=12&Itemid=151

there is the piece of code in listing_div.php
if(empty($this->tmpl_ajax)) {
?>
<div class="hikashop_products"<?php echo $attributes; ?>>
<?php
this line
<?php echo $attributes; ?>
is red color in editor

also
</div>
is red in
if(empty($this->tmpl_ajax)) {
?>
</div>
<?php
}

the red color in code editors usualy means wrong syntaxis
may be this stuff affect on error ?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 9 months ago #261647

Hi,

From what I can see on your website, the request being completely blank indicate that it is this code:

if(!empty($this->tmpl_ajax) && empty($this->rows)) {
	hikashop_cleanBuffers();
	exit;
}
at the beginning of the product/listing_div.php view file which stops the display of any HTML because there are no more products to be displayed.
Are you sure that not all the products that should be displayed are not already displayed there ?

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

  • Posts: 215
  • Thank you received: 6
  • Hikashop Business
7 years 9 months ago #261786

hi, yes i'm sure.
i have more than 100 product in targer category.

there is a strange work of data display system

if i choose in joomla menu product options Data display
Sub elements filter - use All sub elements
the infinite scroll feature begin to work

but it scroll all product from data base - that is not correct

in i choose - direct sub elements - it do not work - only display first Colums x Rows of products
as it setted in Items of product options

i think here is the problem

here is an example

https://aketo.org/aketo-kz/all-products

Last edit: 7 years 9 months ago by Bender.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 9 months ago #261843

Hi,

Could you provide a backend access along with a link to this thread via our contact form so that we can have a look at your settings ?
www.hikashop.com/support/contact-us.html

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

  • Posts: 215
  • Thank you received: 6
  • Hikashop Business
7 years 9 months ago #261886

ok i will
thank you

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 9 months ago #261950

Hi,

I don't see what you're talking about.
Your menu item "all products" is linked to the category:
Интернет магазин автоматика для всех
When you are in "all sub elements" mode, it will basically display all the products of your shop and the infinite scroll work.
When you are in "direct sub elements" mode, it will only display the products directly attached to that category, and there are no products under that category:
monosnap.com/file/MvGa6ffSc4kKGqXN9BPW493w9i9q0k
And thus I don't see any products on that page, in that case, be it with the infinite scroll or without it.

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

  • Posts: 215
  • Thank you received: 6
  • Hikashop Business
7 years 9 months ago #261960

so why infinite scroll do not work on this page ?

https://aketo.org/aketo-online-store/industrial-automation/category/preobrazovateli-chastoty

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

  • Posts: 215
  • Thank you received: 6
  • Hikashop Business
7 years 9 months ago #261962

also
now i linked menu item "all products" to the another category: Преобразователи частоты
when i 'm in "direct sub elements" mode it display only 4 pc of products, but where are more than 4 products attached to the category.
if i choose "all sub elements" it anyway display all products from the shop

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 9 months ago #261990

Hi,

Thanks. I finally was able to see the problem and fix it.
I've also added a patch on our end.

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

  • Posts: 215
  • Thank you received: 6
  • Hikashop Business
7 years 9 months ago #262088

ok. thank you

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

  • Posts: 215
  • Thank you received: 6
  • Hikashop Business
7 years 7 months ago #267579

Hi,
i got the error in database after 3.0.1 update

Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' SQL=UPDATE `#__hikashop_user` AS hku JOIN `#__users` AS ju ON hku.`user_email`=ju.`email` SET hku.`user_cms_id`=ju.`id` WHERE hku.`user_cms_id`!=ju.`id`

what does it mean ? how to check ?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 7 months ago #267611

Hi,

It means that the collation of the email column of the table #__users on your website is wrong.
Run that MySQL query on your database in order to fix that:
ALTER TABLE #__users CHARACTER SET utf8 COLLATE utf8_general_ci;
( you need to replace #__ by the table prefix )

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

  • Posts: 215
  • Thank you received: 6
  • Hikashop Business
7 years 7 months ago #267855

got it. thanks

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

  • Posts: 215
  • Thank you received: 6
  • Hikashop Business
7 years 7 months ago #267856

another issue

i got an error while checked products pages in validator w3 org

here is it Error: The for attribute of the label element must refer to a non-hidden form control.

i found some code in show_block_custom_main.php
as i think generated this stuff

<div id=hikashop_product_custom_info_main class=hikashop_product_custom_info_main><h3>Спецификации</h3><table class=table> <tr class=hikashop_product_custom_product_long_name_line> <td class=key> <span id=hikashop_product_custom_name_24 class=hikashop_product_custom_name>[b] <label for=product_long_name>Общее название</label>[/b] </span> </td> <td> <span id=hikashop_product_custom_value_24 class=hikashop_product_custom_value> Панельный контроллер SEGNETICS </span> </td> </tr> </table> </div>
if(!empty($value) || $value === '0') {
		$displayTitle = true;
	?>
		<tr class="hikashop_product_custom_<?php echo $oneExtraField->field_namekey;?>_line">
			<td class="key">
				<span id="hikashop_product_custom_name_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_name">
					<?php echo $this->fieldsClass->getFieldName($oneExtraField);?>
				</span>
			</td>
			<td>
				<span id="hikashop_product_custom_value_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_value">
					<?php echo $this->fieldsClass->show($oneExtraField,$value); ?>
				</span>
			</td>
		</tr>

but i can't understand there is label tag here ?
could you explain me please where can i find this code to resolve error ?
i going to delete this label tag
thanks

Last edit: 7 years 7 months ago by Bender.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 7 months ago #267878

Hello,

I'm sorry but we are going a lot far from the original topic subject.
Please open a new thread.

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.

Time to create page: 0.083 seconds
Powered by Kunena Forum