romy1103 Posted March 27, 2015 Share Posted March 27, 2015 Hello There, My prestashop website installed ccintserver. com /prestashop/ went down immeadetialy after I had uploaded and installed an external moduleI did removed that module files from ftp but still the site is down. Any help appreciated thanks! Link to comment Share on other sites More sharing options...
razaro Posted March 27, 2015 Share Posted March 27, 2015 Go to config folder and edit defines.inc.php. Change the line: define('_PS_MODE_DEV_', false); to true. Error message should appear and give some gore details. Also check if that module have override folder in module zip, if that is the case it could be some code conflict. Link to comment Share on other sites More sharing options...
Eolia Posted March 27, 2015 Share Posted March 27, 2015 no override installed with this module ? If yes, delete them and clear the class_index.php Link to comment Share on other sites More sharing options...
doekia Posted March 27, 2015 Share Posted March 27, 2015 You got an internal server error 500This is probably something that get inserted into your .htaccessDepending on your version you may remove that file which will at least give your access to yoour backoffice. Link to comment Share on other sites More sharing options...
romy1103 Posted March 27, 2015 Author Share Posted March 27, 2015 Go to config folder and edit defines.inc.php. Change the line: define('_PS_MODE_DEV_', false); to true. Error message should appear and give some gore details. Also check if that module have override folder in module zip, if that is the case it could be some code conflict. I did made that to true but again got the below error Parse error: syntax error, unexpected T_STRING in /home1/thefunke/public_html/ccintserver/prestashop/override/classes/Link.php on line 95 Link to comment Share on other sites More sharing options...
Eolia Posted March 27, 2015 Share Posted March 27, 2015 yess ! delete this file /home1/thefunke/public_html/ccintserver/prestashop/override/classes/Link.php and delete the file /cache/class_index.php Link to comment Share on other sites More sharing options...
razaro Posted March 27, 2015 Share Posted March 27, 2015 Like Eolia said try to delete /override/classes/Link.php file and clear cache. Note that file could have code from some other module so compare code from that file and file that is in modules zip. Also you can post code here, maybe some clear error like extra } or missing ; . Link to comment Share on other sites More sharing options...
romy1103 Posted March 27, 2015 Author Share Posted March 27, 2015 After removing the link.php file I get the below error [PrestaShopException]Dispatcher::createUrl() miss required parameter "categories" for route "category_rule"at line 654 in file classes/Dispatcher.php 649. {650. if (!$data['required'])651. continue;652.653. if (!array_key_exists($key, $params))654. throw new PrestaShopException('Dispatcher::createUrl() miss required parameter "'.$key.'" for route "'.$route_id.'"');655. if (isset($this->default_routes[$route_id]))656. $query_params[$this->default_routes[$route_id]['keywords'][$key]['param']] = $params[$key];657. }658.659. // Build an url which match a route DispatcherCore->createUrl - [line 184 - classes/Link.php] - [6 Arguments] LinkCore->getCategoryLink - [line 936 - classes/Category.php] - [3 Arguments] CategoryCore->getLink - [line 5117 - modules/iqitmegamenu/iqitmegamenu.php] IqitMegaMenu->generateCategoriesMenu - [line 5014 - modules/iqitmegamenu/iqitmegamenu.php] - [2 Arguments] IqitMegaMenu->makeMenuMobile - [line 4260 - modules/iqitmegamenu/iqitmegamenu.php] IqitMegaMenu->_prepareHook - [line 4188 - modules/iqitmegamenu/iqitmegamenu.php] - [1 Arguments] IqitMegaMenu->hookDisplayTop - [line 510 - classes/Hook.php] - [1 Arguments] HookCore::exec - [line 457 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->initContent - [line 37 - controllers/front/IndexController.php] IndexControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
romy1103 Posted March 27, 2015 Author Share Posted March 27, 2015 (edited) The backoffice works fine now but the front gives the above error message - I guess I'll have to remove classes/Dispatcher.php too ?? Edited March 27, 2015 by romy1103 (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted March 27, 2015 Share Posted March 27, 2015 Is it some clear/pretty url module ? Yeah , try to delete/ backup that file too, but also check override/controllers as I think some of them override manufacturer,supplier,cms controllers. Best way is to see modules override folder and see what files it adds. Clear cache also. Link to comment Share on other sites More sharing options...
romy1103 Posted March 27, 2015 Author Share Posted March 27, 2015 Yes its clear url module - Taking backup now after that will delete the dispatcher.php coz I find the content within that file is very similar to that of link.php(which i deleted earlier) Link to comment Share on other sites More sharing options...
razaro Posted March 27, 2015 Share Posted March 27, 2015 Yeah so in your override folder beside https://github.com/Lebioda/PrestaShop-modules-CleanURLs/tree/master/cleanurls/override/classes remove also https://github.com/Lebioda/PrestaShop-modules-CleanURLs/tree/master/cleanurls/override/controllers/front And check steps from Uninstall http://lebioda.github.io/PrestaShop-modules-CleanURLs/ Link to comment Share on other sites More sharing options...
romy1103 Posted March 28, 2015 Author Share Posted March 28, 2015 Deleted both dispatcher.php and cache/class_index.php and the site is up now @razaro @eolia thank you very much appreciate the help!! Link to comment Share on other sites More sharing options...
Eolia Posted March 28, 2015 Share Posted March 28, 2015 Hem... it seems that there is also overrides for the front controllers https://github.com/Lebioda/PrestaShop-modules-CleanURLs/tree/master/cleanurls/override/controllers/front Delete them too. Link to comment Share on other sites More sharing options...
romy1103 Posted March 28, 2015 Author Share Posted March 28, 2015 hmm deleted those five overrides too - Thanks! Link to comment Share on other sites More sharing options...
doekia Posted March 28, 2015 Share Posted March 28, 2015 Deleted both dispatcher.php and cache/class_index.php and the site is up now @razaro @eolia thank you very much appreciate the help!! You are welcome Link to comment Share on other sites More sharing options...
romy1103 Posted March 28, 2015 Author Share Posted March 28, 2015 I get one more issue now while adding products I get the below pop and this comes frequently every few mins? Could you please help on this Please www. evernote. com/shard/s132/sh/68e405d6-e1ac-4279-9bc3-335066c98fef/4120320b51939df649cc5c34ec730ebc Link to comment Share on other sites More sharing options...
Eolia Posted March 28, 2015 Share Posted March 28, 2015 It's another issue. Try to reinstall your module "relatedpost" or delete it if the error persists Link to comment Share on other sites More sharing options...
Recommended Posts