Search the Community
Showing results for tags 'server error 500'.
-
Hello there, From a day to the next, i got an error on my website Prestashop 1.7.5.1, Parse error: syntax error, unexpected '$html' (T_VARIABLE), expecting function (T_FUNCTION) in /home/bijougrasl/ideecad/classes/controller/FrontController.php on line 669 Here is the line 669 I am available for any further information Thanks
- 1 reply
-
- server error 500
- error 500
-
(and 2 more)
Tagged with:
-
Hi everyone I have an interesting case where I would love to hear oppinions and ideas towards a solution: On my Presta 1.7 instance on www.lorisvelos.ch, a strange error occurs. I noticed it on two completely independent module pages thus far, and it only appears in Firefox browsers and only on about 8/10 computers (independent of Firefox version or OS). I mean that, I tested it on serveral machines, on two it did not throw the errors, on the others it did. The pages where it occurs are: 1. https://lorisvelos.ch/Galerie (If you click on a picture, then if fails to load in the name of the account in the top) 2. https://lorisvelos.ch/module/supercheckout/supercheckout (appears right away accessing page, failing to load in cart, carriers and payment options) I attached screen shots of the console error of both pages. Server-side, the error log for both instances reads like this: With Debug-Mode activated: This is line 165 in dbPDO.php: /** * Executes an SQL statement, returning a result set as a PDOStatement object or true/false. * * @see DbCore::_query() * * @param string $sql * * @return PDOStatement */ protected function _query($sql) { return $this->link->query($sql); } /** Originally I thought the error might be in the modules, but as the two completely unrelated modules throw the exact same one, it has to be a central issue. I found it to occur "only" on these two modules thus far. Any Ideas? Thank you in advance Florian ********************************************************************************************************************* FIXED! After trying everything, I disabled an external cache module calles Litespeedcache. After disabling it, the error went away.
-
- server error 500
- modules issue
-
(and 2 more)
Tagged with:
-
Hi, I've a problem with my back office i can't join it now ,i just see this message Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. Please help me thanks.
-
Hallo community, ich bitte um eure Hilfe: trotz inzwischen 5 Installationsversuchen auf 2 verschiedenen Servern, gelingt es mir einfach nicht, eine stabil funktionierende Version eines Prestashops 1.7.6.1 zum Laufen zu bringen. Hier ein paar Infos dazu: Folgende Voraussetzungen habe ich inzwischen geschaffen: im Hosting Paket von Strato PHP 7.2 aktiviert, PHP Boost aktiv Strato SSL ist der Domain zugewiesen SSL erzwingen ist bei Strato aktiv Datenbank angelegt In Prestashop Back Office: Installation und Verknüpfung der Datenbank funktioniert einwandfrei install-Verzeichnis wurde gelöscht Admin-Ordner wurde umbenannt gekauftes Template konnte hochladen und angepasst werden Alle Demo-Artikel/ Kategorie wurden gelöscht (mit PSCleaner) SSL für alle Seiten aktiviert Bei einem der Versuche habe ich auch folgendes probiert: Löschen der .htaccess-Datei aus dem admin Ordner (?) Löschen des Caches im Back Office (?) Verwendung von PHP 7.1 (bei Strato) Aus irgendeinem Grund, den ich nicht nachvollziehen kann, ist das Back Office bei all meinen Versuchen immer nach ein paar Stunden oder am nächsten Tag nicht mehr erreichbar. Das Front-End bleibt immer sichtbar, nur der Adminbereich liefert 500 Internal Server Error oder, im schlimmsten Falle, nur eine weiße Seite. Das Löschen des Browserverlaufs hilft auch nicht weiter. Wo ist der Denkfehler? Woran kann es liegen? Für Ideen und Tipps bin ich dankbar. Eine Umstellung (geplant ist Migration mit Cart2Cart) auf ein System, das nicht stabil erreichbar ist, macht mir große Sorgen! Grüße an alle! webstone77
- 8 replies
-
- back office
- installation
-
(and 1 more)
Tagged with:
-
Good day, Have a site, which was working fine yesterday, today "Internal Server Error 500". Also, do not have config files when I FTP to my site" config/config.inc.php" looks like a shortcut, and there is a index.php. Thats all, which tells me it may be broken, so does anyone know how to fix this problem? Thanks Kobie
-
Hello everybody, I am facing some issues to migrate my shop from a localhost to a server ovh. Could you help me to understand what's my problem? I change all reference of localhost in my database (.sql) And I put the right data (I check many times)on "settings.inc.php" but : (same for frontoffice or back office) Table 'bredandco.pss_shop_url' doesn't exist SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM pss_shop_url su LEFT JOIN pss_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'b-red.be' OR su.domain_ssl = 'b-red.be') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC at line 635 in file classes/db/Db.php 629. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);630. } 631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))632. {633. if ($sql)634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');635. throw new PrestaShopDatabaseException($this->getMsgError());636. }637. }638. 639. /** DbCore->displayError - [line 325 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 501 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 329 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 97 - config/config.inc.php] require - [line 27 - index.php] - [1 Arguments] I delete all in tools/smarty/compile/ ..but nothing change I don't find someone with the same probleme so I post mine here. If you need more details to help me to solve my problem don't hesitate to ask, I am a beginner. Sorry for my english if it's not excellent, I'm from Belgium ^^.
-
Hello everyone, I have a problem on my prestashop 1.606. On the last step to confirm orders, it throws a Server 500 error. I was able to change the defines.ini.php file and it gave me this info. I just hope any of you guys can help me fix it. Thank you for all your help. [PrestaShopException]Can't load Order status at line 156 in file classes/PaymentModule.php 150. if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery')151. $context_country = $this->context->country;152. 153. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id);154. if (!Validate::isLoadedObject($order_status))155. throw new PrestaShopException('Can\'t load Order status');156. 157. if (!$this->active)158. die(Tools::displayError());159. // Does order already exists ?160. if (Validate::isLoadedObject($this->context->cart) && $this->context->cart->OrderExists() == false) PaymentModuleCore->validateOrder - [line 64 - modules/bankwire/controllers/front/validation.php] - [9 Arguments]58. '{bankwire_owner}' => Configuration::get('BANK_WIRE_OWNER'),59. '{bankwire_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')),60. '{bankwire_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS'))61. );62. 63. $this->module->validateOrder($cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key);64. Tools::redirect('index.php?controller=order-confirmation&id_cart='.$cart->id.'&id_module='.$this->module->id.'&id_order='.$this->module->currentOrder.'&key='.$customer->secure_key);65. }66. } BankwireValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php]165. // setMedia MUST be called before postProcess166. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))167. $this->setMedia();168. 169. // postProcess handles ajaxProcess170. $this->postProcess();171. 172. if (!empty($this->redirect_after))173. $this->redirect();174. 175. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) ControllerCore->run - [line 373 - classes/Dispatcher.php]367. // Execute hook dispatcher368. if (isset($params_hook_action_dispatcher))369. Hook::exec('actionDispatcher', $params_hook_action_dispatcher);370. 371. // Running controller372. $controller->run();373. }374. catch (PrestaShopException $e)375. {376. $e->displayMessage();377. } DispatcherCore->dispatch - [line 28 - index.php]22. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)23. * International Registered Trademark & Property of PrestaShop SA24. */25. 26. require(dirname(__FILE__).'/config/config.inc.php');27. Dispatcher::getInstance()->dispatch();
-
The website encountered an error while retrieving http://mywebsite.com.au/shop/. It may be down for maintenance or configured incorrectly. HTTP Error 500 (Internal Server Error) I have installed a fresh install with the latest build. I can login to admin fine but the front page will not load. Does it require any php.ini edits? Do you have to do anything in the backend to make the front page work? thanks in advance