Mad_Jester Tux's lil' helper
Joined: 08 Jan 2004 Posts: 85
|
Posted: Mon Apr 04, 2005 9:34 pm Post subject: Smarty security update broke our code by changing paths. |
|
|
I upgraded to smarty 2.6.8 because of a security problem with older versions. When I upgraded to this version it broke some of our developers code. Here is the problem:
Warning: main(/usr/lib/php/Smarty/core/core.load_plugins.php) [function.main]: failed to open stream:
Fatal error: main() [function.require]: Failed opening required '/usr/lib/php/Smarty/core/core.load_plugins.php' (include_path='.:/usr/lib/php:/usr/lib/php/Smarty:/usr/lib/php/XML:/usr/lib/php/PEAR')
The problem is that the above core directory no longer exists. Instead there is an internals directory in it's place. What has happened here, and why is it still looking for a core directory? This isn't hardcoded in our developers code anywhere.
I was able to band-aid the problem by creating a sym link to internals named core, but this is a workaround. What broke here? |
|