Chiuso

Bugfixing Prestahop

Questo progetto è stato assegnato a megauravpanwar per €100 EUR.

Ottieni preventivi gratuiti per un progetto come questo
Datore di Lavoro impegnato
Budget del Progetto
€30 - €250 EUR
Offerte Totali
20
Descrizione del Progetto

We get after moving the webshop to another server this error:

Fatal error: Call to undefined function mysql_connect() in /home/kaadamandeve/public_html/classes/db/[url removed, login to view] on line 37

We have tried to upgrade the Prestashop, and then get altso this error in admin Modules:

PrestaShopDatabaseException]

Duplicate entry '21-1645' for key 'PRIMARY'

ALTER TABLE `ps_layered_product_attribute` ADD PRIMARY KEY (`id_attribute`, `id_product`), DROP KEY `id_attribute`, ADD UNIQUE KEY `id_attribute_group` (`id_attribute_group`,`id_attribute`,`id_product`)

at line 791 in file classes/db/[url removed, login to view]

786. if ($webservice_call && $errno) {

787. $dbg = debug_backtrace();

788. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);

789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {

790. if ($sql) {

791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');

792. }

793.

794. throw new PrestaShopDatabaseException($this->getMsgError());

795. }

796. }

DbCore->displayError - [line 425 - classes/db/[url removed, login to view]] - [1 Arguments]

DbCore->query - [line 601 - classes/db/[url removed, login to view]] - [1 Arguments]

DbCore->execute - [line 22 - modules/blocklayered/upgrade/[url removed, login to view]] - [1 Arguments]

upgrade_module_2_0_8 - [line 499 - classes/module/[url removed, login to view]] - [1 Arguments]

ModuleCore->runUpgradeModule - [line 1494 - controllers/admin/[url removed, login to view]]

AdminModulesControllerCore->initContent - [line 189 - classes/controller/[url removed, login to view]]

ControllerCore->run - [line 367 - classes/[url removed, login to view]]

DispatcherCore->dispatch - [line 58 - admin/[url removed, login to view]]

Stai cercando di guadagnare dei soldi?

  • Stabilisci il tuo budget ed il tempo limite
  • Metti in rilievo la tua proposta
  • Fatti pagare per il tuo lavoro

Assumi Freelancer che hanno fatto un'offerta per questo progetto

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online