Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 9 matches
Smarty Forum Index
Author Message
  Topic: smarty_function_config_load() problem...
lodjikz

Replies: 1
Views: 7372

PostForum: General   Posted: Wed Jul 27, 2005 1:33 pm   Subject: smarty_function_config_load() problem...
ok,

by now i managed a solution, maybe the right way to do it...
i only call config_load in the PHP, not in the template and assign the config variable value to the template and it works nice.

...
  Topic: config_load()
lodjikz

Replies: 2
Views: 26722

PostForum: Language: Portuguese   Posted: Wed Jul 27, 2005 1:39 am   Subject: config_load()
ola

so hj voltei o forum tuga.
entretantto tinha deixado a msg no forum geral.

Funcionou sem problemas!

Entretanto encalhei neste ponto:

http://www.phpinsider.com/smarty-forum/viewtopic.p ...
  Topic: smarty_function_config_load() problem...
lodjikz

Replies: 1
Views: 7372

PostForum: General   Posted: Wed Jul 27, 2005 1:36 am   Subject: smarty_function_config_load() problem...
Hi,

each time i load my index.tpl i have to dinamically load some config file section. the problem is that the second time a run config_load it tells me:

Fatal error: Call to undefined function ...
  Topic: smarty isnt compiling my templates...
lodjikz

Replies: 1
Views: 4646

PostForum: General   Posted: Sun Jul 24, 2005 4:31 pm   Subject: smarty isnt compiling my templates...
hi,

im unable to compile any template to templates_c and dont know why. tryed the fish boy example and still smarty cant compile it.

any suggestion?

my index.php:
<?php

// load Smarty ...
  Topic: unable to read resource...
lodjikz

Replies: 1
Views: 4329

PostForum: General   Posted: Sat Jul 23, 2005 4:32 pm   Subject: unable to read resource...
ok, i got it now. sure it was ntfs permissions...

bye
  Topic: unable to read resource...
lodjikz

Replies: 1
Views: 4329

PostForum: General   Posted: Sat Jul 23, 2005 4:04 pm   Subject: unable to read resource...
hi,

i'm trying to load a template from the correct template dir
but always get this error:

User Warning: c:\Programas\PHP-5.0.4\smarty\libs\Smarty.class.php line 1088 - Smarty error: unable to ...
  Topic: config_load doesn't work
lodjikz

Replies: 2
Views: 5790

PostForum: General   Posted: Fri Jul 22, 2005 12:40 am   Subject: config_load doesn't work
hey there thx for the quick answer.

i did read the manual first.
i made a mistake by not putting my .conf in the $configs_dir.
now i solved it plus added your solution but still i get
unable to ...
  Topic: config_load doesn't work
lodjikz

Replies: 2
Views: 5790

PostForum: General   Posted: Thu Jul 21, 2005 10:57 pm   Subject: config_load doesn't work
hi

i've been trying to load a .conf file inside this template but always get this error:

PHP Warning: Smarty error: unable to read resource: "{menus.conf" in C:\Programas\PHP-5.0.4\smarty\libs\S ...
  Topic: config_load()
lodjikz

Replies: 2
Views: 26722

PostForum: Language: Portuguese   Posted: Thu Jul 21, 2005 10:49 pm   Subject: config_load()
ola.

estou a tentar carregar um ficheiro de configuracao para um template mas obtenho sempre este erro

PHP Warning: Smarty error: unable to read resource: "{menus.conf" in C:\Programas\PHP-5.0.4 ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP