Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
extensions help please
I am new to vanilla and downloaded and configured then continued to add extensions - which all showed up fine. I clicked each to enable (maybe I should have done this separately?) but then got the following messages and don't know how to correct and can't get any other screen on my forum. Help please. Thank you!!
Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/webforum/extensions/zip2mail/Archive/Tar.php on line 21
Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/www/webforum/extensions/zip2mail/Archive/Tar.php on line 21
Cheers, js
0
Comments
Don't suppose you could convince the extension to show that message once and then auto-disable the extension could you?
// check to see if PEAR is installed $x = get_include_path().DIRECTORY_SEPARATOR."PEAR.php"; $z = substr(strrchr($x,":"), 1); echo $x."***".$z."***"; if (file_exists($z)) { echo "PEAR exists ***"; include ('Archive/Tar.php'); }
This assumes that the PEAR include path is the last one that the function get_include_path gets. That is probably a bad assumption, but on my server that is the case. This code does work for me on my live forum.
You could probably put the entire extension code inside this IF statement to only execute the extension code if this IF is true.
I'll be doing some more research on the paths.