Jump to content

Recommended Posts

Установил этот модуль:

[cenzoRED]

 

В админке выводится вот эта ошибка и все в кракозябрах

Notice: Undefined variable: product_info in Z:\home\test1.ru\www\vqmod\vqcache\vq2-admin_controller_catalog_product.php on line 1284Notice: Undefined variable: product_info in Z:\home\test1.ru\www\vqmod\vqcache\vq2-admin_controller_catalog_product.php on line 1286

Edited by afwollis
[cenzoRED]

Share this post


Link to post
Share on other sites

И что вам сказали в поддержке той сборки?

Share this post


Link to post
Share on other sites

И что вам сказали в поддержке той сборки?

Простите?

Share this post


Link to post
Share on other sites

.htaccess

AddDefaultCharset utf-8

 

Что в

vq2-admin_controller_catalog_product.php on line 1284

vq2-admin_controller_catalog_product.php on line 1286

Share this post


Link to post
Share on other sites

.htaccess

AddDefaultCharset utf-8

 

Что в

vq2-admin_controller_catalog_product.php on line 1284

vq2-admin_controller_catalog_product.php on line 1286

 
$this->data['w_product_id'] = $product_id;
 
$this->data['w_product_id'] = $product_info['product_id'];

Share this post


Link to post
Share on other sites

Самое интересное что когда нажимаю во вкладке Товар - изменить все нормально работает, а когда добавляю вылазит эта болячка

Share this post


Link to post
Share on other sites

 

 
$this->data['w_product_id'] = $product_id;
 
$this->data['w_product_id'] = $product_info['product_id'];

 

не надо меня обманывать :(

 

Undefined variable: product_info in Z:\home\test1.ru\www\vqmod\vqcache\vq2-admin_controller_catalog_product.php on line 1284

 

Undefined variable: product_info in Z:\home\test1.ru\www\vqmod\vqcache\vq2-admin_controller_catalog_product.php on line 1286

Share this post


Link to post
Share on other sites

не надо меня обманывать :(

 

Undefined variable: product_info in Z:\home\test1.ru\www\vqmod\vqcache\vq2-admin_controller_catalog_product.php on line 1284

 

Undefined variable: product_info in Z:\home\test1.ru\www\vqmod\vqcache\vq2-admin_controller_catalog_product.php on line 1286

Простите? опять не понимаю

Share this post


Link to post
Share on other sites

Решение:

$this->data['w_product_id'] = (!empty($product_info['product_id']))?$product_info['product_id']:0;

Share this post


Link to post
Share on other sites

клоун с известного сайта распространяет моё дополнение https://opencartforum.com/files/file/69-webme-additionalfields-free-opencart-1491-1495-ocstore-017-022/, в котором закралась ошибка еще с доисторических времен.

Unnamed75, увижу еще такую ссылку или намёк на варез - отправлю жить на БАНановый остров.

Share this post


Link to post
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
You are posting as a guest. If you have an account, please sign in.
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.