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

[PHP 7.1+/Windows] Unable to load template from path with multibyte characters #385

Closed
AnrDaemon opened this issue Aug 18, 2017 · 1 comment

Comments

@AnrDaemon
Copy link
Contributor

<?php

$smarty->assign('data', $data);
$smarty->display(__FILE__);
PHP Notice:  Undefined index: path in C:\usr\sbin\php-libs\Smarty\Smarty.class.php on line 1218
PHP Notice:  Undefined index: root in C:\usr\sbin\php-libs\Smarty\Smarty.class.php on line 1219
PHP Fatal error:  Uncaught  --> Smarty: Unable to load template 'file:C:\home\Daemon\Documents\christmas\Наполнение\Трубки\ti-tpl\ti.php' <-- 
  thrown in C:\usr\sbin\php-libs\Smarty\sysplugins\smarty_internal_template.php on line 185

Unfortunately unable to debug the issue due to my XDebug client not being very keen on accepting multibyte paths as well :(

@uwetews
Copy link
Contributor

uwetews commented Aug 26, 2017

The fix is now in the master branch and will later be included in 3.1.32

@uwetews uwetews closed this as completed Aug 26, 2017
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

2 participants