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

#   Bug at massaction.php

##

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

Less More

- Posts: 61
- Thank you received: 5
-
-

5 years 4 months ago [\#334400](#334400) by [web4studio](/forum/user/34957-web4studio "View web4studio's Profile")  *[Bug at massaction.php](/forum/37-import-export-csv-xls/902958-bug-at-massaction-php#334400 "-- url of the page with the problem -- :   weinpalais.de/csv2xml.php  Hi  After updating HikaShop our cron job is not working properly. And we have to adjust the massaction.php And the export is working again.  See our modified code attached.  Many thx Nadine")* was created by *[web4studio](/forum/user/34957-web4studio "View web4studio's Profile")*

-- url of the page with the problem -- : [ weinpalais.de/csv2xml.php](https://weinpalais.de/csv2xml.php)

Hi

After updating HikaShop our cron job is not working properly. And we have to adjust the massaction.php
And the export is working again.

See our modified code  [ ![Bildschirmfoto2021-07-13um16.24.12.png](/forum/attachment/53229) ](/forum/attachment/53229 "...um16.24.12.png")

attached.

Many thx
Nadine

- [ ![Bildschirmfoto2021-07-13um16.24.12.png](/forum/attachment/53229) ](/forum/attachment/53229 "...um16.24.12.png") [ ](/forum/attachment/53229?download=1 "...um16.24.12.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDI5NTgtYnVnLWF0LW1hc3NhY3Rpb24tcGhwP3RtcGw9bWFya2Rvd24=) 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
-
-

5 years 4 months ago [\#334402](#334402) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bug at massaction.php](/forum/37-import-export-csv-xls/902958-bug-at-massaction-php#334402 "-- url of the page with the problem -- :   weinpalais.de/csv2xml.php  Hi  After updating HikaShop our cron job is not working properly. And we have to adjust the massaction.php And the export is working again.  See our modified code attached.  Many thx Nadine")*

Hi,

This modification was made on purpose to fix this situation:
[ www.hikashop.com/support/forum/mass-acti...-orders-to-copy.html](https://www.hikashop.com/support/forum/mass-actions/902821-massaction-with-several-orders-to-copy.html)
So we would need to know more about your situation to understand why the modification we made impact you as we can't just revert the code. Otherwise, the problem mentioned in that other thread would be back.

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

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

Less More

- Posts: 61
- Thank you received: 5
-
-

5 years 4 months ago [\#334610](#334610) by [web4studio](/forum/user/34957-web4studio "View web4studio's Profile")  Replied by *[web4studio](/forum/user/34957-web4studio "View web4studio's Profile")* on topic *[Bug at massaction.php](/forum/37-import-export-csv-xls/902958-bug-at-massaction-php#334610 "-- url of the page with the problem -- :   weinpalais.de/csv2xml.php  Hi  After updating HikaShop our cron job is not working properly. And we have to adjust the massaction.php And the export is working again.  See our modified code attached.  Many thx Nadine")*

Hi

This is the reply from my developer. Maybe it helps?

If I remember correctly, the changes were made on line 2640 or around it. But it seems that had more to do with the fact that the constant HIKASHOP_J30 is set incorrectly, which can happen, for example, due to a misdirected update process. So the problem only occurs in this shop and is not a case for Hika support. For permanent fix you would have to look at how this constant is set by Hika, but that requires some training.

Is it possible, there is a backend override somewhere? So the scripts are still the old ones?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDI5NTgtYnVnLWF0LW1hc3NhY3Rpb24tcGhwP3RtcGw9bWFya2Rvd24=) 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
-
-

5 years 4 months ago [\#334612](#334612) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bug at massaction.php](/forum/37-import-export-csv-xls/902958-bug-at-massaction-php#334612 "-- url of the page with the problem -- :   weinpalais.de/csv2xml.php  Hi  After updating HikaShop our cron job is not working properly. And we have to adjust the massaction.php And the export is working again.  See our modified code attached.  Many thx Nadine")*

Hi,

It seems that your developer is talking about some other code "on line 2640". Now, I don't know which modification he is talking about ? One we made or one he made ? Or even if he is talking about the massaction.php file or the csv2xml.php file or another file.
So I can't say much more. I don't know which error you had nor what code triggered the error, for what reason ? So I'm in the dark here and thus can't say much.

Regarding his question on the HIKASHOP_J30 constant, it is set by HikaShop at the beginning of the file administrator/components/com_hikashop/helpers/helper.php based on your current version of Joomla: Code:

$jversion = preg_replace('#[^0-9\.]#i','',JVERSION); define('HIKASHOP_J16', true); define('HIKASHOP_J17', true); define('HIKASHOP_J25',true); define('HIKASHOP_J30',version_compare($jversion,'3.0.0','&gt;=') ? true : false);

As you can see, it bases itself on the JVERSION constant which is set by Joomla based on the current version of Joomla on its end ( [ joomla.stackexchange.com/questions/26682...oomla-version-in-php](https://joomla.stackexchange.com/questions/26682/how-to-get-the-currently-installed-joomla-version-in-php) )

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDI5NTgtYnVnLWF0LW1hc3NhY3Rpb24tcGhwP3RtcGw9bWFya2Rvd24=) 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.051 seconds

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