Forums / Upgrading from 1.3.x to 1.3.9 / Multiple images no longer appearing

Multiple images no longer appearing

Views: 2,216

Results 1 to 20 of 22
6 Jul 2011, 7:36 PM
#1
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Multiple images no longer appearing

After upgrading from 1.3.8 to 1.3.9 mulitple images are no longer appearing. I have name it as required image_01.jpg, image_02.jpg, etc but it seems it overwrites it as the base image. I also made sure "do not over write" is clicked on the category/product page in the admin portal.

any suggestions?

6 Jul 2011, 9:14 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple images no longer appearing

Can't see a thing

Post a link

Zen-Venom Get Bitten

7 Jul 2011, 5:30 PM
#3
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

I want to clarify that only new listings are not working with mulitple image upload. The products that were uploaded before the upgrade was alread.

store link showing 2 images

Problem image link

In the 2nd link, I attempted to upload the 2nd image but it replaces first image that was already there.

7 Jul 2011, 5:39 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple images no longer appearing

That is the "MainImage" and by default only one main image is allowed in the default code
Your first link has 2 main images
No "additional Images

This must be a customization module added or is part of your template
You will have to determine which and check the docs for how to accomplish what is seen in your first link

Zen-Venom Get Bitten

7 Jul 2011, 5:41 PM
#5
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

OK, I still have the old codes with the customization. Which folder/files should I look for in the old codes?

7 Jul 2011, 5:45 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple images no longer appearing

I still have the old codes with the customization.
They will require merging into the new files IF the file has a new version
Which folder/files should I look for in the old codes
If you have them, where in the structure do they exist?

Zen-Venom Get Bitten

7 Jul 2011, 5:48 PM
#7
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

I still have the old 1.3.8 intact in it's original directory format. I can run a merge if I know exactly which files to look for. The site is still accessible via subdirectory path.

7 Jul 2011, 5:59 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple images no longer appearing

If your orig site was managed using the override system, most all custom files will be in folders named for your template

Zen-Venom Get Bitten

7 Jul 2011, 6:18 PM
#9
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

Do I have to use the original category.php file as well?

7 Jul 2011, 6:23 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple images no longer appearing

Do I have to use the original category.php file as well?
Is it customized?
Is it a file that has a new version from what ever version you are upgrading from?

Check the /docs folder on the 1.3.9h files for the change log

Zen-Venom Get Bitten

7 Jul 2011, 6:42 PM
#11
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

What is the name of modules/files I should look for? I checked the module/custom/ directories on both old and new site and they both have the same number of files.

7 Jul 2011, 6:45 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple images no longer appearing

I checked the module/custom/ directories on both old and new site and they both have the same number of files.
Were these just copied over??
Or did you merge them where needed?

Check them all against the change log

Merge the customizations into the new file if there is a new file

Zen-Venom Get Bitten

7 Jul 2011, 6:50 PM
#13
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

Sorry, I'm still not clear on which files to work. Below is the latest chang log. Can you direct me on which file to look pertaining to my issue?

NOTE:
For a listing of What's New in this release, please see the whatsnew_1.3.9h.html file in the /docs folder.
You may also see the list in the support forum here.

The following is a list of FILE/FOLDER changes:

