Product display blank... +

  • Posts: 17
  • Thank you received: 0
10 years 7 months ago #173020

-- url of the page with the problem -- : bangalownaturopath.com.au
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 2.5.24
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : Firefox 19.0.2

Getting a blank page on the product details display page. Updated but did not fix. Cannot alter the order of products when using product_id descending.

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

  • Posts: 17
  • Thank you received: 0
10 years 7 months ago #173177

I have the same problems at a second installation

bazmahti wrote: -- url of the second page with the problem -- : sydneyorganictrading.com.au
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 2.5.24
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : Firefox 19.0.2

Getting a blank page on the product details display page. Updated but did not fix. Cannot alter the order of products when using product_id descending.

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

  • Posts: 17
  • Thank you received: 0
10 years 7 months ago #173183

For bangalownaturopath.com.au in front end I can't enter product view from the categeory "essential oils" and I can't change the order of the products (have tried using product_id descending).

For sydneyorganictrading.com.au : I turned on the "error reporting" and "debug mode" as you recommended in your email to me and I receive this message from the sydneyorganictrading.com.au install of hikashop:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15028480 bytes) in /home/sydneyor/public_html/administrator/components/com_hikashop/helpers/image.php on line 822

Can you advise please?

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
10 years 7 months ago #173191

Hi,

You got an image which use 14MB in the PHP memory when loaded.
HikaShop needs to load the image in order to resize it ; so it use PHP GD to load the image and create a thumbnail.

But your PHP memory limitation is very limited, only 64MB and when you have to process image data, it requires some memory.
So you have to use smaller images or increase your PHP memory limitation.

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: 17
  • Thank you received: 0
10 years 6 months ago #175196

Thanks for your reply.

I went right through all the images I have uploaded to hikashop and the largest file size I could find was 1.6m which was a png, so I converted it to a jpg and made the file size smaller. Is the image affecting the memory limit exterior to hikashop?

How do I identify which image that is causing the problem?

I have applied to my hosting tech support to up the php memory limit, but in the meantime I would still rather not have an image of that size on the site and have made a mistake uploading it, if it is in fact the problem....

... but I hope you can help me identify the problem image so I can move forward on developing the shopping cart.

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

  • Posts: 83749
  • Thank you received: 13553
  • MODERATOR
10 years 6 months ago #175206

Hi,

The problem is not about the size of the image file in megabits but the size of the image in pixels.
When PHP loads the image into memory, the image file is decompressed as raw pixels, each one taking several bits. So the bigger the size of the image in pixels, the bigger it will take in the memory. The 14M jerome was talking about is the size of the decrompressed image data that is required for each image in the memory. As your memory limit is 64M, you can see how fast it can be a problem.
So changing the file from png to jpg won't change anything for your problem. You would have to reduce the size in pixels of the images. So if you have one or several images with a big size in pixels, that's the one(s) that you want to resize down.

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

  • Posts: 17
  • Thank you received: 0
10 years 6 months ago #175265

still hoping for help with changing the product order on bangalownaturopath.com.au . thanks.

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
10 years 6 months ago #175297

Hi,

Please provide 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: 17
  • Thank you received: 0
10 years 6 months ago #175737

-- url of the page with the problem -- : bangalownaturopath.com.au
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 2.5.24
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : Firefox 19.0.2

I cannot alter the order of products when using product_id descending.
will pm logins again
thanks

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

  • Posts: 17
  • Thank you received: 0
10 years 6 months ago #175739

Re issue with changing product order : Have sent login thru pm thanks

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

  • Posts: 83749
  • Thank you received: 13553
  • MODERATOR
10 years 6 months ago #175756

If you set your products listing column ordering to product_id, the system will use the product_id of each product in order to sort the products. That column value is fixed for each product. It cannot be changed.
If you want to define the ordering of the products, you want to use instead the "ordering" column in the "ordering column" option of your products listing. And in the products listing of the backend, you have the "order" column where you can change the ordering to want you want, after you change the "all sub elements" dropdown of the top right of the products listing to "direct sub elements".

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

Time to create page: 0.074 seconds
Powered by Kunena Forum