|
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 |
iarp Smarty n00b
Joined: 25 Oct 2012 Posts: 2
|
Posted: Thu Oct 25, 2012 5:09 pm Post subject: Smarty3 and ioncube, smarty functions not accessible. |
|
|
I've just converted a web system to use Smarty without the thought of having to encrypt it with ioncube (work requirement).
So the entire system is now using Smarty and i go to encrypt all PHP files, leaving the template files unencrypted. It's giving me errors such as
Quote: | Function 'smartyAutoload' not found |
and
Quote: | Function splitTitle not found |
I'm unsure who is causing the function not found issue. I had thought ioncube encrypted everything leaving the function names intact, but maybe not?
I tried adding a custom smarty function that basically just referenced the function i already have and it's still throwing the function not found errors.
Not sure who to go to about this. Google "smarty 3 ioncube" all results are template encrypting issues, mine are function issues. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Oct 25, 2012 6:14 pm Post subject: |
|
|
Do not encrypt the Smarty library files themselves, this is actually against the license agreement. Just leave those plain text. You don't need to encrypt them, they are already freely available.
Aside of that, I'm not sure about the errors, you'll have to contact ionCube. IMHO encrypting php solves the wrong problem and wreaks havoc on developers. Use license agreements to protect your assets, not encryption. |
|
Back to top |
|
iarp Smarty n00b
Joined: 25 Oct 2012 Posts: 2
|
Posted: Thu Oct 25, 2012 8:10 pm Post subject: |
|
|
I meant to put, i encrypted all my php files.
It turns out i had obfuscate turned on for function names, so it was changing the names on me. |
|
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
|