booblebab Posted August 7, 2009 Share Posted August 7, 2009 I installed a fresh copy of PrestaShop 1.2 on my server, and uploaded various themes (from www.prestathemes.com), but when I use the theme selector in the Back Office, everything is OK with the change, but I look at the Front Office and the theme hasn't been applied - and there's a list of all the website contents in Times New Roman. Have a look: http://lv.maf-shop.com/It does this with EVERY theme.I have tried copying over the original "prestashop" theme, and also creating new ones - nothing works.What is the problem? Link to comment Share on other sites More sharing options...
guitarplayer Posted August 7, 2009 Share Posted August 7, 2009 Hello,Go to the theme that you want to use open header.tpl and make sure that the directory variable is like this var baseDir = '{$content_dir}'; Remember to make a backup if this doesn't work.Best,GuitarPlayer. Link to comment Share on other sites More sharing options...
booblebab Posted August 7, 2009 Author Share Posted August 7, 2009 Thanks It's actually set at:ar baseDir = '{$base_dir}';I'll change it.... ok, I changed it, and re-applied the theme, but it still doesn't work: http://lv.maf-shop.com/ Link to comment Share on other sites More sharing options...
guitarplayer Posted August 7, 2009 Share Posted August 7, 2009 ok,go to config/settings.inc.php and make sure it's this define('__PS_BASE_URI__', '/'); remember to make backup Link to comment Share on other sites More sharing options...
CGregory Posted August 7, 2009 Share Posted August 7, 2009 I too am experiencing this issue. I have tried both methods of the fix you suggested and still no go. Working on a site for someone and they want the "creation-shop-theme-1 / only-girls" theme. I apply the theme and it won't work. Any more though to why it does this?Mustang97 Link to comment Share on other sites More sharing options...
booblebab Posted August 7, 2009 Author Share Posted August 7, 2009 ok,go to config/settings.inc.php and make sure it's thisdefine('__PS_BASE_URI__', '/'); remember to make backup i cant find the config/settings.inc.php file in the main dir, nor in the themes dir... Link to comment Share on other sites More sharing options...
CGregory Posted August 7, 2009 Share Posted August 7, 2009 The file is ROOT/config/settings.inc.phpHowever that fix didn't work for me. Link to comment Share on other sites More sharing options...
booblebab Posted August 7, 2009 Author Share Posted August 7, 2009 The file is ROOT/config/settings.inc.phpHowever that fix didn't work for me. i dont have that file... Link to comment Share on other sites More sharing options...
CGregory Posted August 7, 2009 Share Posted August 7, 2009 That's very intresting. I just installed Presta last night and its there. Not sure what to tell you. Link to comment Share on other sites More sharing options...
guitarplayer Posted August 7, 2009 Share Posted August 7, 2009 The file is ROOT/config/settings.inc.phpHowever that fix didn't work for me. i dont have that file... The folder is named config and then you open settings.inc.php which is located in the config folder.If you don't have this then no themes will work even the original 1.2 Prestashop Theme. Link to comment Share on other sites More sharing options...
booblebab Posted August 7, 2009 Author Share Posted August 7, 2009 Ah crap, I was looking in my local dir on Dw... but I didn't check the remote. It's there.Sorry for being a dumbass.Now to change what you suggested...Ok, I checked, and it was already like that:define('__PS_BASE_URI__', '/');Strange... it seems 1.2 is buggy... I even tried a theme meant for 1.2 (Prestasweet 1.2) Link to comment Share on other sites More sharing options...
guitarplayer Posted August 7, 2009 Share Posted August 7, 2009 Hi,at the moment in your source code I see this <base href="lv.maf-shop.comhttp://lv.maf-shop.com/" /> it shouldn't be like that, have a look in header.php and if possible post the code here for me to see. Link to comment Share on other sites More sharing options...
junnecito Posted August 7, 2009 Share Posted August 7, 2009 Just to say that not all the themes from 1.1 are availeble for the ver. 1.2. Link to comment Share on other sites More sharing options...
booblebab Posted August 7, 2009 Author Share Posted August 7, 2009 Hi,at the moment in your source code I see this<base href="lv.maf-shop.comhttp://lv.maf-shop.com/" /> it shouldn't be like that, have a look in header.php and if possible post the code here for me to see. ok, i dont see anything irregular, but im not that up to speed with presta...heres so u can have a looksie:<?php // P3P Policies (http://www.w3.org/TR/2002/REC-P3P-20020416/#compact_policies) header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"'); require_once(dirname(__FILE__).'/init.php'); /* CSS */ $css_files[_THEME_CSS_DIR_.'global.css'] = 'all'; /* Hooks are volontary out the initialize array (need those variables already assigned) */ $smarty->assign(array( 'HOOK_HEADER' => Module::hookExec('header'), 'HOOK_LEFT_COLUMN' => Module::hookExec('leftColumn'), 'HOOK_TOP' => Module::hookExec('top'), 'static_token' => Tools::getToken(false), 'token' => Tools::getToken(), 'priceDisplayPrecision' => _PS_PRICE_DISPLAY_PRECISION_, 'content_only' => intval(Tools::getValue('content_only')) )); if(isset($css_files) AND !empty($css_files)) $smarty->assign('css_files', $css_files); if(isset($js_files) AND !empty($js_files)) $smarty->assign('js_files', $js_files); /* Display a maintenance page if shop is closed */ if (isset($maintenance) AND (!isset($_SERVER['REMOTE_ADDR']) OR $_SERVER['REMOTE_ADDR'] != Configuration::get('PS_MAINTENANCE_IP'))) { header('HTTP/1.1 503 temporarily overloaded'); $smarty->display(_PS_THEME_DIR_.'maintenance.tpl'); exit; } $smarty->display(_PS_THEME_DIR_.'header.tpl'); ?> Link to comment Share on other sites More sharing options...
guitarplayer Posted August 7, 2009 Share Posted August 7, 2009 well that looks ok to me does the official Prestashop 1.2 theme work for you? the one supplied with the download of Prestashop. Link to comment Share on other sites More sharing options...
booblebab Posted August 7, 2009 Author Share Posted August 7, 2009 yes - and the only theme i managed to apply was Prestasweet 1.2 without Logo Hack (it's pretty much just replacing a few files of the original prestashop... so no wonder): http://www.prestathemes.com/demoshop6/ Link to comment Share on other sites More sharing options...
andybr1ggs Posted August 7, 2009 Share Posted August 7, 2009 Hi I am having the exact same problem when trying to install the themes, can somebody help!!!!! also i have got the custom template on now, and may I take this opportunity to say that after trying many shopping carts (test the water over the past few weeks) Think that this is the best one by far the only one I cant rate it against is magento. But alot better than zen and cubecart, oscommerce.Can someone help me how do I edit the first page in www.chippedmodems.com ? I dont know where to take the french writing out or edit the names of pics etc etc etc Thanks in advance.Andy. Link to comment Share on other sites More sharing options...
guitarplayer Posted August 7, 2009 Share Posted August 7, 2009 Hey Andy,Go to the back office - then click the modules tab - on the modules page find the tools section of modules - then click configure where Home Text Editor is written.Best,GuitarPlayer.P.S the text is Latin. Link to comment Share on other sites More sharing options...
booblebab Posted August 7, 2009 Author Share Posted August 7, 2009 P.S the text is Latin. roooofl Link to comment Share on other sites More sharing options...
andybr1ggs Posted August 7, 2009 Share Posted August 7, 2009 lol guitarman cheers m8 Link to comment Share on other sites More sharing options...
booblebab Posted August 8, 2009 Author Share Posted August 8, 2009 Hi I am having the exact same problem when trying to install the themes, can somebody help!!!!! it seems that this needs a serious fix... Link to comment Share on other sites More sharing options...
goooday Posted August 11, 2009 Share Posted August 11, 2009 hi..i'm facing this problem alsoi have changed : - var baseDir = '{$base_dir}'; --> var baseDir = '{$content_dir}'; - define('__PS_BASE_URI__', '/prestashop/'); --> define('__PS_BASE_URI__', '/');but it still not work.i installed prestashop 1.2.0.8 in my pc using xampp.can somebody help?? Link to comment Share on other sites More sharing options...
andybr1ggs Posted August 11, 2009 Share Posted August 11, 2009 Hi I am having the exact same problem when trying to install the themes, can somebody help!!!!! it seems that this needs a serious fix... Link to comment Share on other sites More sharing options...
andybr1ggs Posted August 13, 2009 Share Posted August 13, 2009 HiI have found a very simple way to fix so you can use v1.1 themes goto backoffice themes backoffice > preferneces > scroll all the way to the bottom and tick the v1.1 theme compatibly;-) Link to comment Share on other sites More sharing options...
CGregory Posted August 13, 2009 Share Posted August 13, 2009 Not seeing what your referring to. I see nothing about 1.1 compatibility.** CorrectionNow I see the option. Should have stated to make sure and get the updated release made yesterday. Now that I updated to the most current I see the option. Link to comment Share on other sites More sharing options...
andybr1ggs Posted August 13, 2009 Share Posted August 13, 2009 have you download the latest prestacart ? Version 1.2.1.0 ? Link to comment Share on other sites More sharing options...
CGregory Posted August 13, 2009 Share Posted August 13, 2009 yea, saw .. I updated my post right after I saw they had a new release. Link to comment Share on other sites More sharing options...
khinester Posted November 17, 2009 Share Posted November 17, 2009 Hello, I am building a new theme and have followed the example as per http://www.prestashop.com/wiki/Themes/But the only way I could force to use the new theme is to update the $ vim config/settings.inc.phpso thatdefine('_THEME_NAME_', 'mytheme');I looked at the permissions for this folder and it is set as:$ chmod 777 config$ ls -al config total 40drwxrwxrwx 6 khine khine 204 Nov 17 10:12 .drwxr-xr-x 62 khine khine 2108 Nov 17 10:12 ..-rw-r--r-- 1 khine khine 5893 Oct 28 10:46 config.inc.php-rw-r--r-- 1 khine khine 300 Oct 26 09:51 index.php-rw-r--r-- 1 khine khine 429 Nov 17 10:09 settings.inc.php-rw-r--r-- 1 khine khine 3224 Oct 26 09:51 smarty.config.inc.phpwhat should be the correct write permissions for the config folder and the file contents?$ chmod 666 config/settings.inc.phpIs this correct? Link to comment Share on other sites More sharing options...
karasardelis Posted November 19, 2009 Share Posted November 19, 2009 I'm too having the exact same problem... I downloaded a new v1.2 theme, i changed all permissions but I'm unable to apply the theme... Anyone available to help, please? Link to comment Share on other sites More sharing options...
nyrescue Posted November 28, 2009 Share Posted November 28, 2009 Why is it I cannot see anything under categories when I have numerous clothing?? In the box on the left side there is nothing listed. Link to comment Share on other sites More sharing options...
andybr1ggs Posted November 28, 2009 Share Posted November 28, 2009 Why is it I cannot see anything under categories when I have numerous clothing?? In the box on the left side there is nothing listed. download and installthi i had same problem but after installing this i was okhttp://www.prestashop.com/forums/viewthread/10769/modules/modulemodified_categories_menu_modifiedCheersAndy Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now