|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
andig Smarty Regular
Joined: 22 Apr 2004 Posts: 48
|
Posted: Sun Nov 14, 2010 12:02 pm Post subject: request_use_auto_globals exception with 3.0.4 |
|
|
After upgrading to 3.0.4 from latest beta I'm seing this exception:
SmartyException: template property 'request_use_auto_globals' does not exist. in D:\data\htdocs\videodb\lib\smarty\sysplugins\smarty_internal_template.php
Couldn't find any clue, chache has been cleared?
Best regards,
Andreas |
|
Back to top |
|
andig Smarty Regular
Joined: 22 Apr 2004 Posts: 48
|
Posted: Sun Nov 14, 2010 12:08 pm Post subject: |
|
|
Solved- I have replaced html_image with custom code and had to take over the internals of the latest html_image version from CVS.
Best regards,
Andreas |
|
Back to top |
|
andig Smarty Regular
Joined: 22 Apr 2004 Posts: 48
|
Posted: Sun Nov 14, 2010 12:22 pm Post subject: |
|
|
Mhm. Still not solved. The problem seems to exist in the standard html_image function? |
|
Back to top |
|
andig Smarty Regular
Joined: 22 Apr 2004 Posts: 48
|
Posted: Sun Nov 14, 2010 12:25 pm Post subject: |
|
|
This line in the html_image function:
$server_vars = ($template->request_use_auto_globals) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
Seems to be the only reference t request_use_auto_globals in the whole Smarty 3.0.4- seems fishy?
Best regards,
Andreas |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Nov 14, 2010 1:46 pm Post subject: |
|
|
The $request_use_auto_globals was removed from Smarty3.
By mistake it was not removed from the html_image plugin.
This was not detected earlier as Smarty3 did disable E_NOTICE befor 3.0.0.
We will update the plugin. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|