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.
/utility/update does not exist?
AristaP
New
I just uploaded all files of version 2.3 to upgrade from 2.2.1 and when I try to run:
myforum.com/utility/update
There's a 404 error message. I just noticed that the folder /utility does not exist, so I don't know how the full path you suggest on your Upgrading instructions work.
Please help.
Thank you.
Tagged:
0
Comments
If you do not use "pretty urls" you would need to use example.com/index.php?p=/utility/update
Find the line with
RewriteUrls
in your config and delete the entire line.This could've been explained better. First, I have added a note to that line in the Upgrading docs:
And then the next paragraph is now:
you sound like you are relatively new to Vanilla.
I suggest you see this commonly asked question regarding utility/update in the frequently asked questions in the tutorials section.
Question 17
https://vanillaforums.org/discussion/comment/219687/#Comment_219687
this and other simple user questions are answered in https://vanillaforums.org/discussion/28420/frequently-asked-questions
Also there is not a direct correlation /utility/update being a direct folder relation.
utility - refers to the utility controller and update refers to the method in the controller.
https://github.com/vanilla/vanilla/blob/ec5b13f6713dae42cd835267cea328d8e8559432/applications/dashboard/controllers/class.utilitycontroller.php#L220
there is probably more info about this here: http://docs.vanillaforums.com
regarding 404 errors - it could mean if you are using .htaccess and a webserver that reads .htaccess that your .htaccess is incorrect or does not allow overrides or that you are not using pretty url's - also described in the fAQ
https://vanillaforums.org/discussion/comment/220157/#Comment_220157
or it could be you are using some other web server that is not using .htaccess and you need to specify what it is or ask your host if pretty url's don't work for you.
Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.
I wasn't aware of such feature (Pretty URLs). Thanks to your advice, by adding index.php?p=, I was able to complete the update.
What Upgrading docs. When reading the directions to the upgrade, I was redirected to this page:
https://github.com/vanilla/vanilla#upgrading
And there's no note in there yet. Please let me know other Upgrading docs I'm not aware of.
Also, I cannot find any htaccess file in the vanilla-core-2-3 folder I downloaded to upgrade. Since it's obvious I'm not using the Pretty URLs feature, please let me know how to enable them. And I wonder what will happen with the current URLs already indexed by Google when I switch from:
domain.com/index.php?p=/discussion/...
To:
domain.com/discussion/...
Thanks again!
I have just checked my /conf/config.php file and there is no such line in there.
If the line is not here, It's because thé default config isn't changed. The default config is in /config-defaults.php.
If you need to change one setting in this file, you just need to add the line to your config.php (at the end to prevent errors). Never edit the config-default file.
Even though I appreciate your reply, @K17, I'm afraid it is adding even more confusion. The directions quoted on this thread only mention the file /conf/config.php. There is no indication to edit any /config-defaults.php file.
And the directions say I have to find and delete a line, not to add as you mentioned.
@AristaP I just explain how the config works in vanilla, and why its not à problem when a Line isn't in the config.php file ^^
(Because you don't find the line who @Linc was talking about)
Linc say to remove this Line because in 2.3 this setting is set to true (default value),but you just upgraded from 2.2.* where the default value for this Line is false.
This is the line who enable ths "Pretty URLs" (yourforum.com/discussions instead of yourforum.com/index.php?p=/discussions using Apache's Rewrite Rule)
Ok, I see. Thanks for the insight @K17, I appreciate it.