Changed Files (since release of v1.3.9g)
/admin/attributes_controller.php
/admin/coupon_restrict.php
/admin/developers_toolkit.php
/admin/options_name_manager.php
/admin/options_values_manager.php
/admin/option_name.php
/admin/option_values.php
/admin/password_forgotten.php
/admin/products_to_categories.php
/admin/specials.php
/admin/store_manager.php
/admin/includes/auto_loaders/config.core.php (in 1.3.9h just removes the lines added in 1.3.9g)
/admin/includes/classes/upload.php
/admin/includes/functions/general.php
/admin/includes/functions/extra_functions/add_cookie_path_switch.php (NEW in v1.3.9h)
/admin/includes/init_includes/init_sanitize.php (contents updated to explain that this file can now be deleted as of v1.3.9h)
/admin/includes/init_includes/init_sessions.php
/admin/includes/modules/document_general/collect_info.php
/admin/includes/modules/document_product/collect_info.php
/admin/includes/modules/product/collect_info.php
/admin/includes/modules/product/preview_info.php
/admin/includes/modules/product_free_shipping/collect_info.php
/admin/includes/modules/product_free_shipping/preview_info.php
/admin/includes/modules/product_music/collect_info.php
/admin/includes/modules/product_music/preview_info.php
/docs/ <VARIOUS FILES HERE>
/editors/htmlarea/htmlarea.js
/includes/version.php
/includes/classes/shopping_cart.php
/includes/init_includes/init_sessions.php
/includes/modules/pages/account_password/header_php.php
/includes/modules/pages/checkout_shipping/header_php.php
/includes/modules/pages/shopping_cart/header_php.php
/includes/modules/payment/paypal/paypal_curl.php
/includes/modules/payment/authorizenet_aim.php
/includes/modules/payment/linkpoint_api.php
/includes/modules/payment/paypaldp.php
/includes/modules/payment/paypalwpp.php
/ipn_main_handler.php

/zc_install/ ... assume all of /zc_install/ has changed

NOTE the deletions and additions listed below ...
Deleted Files (since release of v1.3.9a/b/c/d/e/f/g)
/admin/includes/init_includes/init_sanitize.php (was added in 1.3.9g, but now can be deleted in v1.3.9h)
/admin/includes/languages/english/cache.php (deleted in 1.3.9g)
/admin/includes/functions/gzip_compression.php (deleted in 1.3.9f)
/includes/functions/gzip_compression.php (deleted in 1.3.9f)

New Files (since release of v1.3.9a/b/c/d/e/f/g)
/admin/alert_page.php (added in 1.3.9g)
/admin/includes/functions/extra_functions/add_cookie_path_switch.php (NEW in v1.3.9h)
/admin/includes/init_includes/init_sanitize.php (was added in 1.3.9g, but now can be deleted in v1.3.9h)
/admin/includes/languages/english/alert_page.php (added in 1.3.9g)

Moved Files (since release of v1.3.9a/b/c/d/e/f)
None

7 Jul 2011, 7:02 PM
#14
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple images no longer appearing

I'm still not clear on which files to work**
Every** file that you have overidden in your template folders
You can not pick and choose

You will need to compile a list starting at your current version to the version you are upgrading to and list the files changed between each version into a single list
Each version has a change log

i.e. List of files changed from 1.3.8a to 1.3.9h

Then by diffing(comparing) those files with your "Custom files" and performing the necessary merging you should end up with a working "updated" set of custom template files

Zen-Venom Get Bitten

7 Jul 2011, 7:04 PM
#15
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

but wouldn't that include system files that should not be merged?

7 Jul 2011, 7:08 PM
#16
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple images no longer appearing

but wouldn't that include system files that should not be merged?
Don't know what you mean by "system files"

If you have them in a folder named for your template then it needs checking

If you have add ons that have altered core files and there is a new version of that file

You need to check if the mod has an updated version - but if not and the file has been changed between versions - incorporate those customizations into the new file

Zen-Venom Get Bitten

7 Jul 2011, 7:21 PM
#17
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

OK. Am I missing Image Handler 2 module? Is this what allows multiple images to be uploaded?

7 Jul 2011, 7:22 PM
#18
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

Would it be easier if I just reinstall this module or diff the version is the only way? I prefer the least painful path. =)

7 Jul 2011, 7:23 PM
#19
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple images no longer appearing

OK. Am I missing Image Handler 2 module? Is this what allows multiple images to be uploaded?
No as I stated earlier, 2 main images is some custom code

Zen-Venom Get Bitten

7 Jul 2011, 7:27 PM
#20
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Multiple images no longer appearing

I actually done a diff before between 1.3.8 and 1.3.9h but the prob it found so many changes I weren't sure which file merge. What's the rule for merging? Do I just merge all files that I see that are different? Do I merge from left to right (1.3.8 to 1.3.9)?