Jump to content

Erreur type: Oops, something went wrong. Try to refresh this page ...


Recommended Posts

Bonjour a tous!

j'ai un gros probleme

cela fait maintenant deux semaines que parfois je me retrouve avec ce type de message:

 

Oops, something went wrong.
Try to refresh this page or feel free to contact us if the problem persists.

 

Pourriez vous m'aider a trouver la source de ce problème?

merci beaucoup!

post-745105-0-14340200-1394131309_thumb.jpg

Link to comment
Share on other sites

  • 1 month later...

Ce topic est vieux, mais comme je cherchais aussi une solution par rapport à cela, j'ai trouvé pour ma part la réponse

ici http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/

 

En appliquant cette méthode d'affichage d'erreur j'ai pu constater qu'une requete d'insertion provoquait cette erreur

chez moi

Duplicate entry '47059-25-2014-04-24 22:36:52' for key 'PRIMARY'

INSERT INTO `ps_connections_page` (`id_connections`, `id_page`, `time_start`) VALUES ('47059', '25', '2014-04-24 22:36:52')


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

601. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$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. 	/**

Ce n'est pas forcement le cas chez toi, mais bon.

Cette erreur je l'ai avec un prestashop 1.5.41

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...