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.
Random Quotes ?
This discussion has been closed.
Comments
And fullstops (periods)?
And I didn't notice about fullstops, thanks for pointing this.
I've written this (with a space at the end):
Test ? Test ? Test ?
And it displays this :
Test ? Test ? Test ?
If somebody knows a solution...
Another limitation is it will show a warning if you leave a blank line.
Notice: Undefined offset: 1 in /home/forum/extensions/RandomQuotesHeader/default.php on line 39
Notice: Undefined offset: 0 in /home/forum/extensions/RandomQuotesHeader/default.php on line 39
I am not a PHP programmer so I am not quite sure how to repair those errors.
But this is the line:
list ($nada, $quote ) = $matches;
That is how it came installed. I have not modified that line.
What could be wrong?
I used "Convert to ASCII" in my text editor and it fixed it.
Thanks for all of your help!!
Any other ideas?
Sure seems to me that if it complaining of a PHP line error in the code than that is what it must be. But I do not know PHP so I cannot tell.
Nope, the line in the PHP file being referred to, is having trouble with a randomly chosen quote in your quotes.txt file.
How many lines does it have? Are you able to temporarily remove all but, say 3 lines and see how you go.
I have about 70 lines in mine, as I said, I had the same error as you, the cause was non-ASCII characters.
Also it could be a character that needs to be escaped such as a quote?