alisaher2000 Posted November 7, 2015 Share Posted November 7, 2015 Dear Friends, Good day, Kindly, I have small problem after upgrade from 1.5 to 1.6 version. I have missing index.php in two roots: Updated files (2)admin5407/autoupgrade/index.php admin5407/autoupgrade/backup/index.php I add them manually but it does not work. I checked many forums they had same problem before. Some of them fixed the issue by editing the php.ini file. I have created one php.ini file and disable the Magic quotes: magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off But it still not working. Could you please advice me to solve it. Thanks in advance Ali Link to comment Share on other sites More sharing options...
NemoPS Posted November 7, 2015 Share Posted November 7, 2015 WHere did you get the index.php files you added there? It should work if you copy them from another folder. Once they are there, you shouldn't worry even if you have the warning Link to comment Share on other sites More sharing options...
NemoPS Posted November 7, 2015 Share Posted November 7, 2015 Did you turn on dev mode already? Link to comment Share on other sites More sharing options...
alisaher2000 Posted November 7, 2015 Author Share Posted November 7, 2015 Hi, Thanks for you reply. I got the index.php file from the main folder (public_html). I add them to the missing folder but I am still unable to view my webshop. I got error no. 500. any advice.. Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted November 7, 2015 Share Posted November 7, 2015 Yes, turn it on Link to comment Share on other sites More sharing options...
alisaher2000 Posted November 7, 2015 Author Share Posted November 7, 2015 No. Shall I turn it on? I think from config folder: define('_PS_MODE_DEV_', false) Correct? Link to comment Share on other sites More sharing options...
alisaher2000 Posted November 7, 2015 Author Share Posted November 7, 2015 Yes I did it now. What I should do now? Link to comment Share on other sites More sharing options...
alisaher2000 Posted November 7, 2015 Author Share Posted November 7, 2015 Now I can see the error: Current theme unavailable "default". Please check your theme directory name and permissions.at line 259 in file classes/controller/FrontController.php 254. Tools::redirect('index.php?controller=authentication'.($this->authRedirection ? '&back='.$this->authRedirection : ''));255. }256.257. /* Theme is missing */258. if (!is_dir(_PS_THEME_DIR_)) {259. throw new PrestaShopException((sprintf(Tools::displayError('Current theme unavailable "%s". Please check your theme directory name and permissions.'), basename(rtrim(_PS_THEME_DIR_, '/\\')))));260. }261.262. if (Configuration::get('PS_GEOLOCATION_ENABLED')) {263. if (($new_default = $this->geolocationManagement($this->context->country)) && Validate::isLoadedObject($new_default)) {264. $this->context->country = $new_default; FrontControllerCore->init - [line 170 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
alisaher2000 Posted November 7, 2015 Author Share Posted November 7, 2015 OK I solve it by enable the defualt directory to the them. But the them does not work fine. I will check it. ' Thanks. Link to comment Share on other sites More sharing options...
varenne Posted May 16, 2017 Share Posted May 16, 2017 vai in configura----email--- Imposta parametri SMTP personali (per utenti avanzati) mettili manualmente e funziona Link to comment Share on other sites More sharing options...
Recommended Posts