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.
Conflict between Preview post and Random Quotes?
sjeeps
✭
Hi,
Here's what I get after I installed Random Quotes and Preview Post add-ons:
Warning: fopen(extensions/RandomQuotesPanel/quotes.txt) [function.fopen]: failed to open stream: No such file or directory in /home/xxxx/public_html/extensions/RandomQuotesPanel/default.php on line 26
Fatal error: Call to a member function on a non-object in /home/xxxxx/public_html/extensions/RandomQuotesPanel/default.php on line 26
I'd appreciate if someone can tell me what's wrong, tahnaks.
0
This discussion has been closed.
Comments
In RandomQuotesHeader/default.php
$quotesPath = 'extensions/RandomQuotesHeader';
should be$quotesPath = $GLOBALS['Configuration']['EXTENSIONS_PATH'].'RandomQuotesHeader';
And in RandomQuotesPanel/default.php
$quotesPath = 'extensions/RandomQuotesPanel';
should be$quotesPath = $GLOBALS['Configuration']['EXTENSIONS_PATH'].'RandomQuotesPanel';
The only reason I thought of the relative paths problem is because Transmogrifier had the same issue.