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.
Vanilla broken after upgrade?
I have been out of touch with trying to develop my forum for a while. I upgraded to Vanilla 2.0.17.9 following a harddrive repair. Now it is slowly dawning on me that my installation is corrupt or broken. Newly uploaded themes and add-ons installed and enabled were failing to show up on the dashboard and now a request to visit the site is met with a 'page not found' message.
? Have I done something seriously crazy? It'll be a shame to have to start from scratch again.
? Have I done something seriously crazy? It'll be a shame to have to start from scratch again.
0
Comments
[29-Mar-2011 04:17:45] PHP Fatal error: Class 'VanillaModel' not found in /home/thenomad/public_html/studioblog/plugins/FileUpload/models/class.mediamodel.php on line 11
and line 11 looks like this:
class MediaModel extends VanillaModel {
public function __construct() {
parent::__construct('Media');
}
etc
I'm a bit new to this seemingly utra-techie and hghly modular way of working so any advice would be helpful :-/
body id="dashboard_home_filenotfound" class="Dashboard Home filenotfound "
i don't know if that's helpful. if dashboard_home were an actual file(?) then my server can't find it either....
which is true enough. i can access the dashboard but not the site.
oddly, the application "Vanilla" was not enabled and trying to do so provoked this "Fatal error: Class 'CategoryModel' not found in /home/thenomad/public_html/studioblog/applications/vanilla/settings/structure.php on line 60"
?
When upgrading from a beta to 2.0.16, I had to run a few of those to fix it all.
"how can i rescue the membership data and discussions etc. so as to rebuild this from scratch?"
Seriously. The server is insisting on fatality, a rogue line or an unknown infection perhaps. Anyone know what this means:
if ($CategoryExists) {
$CategoryModel = new CategoryModel();
$CategoryModel->RebuildTree();
unset($CategoryModel);
it's line 60 of applications/vanilla/settings/structure.php and is the blockage according to the server's error log
since Vanilla presumably can't run without its application and I can't enable it, it's just possible ,,,
resuscitation or euthanasia ??
there may be ethical considerations ,,,,
:-))
$Configuration['EnabledApplications']['Vanilla'] = 'vanilla';
to the config/php file as recommended elsewhere and can now enable the Vanilla application.
proceeding to take the patient's temperature ,,,,
i just did the following, playfully tweaking the corpse.
from my limited dashboard in which i can no longer fully enable 'Vanilla', and cannot access discussions or change themes or make tea, i went to routes and created a 'discussions' link from my homepage, now nominated as categories.
following the ethereal guidance at
http://vanillaforums.org/docs/homepage#discussionslink
quite randomly, as you do.
believe it or not, this works. i have access at last to the discussions page at least.
rigour mortice has not yet developed it seems ...
more challenges to come and i expect to be chased to the horizon by apaches bearing different versions, extensions and plugins
ah!