| |

Zen Cart – FIX for Media Manager *Assign to Products* Not Working

Zen Cart version: 1.3.9h

Problem: Media Manager *Assign to Products* doesn’t work (ie: it doesn’t actually assign the media to the product, you just keep getting sent to the Admin main page).

Solution:

  • 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 in red:
    if (strpos($PHP_SELF, FILENAME_MEDIA_MANAGER)===FALSE && strpos ( $PHP_SELF, FILENAME_PRODUCTS_PRICE_MANAGER ) === FALSE

Original post: http://www.zen-cart.com/forum/showthread.php?t=168587&highlight=media+manager

Similar Posts

0 Comments

  1. This did not work for me so I simply just  replaced the admin/includes/init_includes/init_sessions.php file of 1.3.9h with the admin/includes/init_includes/init_sessions.php  file from 1.3.9a

Leave a Reply

Your email address will not be published. Required fields are marked *