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

#   Fatal error - Export products

##

- **[Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")**
- [![Micke&#95;skane's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile") Topic Author
- [ Offline](/forum/user/7228-micke-skane)

Less More

- Posts: 56
- Thank you received: 0
-
-

14 years 5 months ago -  14 years 5 months ago [\#51275](#51275) by [Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")  *[Fatal error - Export products](/forum/2-general-talk-about-hikashop/51275-fatal-error-export-products#51275 "Hi,  I've tried to Export products but got this message:  What does this mean?  Error points to: /&#42;&#42; &#42; Method to fetch a row from the result set cursor as an object. &#42; &#42; @param mixed $cursor The optional result set cursor from which to fetch the row. &#42; @param string $class The class name to use for the returned row object. &#42; &#42; @return mixed Either the next row from the result set or false if there are no more rows. &#42; &#42; @since 11.1 &#42;/ protected function fetchObject($cursor = null, $class = 'stdClass') { }  /Micke")* was created by *[Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")*

Hi,

I've tried to Export products but got this message:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4 bytes) in /storage/content/22/137022/joomla.XXX.se/public\_html/libraries/joomla/database/database/mysql.php on line 652
What does this mean?

Error points to:
/**
* Method to fetch a row from the result set cursor as an object.
*
* @param mixed $cursor The optional result set cursor from which to fetch the row.
* @param string $class The class name to use for the returned row object.
*
* @return mixed Either the next row from the result set or false if there are no more rows.
*
* @since 11.1
*/
protected function fetchObject($cursor = null, $class = 'stdClass')
{
return mysql\_fetch\_object($cursor ? $cursor : $this-&gt;cursor, $class); }

/Micke

Last edit: 14 years 5 months ago by [Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile").

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 5 months ago [\#51279](#51279) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Fatal error - Export products](/forum/2-general-talk-about-hikashop/51275-fatal-error-export-products#51279 "Hi,  I've tried to Export products but got this message:  What does this mean?  Error points to: /&#42;&#42; &#42; Method to fetch a row from the result set cursor as an object. &#42; &#42; @param mixed $cursor The optional result set cursor from which to fetch the row. &#42; @param string $class The class name to use for the returned row object. &#42; &#42; @return mixed Either the next row from the result set or false if there are no more rows. &#42; &#42; @since 11.1 &#42;/ protected function fetchObject($cursor = null, $class = 'stdClass') { }  /Micke")*

Hello Micke,

It means that the memory requirements exceed the default memory limit, I think that you can maybe solve this by adding a line like this to the server’s php.ini file:
Code:

memory_limit = 12M

Hope this will help you a little.

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

- **[Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")**
- [![Micke&#95;skane's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile") Topic Author
- [ Offline](/forum/user/7228-micke-skane)

Less More

- Posts: 56
- Thank you received: 0
-
-

14 years 5 months ago [\#51283](#51283) by [Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")  Replied by *[Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")* on topic *[Re: Fatal error - Export products](/forum/2-general-talk-about-hikashop/51275-fatal-error-export-products#51283 "Hi,  I've tried to Export products but got this message:  What does this mean?  Error points to: /&#42;&#42; &#42; Method to fetch a row from the result set cursor as an object. &#42; &#42; @param mixed $cursor The optional result set cursor from which to fetch the row. &#42; @param string $class The class name to use for the returned row object. &#42; &#42; @return mixed Either the next row from the result set or false if there are no more rows. &#42; &#42; @since 11.1 &#42;/ protected function fetchObject($cursor = null, $class = 'stdClass') { }  /Micke")*

Hey Mohamed,

Thanks for you replay but where can I find the ini-file?

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 5 months ago [\#51288](#51288) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Fatal error - Export products](/forum/2-general-talk-about-hikashop/51275-fatal-error-export-products#51288 "Hi,  I've tried to Export products but got this message:  What does this mean?  Error points to: /&#42;&#42; &#42; Method to fetch a row from the result set cursor as an object. &#42; &#42; @param mixed $cursor The optional result set cursor from which to fetch the row. &#42; @param string $class The class name to use for the returned row object. &#42; &#42; @return mixed Either the next row from the result set or false if there are no more rows. &#42; &#42; @since 11.1 &#42;/ protected function fetchObject($cursor = null, $class = 'stdClass') { }  /Micke")*

It depends of your hosting company, so you'll have to ask them, but first how many product do you want to export ?

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

- **[Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")**
- [![Micke&#95;skane's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile") Topic Author
- [ Offline](/forum/user/7228-micke-skane)

Less More

- Posts: 56
- Thank you received: 0
-
-

14 years 5 months ago -  14 years 5 months ago [\#51294](#51294) by [Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")  Replied by *[Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")* on topic *[Re: Fatal error - Export products](/forum/2-general-talk-about-hikashop/51275-fatal-error-export-products#51294 "Hi,  I've tried to Export products but got this message:  What does this mean?  Error points to: /&#42;&#42; &#42; Method to fetch a row from the result set cursor as an object. &#42; &#42; @param mixed $cursor The optional result set cursor from which to fetch the row. &#42; @param string $class The class name to use for the returned row object. &#42; &#42; @return mixed Either the next row from the result set or false if there are no more rows. &#42; &#42; @since 11.1 &#42;/ protected function fetchObject($cursor = null, $class = 'stdClass') { }  /Micke")*

I've seen the information about PHP in Joomla and it says:
memory\_limit 64M

So there should be enough of memory...(or not!)

I think it's between 1000-1500 products I want to Export.

Last edit: 14 years 5 months ago by [Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile").

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 5 months ago [\#51298](#51298) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Fatal error - Export products](/forum/2-general-talk-about-hikashop/51275-fatal-error-export-products#51298 "Hi,  I've tried to Export products but got this message:  What does this mean?  Error points to: /&#42;&#42; &#42; Method to fetch a row from the result set cursor as an object. &#42; &#42; @param mixed $cursor The optional result set cursor from which to fetch the row. &#42; @param string $class The class name to use for the returned row object. &#42; &#42; @return mixed Either the next row from the result set or false if there are no more rows. &#42; &#42; @since 11.1 &#42;/ protected function fetchObject($cursor = null, $class = 'stdClass') { }  /Micke")*

The **12M** was an example you can maybe change your "memory_limit" value to **128M** because you're exporting a big number of product.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzUxMjc1LWZhdGFsLWVycm9yLWV4cG9ydC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 5 months ago [\#51386](#51386) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Fatal error - Export products](/forum/2-general-talk-about-hikashop/51275-fatal-error-export-products#51386 "Hi,  I've tried to Export products but got this message:  What does this mean?  Error points to: /&#42;&#42; &#42; Method to fetch a row from the result set cursor as an object. &#42; &#42; @param mixed $cursor The optional result set cursor from which to fetch the row. &#42; @param string $class The class name to use for the returned row object. &#42; &#42; @return mixed Either the next row from the result set or false if there are no more rows. &#42; &#42; @since 11.1 &#42;/ protected function fetchObject($cursor = null, $class = 'stdClass') { }  /Micke")*

1500 products can amount to a lot of memory resources. I suppose that if you export only 100 products you don't have any problem right ?

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

- **[Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")**
- [![Micke&#95;skane's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile") Topic Author
- [ Offline](/forum/user/7228-micke-skane)

Less More

- Posts: 56
- Thank you received: 0
-
-

14 years 5 months ago [\#51393](#51393) by [Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")  Replied by *[Micke\_skane](/forum/user/7228-micke-skane "View Micke&#95;skane's Profile")* on topic *[Re: Fatal error - Export products](/forum/2-general-talk-about-hikashop/51275-fatal-error-export-products#51393 "Hi,  I've tried to Export products but got this message:  What does this mean?  Error points to: /&#42;&#42; &#42; Method to fetch a row from the result set cursor as an object. &#42; &#42; @param mixed $cursor The optional result set cursor from which to fetch the row. &#42; @param string $class The class name to use for the returned row object. &#42; &#42; @return mixed Either the next row from the result set or false if there are no more rows. &#42; &#42; @since 11.1 &#42;/ protected function fetchObject($cursor = null, $class = 'stdClass') { }  /Micke")*

Hey,

I've upgraded to a buisness-level where the website is placed and that gives me 256MB as memory and solved the problem.

Micke

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

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