Jump to content

An error occurred while attempting to associate this image with your shop.


Recommended Posts

I have multishop PS 1.5.4.1 but some time I have trouble with associate images to few eshops.

If try associate  image with your shop PS b.o. show meessage:

 

An error occurred while attempting to associate this image with your shop and image isn't associate with eshop

 

I try uncheck checkbox all work fine.

 

If delete image and add image with all shop context all is ok and next I uncheck checkobx all is ok but if try check again:

An error occurred while attempting to associate this image with your shop and image isn't associate with eshop

And image isn't add.

 

I try dev mode but only "technical error" show and nothing more

 

Please can anybody help ?

 

[PrestaShopDatabaseException]

Field 'cover' doesn't have a default value
 

INSERT INTO ps_image_shop (`id_image`, `id_shop`) VALUES(2803, 2)
at line 607 in file classes/db/Db.php

601.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
602.         }
603.         else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
604.         {
605.             if ($sql)
606.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
607.             throw new PrestaShopDatabaseException($this->getMsgError());
608.         }
609.     }
610.
611.     /**

post-381170-0-26064000-1395237210_thumb.png

post-381170-0-97080200-1396001668_thumb.jpg

post-381170-0-90821500-1396001746_thumb.jpg

Edited by Radi (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...