Guys,
This is problem is due to a bug when no smarty helpers are loaded.
The workaround is to load some helpers even if you do not need to, add
the following line to settings.yml:
smarty_helpers: [AppUrl, Helper]
Pavel
On Jan 5, 6:42 pm, Jesse <[email protected]> wrote:
> Hi Saad,
>
> Im the current lead developer of the smarty plugin.
>
> I dont see your Symfony library path in that error which seems to be
> the problem. I have symfony installed as an external under project
> root/lib/vendor/symfony
>
> the helper folder is project root/lib/vendor/symfony/lib/helper
>
> im looking at your paths and I dont see your symfony data directory.
> Its not in your path.
>
> Jesse
>
> On Jan 5, 4:21 am, saad <[email protected]> wrote:
>
> > Dearest all,
>
> > 1) I m using symfony1.2.1 and i configured smarty plugin for 1.2 from
> > this link
> > http://www.symfony-project.org/plugins/sfSmartyPlugin
> > symfony plugin:install sfSmartyPlugin --release=0.3.0
>
> > 2) I did change in app.xml and paste these lines
> > # default values
> > all:
> > sfSmarty:
> > class_path: lib/vendor/smarty/libs
> > template_extension: .tpl
> > template_security: false
>
> > 3) Also paste smarty in project root lib/vendor/
>
> > 4) Then i create module file in my specific module/config/
> > module.yml and paste these lines
> > default:
> > view_class: sfSmarty
> > partial_view_class: sfSmarty
>
> > 5) Also did change layout.php into layout.tpl but it gived
> > error .....
>
> > Unable to load "Helper.php" helper in: /var/www/media/apps/
> > frontend/lib/helper, /var/www/media/lib/helper, /var/www/media/lib/
> > symfony/plugins/sfProtoculousPlugin/lib/helper, /var/www/media/plugins/
> > sfSWFUploadPlugin/lib/helper, /var/www/media/plugins/sfSmartyPlugin/
> > lib/helper, /var/www/media/lib/symfony/helper, /var/www/media/lib/
> > symfony/plugins/sfPropelPlugin/lib/vendor, /var/www/media, /var/www/
> > media/lib/symfony, ., /usr/share/php, /usr/share/pear.
>
> > plz help me that how i run my application using smarty .
>
> > Is it version problem or other
>
> > plz explain it and also reply on this email id [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---