Php Error Error Loading Template For Folders
Sign in Pricing Blog Support Search GitHub This repository Watch 192 Star 1,893 Fork 761 roundcube/roundcubemail Code Issues 183 Pull requests 30 Projects 0 Wiki Pulse Graphs New issue RC thows error on login if prefered skin isn't available #3857 Closed rcubetrac opened this Issue Aug 8, 2012 · 8 comments Projects None yet Labels bug C: PHP backend Milestone 0.8.1 Assignees No one assigned 1 participant rcubetrac commented Aug 8, 2012 Reported by langj on 8 Aug 2012 22:31 UTC as Trac ticket #1488591 PHP Error in /var/www/html/roundcube-testing/program/include/rcube_template.php (431): Error loading template for mail SERVICE CURRENTLY NOT AVAILABLE! Error loading template for mail All i had to do was go through every user that had an old skin listed in mysql preferences and change it to "classic". Migrated-From: http://trac.roundcube.net/ticket/1488591 rcubetrac commented Aug 9, 2012 Comment by @alecpl on 9 Aug 2012 06:18 UTC Did you delete Larry skin? For users with 'default' skin is configured 'larry' would be used. rcubetrac commented Aug 9, 2012 Milestone changed by @alecpl on 9 Aug 2012 06:18 UTC later => 0.8.1 rcubetrac commented Aug 9, 2012 Comment by langj on 9 Aug 2012 14:19 UTC no i left larry there because it's awesome, with .7.0 i had a skin titled 'black' that was just the default with a few color changes, users with 'black' in the preferences got the error above while anyone without a skin preference have 'larry' when they log in to .8.0. rcubetrac commented Aug 9, 2012 Comment by @alecpl on 9 Aug 2012 15:59 UTC So, you've removed skins/black folder? rcubetrac commented Aug 9, 2012 Comment by langj on 9 Aug 2012 16:08 UTC that is correct the skins/black folder doesn't exist anymore. rcubetrac commented Aug 9, 2012 Comment by @thomascube on 9 Aug 2012 20:02 UTC While removing a previously configured skin isn't the best idea, we now fixed Roundcube to silently fall back to larry skin in aff970b. rcubetrac commented Aug 9, 2012 Status changed by @thomascube on 9 Aug 2012 20:02 UTC new => closed rcubetrac closed this Aug 9, 2
check your private messages • Register • Log in fatal error unable to load template file index. Php Smarty Forum Index -> Installation and Setup View previous topic :: View next topic Author Message telimSmarty n00bJoined: 06 Sep 2013Posts: 1 Posted: Wed Sep 11, 2013 6:29 am Post subject: fatal error unable to load template file index. Php I am a complete novice with smarty and have being trying for about six days on how to https://github.com/roundcube/roundcubemail/issues/3857 solve smarty template error problem without luck. Had like some one to put me through on how to go about these error. Your advice will be highly appreciated. These are my folder structur gcproject -smarty --libs -templates --index.tpl -templates_c -cache -config -index.php -testinstall.php when i load testinstall.php it shows all folders are okay. code in index.php http://www.smarty.net/forums/viewtopic.php?p=85690&sid=165eca0b7c1bbef5b3a9e3cbe5306571 require_once('Smarty.class.php'); $smarty= new Smarty(); $smarty->template_dir='c:/wamp/www/gcproject/templates' $smarty->compile_dir='c:/wamp/www/gcproject/templates_c' $smarty->cache_dir='c:/wamp/www/gcproject/cache' $smarty->config_dir='c:/wamp/www/gcproject/config' $ s ma r t y - > assign( 'name ' , ' maingate' ) ; $ smarty- > display ( 'index.tpl ' ) ; ?> code in index.tpl {* Smarty *} Hello {$name}, welcome to Smarty! when i load testinstall.php page it shows all folders are oka but each time i load index.php i get the following error. processRequest(); $controller->displayOutput(); ?> Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'index.tpl'' in c:/wamp/www/gcproject/Smarty/libs/sysplugins/ smarty_internal_ templatebase.php:127 Stack trace: #0 c:/wamp/www/gcproject/Smarty/ libs/sysplugins/smarty_internal_ templatebase.php(374): Smarty_ Internal_TemplateBase->fetch ('index.tpl', NULL, NULL, NULL, true) #1 c:/wamp/www/gcproject/ index.php(336): Smarty_Internal_TemplateBase- >display('index.tpl') c:/wamp/ www/gcproject/index.php (14): Controller->displayOutput() #3 {main} thrown in c:/wamp/www//Smarty/libs/sysplugins/ smarty_internal_templatebase.php on line 127 Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearOldest FirstNewest First Smarty Forum Index -> Installation and Setup All times are GMT Page
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About http://stackoverflow.com/questions/17064654/smarty-3-template-from-outside-templates-folder Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the http://forum.joomla.org/viewtopic.php?t=825996 Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Smarty 3 template from outside templates php error folder up vote 0 down vote favorite I have had been doing same with previous smarty versions... Like loading a TPL file outside of specified templates folder, like this: $smarty->display("../admin/bin/tpl/default.tpl"); exit(); however since upgrade, I receive following errors: [12-Jun-2013 11:40:12 UTC] PHP Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '../admin/bin/header.tpl' in '../admin/bin/tpl/default.tpl'' in php smarty smarty3 share|improve this question asked Jun php error error 12 '13 at 11:45 Whocares 669 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted Have you tried an absolute path? i.e. $smarty->display("/var/www/mywebsite.com/templates/admin/bin/tpl/default.tpl"); That should work according to the manual (and it does for me) share|improve this answer answered Jun 12 '13 at 11:55 strikernl 307210 Thank you! it works... how could I've not guessed it first? need a break lol –Whocares Jun 12 '13 at 12:00 You're welcome ;) –strikernl Jun 12 '13 at 12:01 You can also define multiple paths for templates smarty.net/docs/en/api.add.template.dir.tpl –YomY Jun 12 '13 at 12:42 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged php smarty smarty3 or ask your own question. asked 3 years ago viewed 1502 times active 3 years ago Related 1Smarty Rendering with Sub-Templates & Plugins2Upgrading Smarty f