giga8384 Posted September 14, 2014 Share Posted September 14, 2014 Hi, it´s my first post in this Forum, so first at all a big hello and thanks for all the help we get from here!!! I searched now for over 3 days in this forum and on the internet generally, but I not able to solve my problem, mayby you can help me because i lose my mind with this... - I set up a prestashop (Version 1.6) and after a upgrade (1 Click Upgrade) I had to upgrade my 3rd party theme too. - I´m not a professional developer and so the 3rd party upgrade goes wrong (it was my fault, send the files to the wrong destination and then the trouble began...) - I made all the backups (all files local per FTP and SQL Database Update via Prestashop) so I said... delete everything from the Server and clear the Database and then restore the shop with your backupfiles, it will be a piece of cake.... HUGE mistake! - I send all files per FTP back to the Server and via phpMyAdmin I imported the backup of the Database. - Now I can access the Backoffice, but on the Frontoffice I get a Error 500... I enabled the - define('_PS_MODE_DEV_', true); - so you can see the errors on www.bijoubox.gr - In the BO I can´t select the 3rd party theme (There is only the default theme)?! But I didn´t change anything anywhere?! I am really confused and I don´t no what to do, so please help me! Many thanks in advance!!! Link to comment Share on other sites More sharing options...
giga8384 Posted September 14, 2014 Author Share Posted September 14, 2014 (edited) Mayby this will help to localize the problem: When I go into the BO on Templates I get this an error window with this warnings: Notice in Zeile 634 der Datei /var/www/vhosts/bijoubox.gr/httpdocs/cache/smarty/compile/ba/5c/75/ba5c755be5216213d6cec7413e3a1050e0a77ab4.file.options.tpl.php [8] Undefined index: theme_directory Notice in Zeile 640 der Datei /var/www/vhosts/bijoubox.gr/httpdocs/cache/smarty/compile/ba/5c/75/ba5c755be5216213d6cec7413e3a1050e0a77ab4.file.options.tpl.php [8] Undefined index: theme_name Notice in Zeile 680 der Datei /var/www/vhosts/bijoubox.gr/httpdocs/cache/smarty/compile/ba/5c/75/ba5c755be5216213d6cec7413e3a1050e0a77ab4.file.options.tpl.php [8] Undefined index: theme_id Edited September 14, 2014 by giga8384 (see edit history) Link to comment Share on other sites More sharing options...
giga8384 Posted September 16, 2014 Author Share Posted September 16, 2014 Unfortunately I got no help here ... so I searched on my own and finally I found the Error. In my backup the theme name began with capital -letter (Autumn), but Unix is case sensitive and so PS was not able to find the Theme. After renaming in lower case the Shop worked fine (autumn)! A big thanks go to Sercan Yemen from the Autumn Theme!!! I am working with the Autumn Theme from themeforest.net - Great Theme and great Support !!! (http://themeforest.net/item/autumn-responsive-prestashop-16-theme-with-blog/3848244?WT.ac=category_item&WT.z_author=srcn) Link to comment Share on other sites More sharing options...
pkodevphp Posted January 22, 2015 Share Posted January 22, 2015 (edited) Hi Guys![topic: update theme in prestashop 1.6] A answer with delay;if you have the error in Theme like file.options.tpl.php [8] Undefined index: theme_directory ( or theme_name ),You need a Config.xml (warning case sensitive don't config.xml ) at root of this theme, and the directory,name,version as attribute of theme element:themes/myTheme/Config.xml <?xml version="1.0" encoding="UTF-8"?> <theme version="1.0" name="the name of your theme" directory="the name of the directory of your theme"> </theme> Look at config/theme/default.xml to have a example of configuration file, it is the copy of the configuration file of default-boostrap, the coming theme of prestashop 1.6 Best, Edited January 22, 2015 by pkodevphp (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts