Jump to content

additional images missing


keat

Recommended Posts

On my V3 site, a large number of products have addirional iamges.

When I've upgraded to V6, these additional images do not show.

I'm assuming something in the database migration.

My v3 is still live, so I still have the data, and I assume its image_idx, (on V3) and possibly image_index (on V6).

However, on V3 it shows the image name and on V6 a file_id

Any thoughts on how I fix this.

Link to comment
Share on other sites

It's far from straightforward. You are best off doing the upgrade again on a special hosting configuration with the following php.ini values increased as much as possible:

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60	; Maximum amount of time each script may spend parsing request data
memory_limit = 128M      ; Maximum amount of memory a script may consume (8MB)

Unfortunately on upgrade CubeCart attempts to do a lot of work on the images at once and as a result it can time out and error. When that happens commonly your situation arises. 

When I upgrade a client's store I do it on my Macbook Pro (which has 16GB RAM) with the following resource allocation.

max_execution_time = 900     ; Maximum execution time of each script, in seconds
max_input_time = 900	; Maximum amount of time each script may spend parsing request data
memory_limit = 4G      ; Maximum amount of memory a script may consume (8MB)

 

Link to comment
Share on other sites

I performed another upgrade only this time doing so locally, and it appears to have made no difference.

It seems the site is not running well locally, I'll have to figure out why.

However, the two tables FileManager and images_index, still contain the same number of entries as my original site (all bar a few subtle changes)

Certainly not an extra few hundred entries I was hoping to see.

 

I was hoping to go live this weekend, any more pointers ?

Link to comment
Share on other sites

This is what I found, taking product_id 2787, we can see that there's an entry in v3 image_idx.

We can also see that there is an entry in V6 image_index. however, it has no file_id assigned.

Yet look in the filemanager table and it has a file_id assigned.

 

idx.jpgindex.jpghash.jpg

sources.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...