Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Could not find file 'js/library/jquery.alphanumeric.js' in folder 'vanilla'.
tayholliday
New
I'm getting these errors in the bottom of settings pages, most of which won't load:
hash_equals(): Expected user_string to be a string, boolean given
0 [internal function]: gdn_ErrorHandler(2, 'hash_equals(): ...', '/home/wthollida...', 667, Array)
etc.
And then:
Info Could not find file 'js/library/jquery.alphanumeric.js' in folder 'vanilla'.
Info Could not find file 'js/library/nestedSortable.1.2.1/jquery-ui-1.8.2.custom.min.js' in folder 'vanilla'.
Info Could not find file 'js/library/nestedSortable.1.2.1/jquery.ui.nestedSortable.js' in folder 'vanilla'.
I have the vanilla files in the root directory of my site. Just upgraded to 2.5.1 from 2.0.18 (yeah it's been a while).
I tried moving everything to a folder named "vanilla" but no dice.
Any thoughts? Thanks!
0
Comments
system requirements for 2.0.18 vs. 2.5.1 are vastly different (specifically php and MySQL versions, strict or not, and pretty urls) and basically mutually exclusive.
your notices are from older js librararies. your fatal error could be failure of utility/update or any number of other mishaps.
you could upgrade a number of ways.
one technique could be similar to this. Some things are different bur the basic troubleshooting steps are logical.
https://open.vanillaforums.com/discussion/31153/tutorial-a-fool-proof-way-to-do-a-vanilla-upgrade-from-2-1-to-2-2
another way to upgrade....
could be this way.
https://open.vanillaforums.com/discussion/24793/yet-another-vanilla-upgrade-and-duplication-tutorial
either way you are going to want to disable all plugin and switch to the default theme of the new version, since most plugins from 2.0.18 have a slim chance of working in 2.5.1
another way would be...
personally, I would install a fresh 2.5.1 in a empty new folder following the instructions and specs from
the release notes and readmes that way you won't have all the clutter from 2.0.18 which has a number of unnecessary files.
similar to this...
https://open.vanillaforums.com/discussion/comment/252378/#Comment_252378
since 2.0.18 has so many files that are probable no longer used in 2.5
https://github.com/vanilla/vanilla/tree/Vanilla_2.0.18.1/js/library
vs
https://github.com/vanilla/vanilla/tree/Vanilla_2.5.1/js/library
also see...
https://open.vanillaforums.com/discussion/comment/252422/#Comment_252422
https://open.vanillaforums.com/discussion/comment/252375/#Comment_252375
also make sure you MEET the system requirements.
another 3rd possibility is to do a step wise upgrade from 2.0.18 to 2.1 without plugins enabled upgrading php along the way and then moving to 2.5.1 with the necessary system requirements and read ALL the release notes for example https://open.vanillaforums.com/discussion/26685/vanilla-2-1-stable-released.
https://open.vanillaforums.com/discussion/35687/vanilla-2-5-is-now-available
this will be painstaking and timeconsuming. making sure you delete the files that need to be deleted. and running utility/structure and utile/update and deleting cache files.
https://github.com/vanilla/vanilla/blob/Vanilla_2.5.1/README.md#self-hosting-requirements
also make sure you use pretty urls
https://open.vanillaforums.com/discussion/comment/220157/#Comment_220157
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.
+1 for using a fresh installation
Thanks! I needed to clear out most of the old files as you suggested. I'm getting further!