Forums / Bug Reports / [Done v1.5.0] Media Manager Assign to Products no longer working

[Done v1.5.0] Media Manager Assign to Products no longer working

Locked

Started by thirdiphoto on 19 Nov 2010, 6:35 AM · Views: 3,073

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
19 Nov 2010, 6:35 AM
#1
thirdiphoto avatar

thirdiphoto

New Zenner

Join Date:
Jan 2008
Posts:
3
Plugin Contributions:
0

[Done v1.5.0] Media Manager Assign to Products no longer working

Im having an issue with the Media Manager, since updating to 1.3.9h, we can no longer assign a product. Older products prior to the update have linked files and clips so there are no issues.

Products are confirmed Music -products

I can upload the clips, shows once the upload is complete. Once I have gone through the step by step to create, I then click "Assign to Product" and it take me back to the Admin Home page.

So then i check the product on the front site and there's no preview appearing. I look back in the admin and check the media collection again which was just added and it says the following:

Linked Products: 0
Linked Clips: 1

Please need some help....:(

19 Nov 2010, 7:13 AM
#2
kobra avatar

kobra

Black Belt

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

Re: [Done v1.5.0] Media Manager Assign to Products no longer working

Understand that you are having an issue with your upgrade

But this is not a "Bug" and most likely something you have missed in your upgrade

Check Private messages

Zen-Venom Get Bitten

19 Nov 2010, 8:00 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: [Done v1.5.0] Media Manager Assign to Products no longer working

thirdiphoto,
Thanks. You uncovered a tiny bug in v1.3.9h

The quick fix is this:

Edit your /admin/includes/init_includes/init_sessions.php file.
On line 40 you'll see a line that starts like this:```
if (strpos ( $PHP_SELF, FILENAME_PRODUCTS_PRICE_MANAGER ) === FALSE

Change it by adding some extra code near the beginning of the line, as highlighted here:```
  if ([B]strpos($PHP_SELF, FILENAME_MEDIA_MANAGER)===FALSE && [/B]strpos ( $PHP_SELF, FILENAME_PRODUCTS_PRICE_MANAGER ) === FALSE 

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Nov 2010, 8:22 AM
#4
kobra avatar

kobra

Black Belt

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

Re: [Done v1.5.0] Media Manager Assign to Products no longer working

DrByte:

thirdiphoto,
Thanks. You uncovered a tiny bug in v1.3.9h

Only the "Sensei" knows for certain!!

:wub:

Zen-Venom Get Bitten

22 Nov 2010, 4:14 PM
#5
tropicalgal avatar

tropicalgal

New Zenner

Join Date:
Oct 2010
Posts:
4
Plugin Contributions:
0

Re: [Done v1.5.0] Media Manager Assign to Products no longer working

Thank you! I was having the same issue and all is working well after making the changes you suggested.