Jump to content

505 error pagando con qualsiasi metodo di pagamento


salutecenter

Recommended Posts

Salve,

da qualche ora dopo aver aggiornato prestashop alla versione 1.7.0.11 ho riscontrato questo problema. Facendo un acquisto e pagando con qualsiasi metodo di pagamento alla conferma dell'ordine apparte una pagina 505 internal server error:

500 Server Error

Oops, something went wrong.

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

 

 

 

Creando un ordine da back office al momento della creazione ordine mi da errore di questo tipo:

[PrestaShopException]

Can't save Order
at line 340 in file classes/PaymentModule.php

 

335.                     $result = $order->add();
336.
337.                     if (!$result)
338.                     {
339.                         PrestaShopLogger::addLog('PaymentModule::validateOrder - Order cannot be created', 3, null, 'Cart', (int)$id_cart, true);
340.                         throw new PrestaShopException('Can\'t save Order');
341.                     }
342.
343.                     // Amount paid by customer is not the right one -> Status = payment error
344.                     // We don't use the following condition to avoid the float precision issues : http://www.php.net/manual/en/language.types.float.php
345.                     // if ($order->total_paid != $order->total_paid_real)

 

 

 

 

se volete provare il sito è www.salutecenter.it

 

I permessi sono gia settati in maniera corretta file e cartelle, ho gia provato a backuppare il db ma niente il problema persiste. Ho provato a cercare ma nessun topic è simile, qui il problema è pagando in qualsiasi maniera non paypal e basta. VI PREGO AIUTATEMI :D

 

Link to comment
Share on other sites

Ok grazie, settando quello mi da errore anche solo entrando su "ordini" dal backoffice

 

 

[PrestaShopDatabaseException]

Unknown column 'last_connection_date' in 'where clause'
 

            UPDATE `ps_employee`
            SET `last_connection_date` = CURRENT_DATE()
            WHERE `id_employee` = 1 AND `last_connection_date`< CURRENT_DATE()
        

at line 639 in file classes/db/Db.php

 

634.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
635.         }
636.         elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
637.         {
638.             if ($sql)
639.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
640.             throw new PrestaShopDatabaseException($this->getMsgError());
641.         }
642.     }
643.
644.     /**
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...