Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange processing of built-in functions 3.1.27 vs 3.1.29 #199

Closed
Stevad opened this issue Mar 2, 2016 · 2 comments
Closed

Strange processing of built-in functions 3.1.27 vs 3.1.29 #199

Stevad opened this issue Mar 2, 2016 · 2 comments

Comments

@Stevad
Copy link

Stevad commented Mar 2, 2016

I found some strange behaviour with Smarty built-in functions. For examle - mailto.

If I add {mailto address='mail@mail.ua'} somewhere in template then:

  • v3.1.27 - works as expected
  • v3.1.28, v3.1.29 before displaying result of the function will try to load class Smarty_Internal_Compile_Mailto and generates PHP warnings like these

Warning: include(Smarty_Internal_Compile_Mailto.php): failed to open stream: No such file or directory in /some/path/to/my/project

Where to look for errors?
P.S. I am using Smarty with Yii 1.x. Smarty installed via composer.

@uwetews
Copy link
Contributor

uwetews commented Mar 2, 2016

I have no idea how the autolader could run into this warning. But I reverted some autoloader changes.

The fix is in the master branch an will later be included in 3.1.30

@KarelWintersky
Copy link

Same issue with 3.1.33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants