Jump to content

Miroslav_Brno

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Location
    Brno
  • Activity
    Developer

Miroslav_Brno's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. I have an update: After comment only functions starts ->setUseAjax() the save button and content of tabs work again. $image_uploader->setMultiple(!(Tools::getUserBrowser() == 'Apple Safari' && Tools::getUserPlatform() == 'Windows')); // ->setUseAjax(true)->setUrl( // Context::getContext()->link->getAdminLink('AdminProducts').'&ajax=1&id_product='.(int)$obj->id // .'&action=addProductImage');
  2. Hi, i moved my shop from windows development WAMP to unix Ubuntu 14.04 inside Docker ( www.docker.com) on cloud. After this I have problem with saving existing products. The save button is spinning and i can't do anything. It's not problem of META descr. length and also i hope it's not problem with rights. Configuration is: - cloud with ubuntu 14.04 and docker installed - docker image with ubuntu 14.04 with lamp - prestashop 1.6.1.2 ( originally production 1.5 upgraded to 1.6.1.2) - frontstore works ok ( i mean no prblems with images...) - debug mode ON I found out that when i comment lines with calling helpers in tabs initialization it works. file: controllers/admin/AdminProductsController.php line 3892 $attachment_uploader = new HelperUploader('attachment_file'); $attachment_uploader->setMultiple(false)->setUseAjax(true)->setUrl( Context::getContext()->link->getAdminLink('AdminProducts').'&ajax=1&id_product='.(int)$obj->id .'&action=AddAttachment')->setPostMaxSize((Configuration::get('PS_ATTACHMENT_MAXIMUM_SIZE') * 1024 * 1024)) ->setTemplate('attachment_ajax.tpl'); line 4255 $image_uploader = new HelperImageUploader('file'); $image_uploader->setMultiple(!(Tools::getUserBrowser() == 'Apple Safari' && Tools::getUserPlatform() == 'Windows')) ->setUseAjax(true)->setUrl( Context::getContext()->link->getAdminLink('AdminProducts').'&ajax=1&id_product='.(int)$obj->id .'&action=addProductImage'); This is as far as I get and I don't know what might be problem. On windows with WAMP everything is fine. My quess is AJAX problem. Please help!
×
×
  • Create New...