Jump to content

Impossible to add the product to the cart.


Recommended Posts

Any help will be appreciated for this problem

 

 

Impossible to add the product to the cart.

 

textStatus: 'error'

errorThrown: 'Internal Server Error'

responseText:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta name="description" content="Boutique propulsée par PrestaShop" />

<link rel="shortcut icon" href="/img/favicon.ico" />

</head>

<body>

<div id="maintenance" style="margin:0 auto;width:940px;font:normal 30px Arial, Verdana, sans-serif;color:#333;">

<p><img src="/img/logo.jpg" width="209" height="52" alt="logo" /><br /><br /></p>

<p id="message" style="margin:0 20px;padding:50px 310px 0 0;height:360px;background:url(/img/bg_500.png) no-repeat 100% 0 #fff">

Oops, something went wrong.<br /><br />

Try to refresh this page or feel free to contact us if the problem persists.

</p>

<span style="clear:both;"> </span>

</div>

</body>

</html>

Link to comment
Share on other sites

  • 7 months later...

your website returns internal server error 

9w4EAVq.png

 

you can find there:

 

</style><div id="psException"><h2>[PrestaShopDatabaseException]</h2><p><b>Unknown column 'code_offre' in 'field list'<br /><br /><pre>INSERT INTO `ps_cart` (`id_shop_group`, `id_shop`, `id_address_delivery`, `id_address_invoice`, `id_carrier`, `id_currency`, `id_customer`, `id_guest`, `id_lang`, `recyclable`, `gift`, `gift_message`, `mobile_theme`, `delivery_option`, `secure_key`, `allow_seperated_package`, `date_add`, `date_upd`, `code_offre`) VALUES ('1', '1', '0', '0', '0', '1', '0', '1539', '1', '0', '0', '', '0', '', '', '0', '2014-04-02 13:17:43', '2014-04-02 13:17:43', '')</pre></b><br /><i>at line </i><b>607</b><i> in file </i><b>classes/db/Db.php</b></p><div class="psTrace" id="psTrace_" style="display: block"><pre>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'))

 

what is code_offre ?

it looks like some non default field, for what purposes you modified core of ps?

it doesnt work because of this.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...