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.
Fatal Error when I try to activate Vanilla in the applications on localhost
MatthewAlan
New
I've been working on a couple of designs for Vanilla that I plan to release, but my localhost stopped working last week so I reset everything on my computer and choose to install Zend Server CE as my localhost. I've never had problems with Vanilla before so I'm wondering if it's Zend Server.
I installed a new copy of Vanilla(downloaded 5 minutes ago) into my localhost and installed it at vanilla.local
I can login and do whatever, but I can't seem to import the dummy data OR activate the vanilla application. Everytime I try to, I get this error:
Fatal error: Class 'CategoryModel' not found in C:\sites\vanilla\public\applications\vanilla\settings\structure.php on line 60
I'm not a PHP guy and have no idea how to fix this stuff. I've uninstalled/installed a number of times and still get the same error!
I'd be very very very grateful to anyone that can help me fix this problem.
Thank you, MatthewAlan Designs.
I installed a new copy of Vanilla(downloaded 5 minutes ago) into my localhost and installed it at vanilla.local
I can login and do whatever, but I can't seem to import the dummy data OR activate the vanilla application. Everytime I try to, I get this error:
Fatal error: Class 'CategoryModel' not found in C:\sites\vanilla\public\applications\vanilla\settings\structure.php on line 60
I'm not a PHP guy and have no idea how to fix this stuff. I've uninstalled/installed a number of times and still get the same error!
I'd be very very very grateful to anyone that can help me fix this problem.
Thank you, MatthewAlan Designs.
Tagged:
0
Best Answer
-
Tim Vanilla StaffThere was a bug that I thought had been fixed (perhaps some merge SNAFU) where enabling applications didn't pre-initialize the autoloader in time to handle any possible includes in the structure / other setup actions. This has been fixed in 2.0.18 beta.
Download that from our github, or by going to the Vanilla addon on our addons site and specifically choosing to install the beta.0
Answers
Download that from our github, or by going to the Vanilla addon on our addons site and specifically choosing to install the beta.
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
Incorrect integer value: '`Garden.Users.Edit`' for column 'Garden.Moderation.Manage' at row 1|Gdn_Database|Query|insert GDN_Permission (`Garden.Email.Manage`, `Garden.Settings.Manage`, `Garden.Routes.Manage`, `Garden.Messages.Manage`, `Garden.Applications.Manage`, `Garden.Plugins.Manage`, `Garden.Themes.Manage`, `Garden.SignIn.Allow`, `Garden.Registration.Manage`, `Garden.Applicants.Manage`, `Garden.Roles.Manage`, `Garden.Users.Add`, `Garden.Users.Edit`, `Garden.Users.Delete`, `Garden.Users.Approve`, `Garden.Activity.Delete`, `Garden.Activity.View`, `Garden.Profiles.View`, `Garden.Moderation.Manage`, `Garden.AdvancedNotifications.Allow`, RoleID, JunctionTable, JunctionColumn) values (:GardenEmailManage, :GardenSettingsManage, :GardenRoutesManage, :GardenMessagesManage, :GardenApplicationsManage, :GardenPluginsManage, :GardenThemesManage, :GardenSignInAllow, :GardenRegistrationManage, :GardenApplicantsManage, :GardenRolesManage, :GardenUsersAdd, :GardenUsersEdit, :GardenUsersDelete, :GardenUsersApprove, :GardenActivityDelete, :GardenActivityView, :GardenProfilesView, :GardenModerationManage, :GardenAdvancedNotificationsAllow, :RoleID, :JunctionTable, :JunctionColumn)
I would really like to see vanilla up and running tonight, because I have about 4 styles waiting to be released/finished up. I would really like them to be able to be released this week if at all possible.
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
Get it here, and try: https://github.com/vanillaforums/Garden/tarball/unstable
Vanilla Forums COO [GitHub, Twitter, About.me]
I'm not sure what the problem is, but it seems to be Zend Server and the latest copy of Vanilla. I was able to install 2.0.17 earlier, but I haven't been able to install 2.0.18. I seem to remember trying to install the first beta of 2.0.18 on my old localhost running XAMPP about a week or two ago. I wasn't able to install that either, but I wasn't getting the same error.
I guess my luck is very good, eh?
As for your other problems - what version of MySQL are you using? Are you sure the DB is totally empty when you start your install?
Vanilla Forums COO [GitHub, Twitter, About.me]
I'm running 5.1 I think. I'm not actually sure. And as far as I can see that database is totally empty. Or at least it is in phpMyAdmin.
Vanilla Forums COO [GitHub, Twitter, About.me]
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
from MySQL's config (my.ini).
I have another idea that I am going to try. I'll get back to you guys and let you know if it works!
I was actually a little afraid to try to uninstall Zend because last time I did that it messed up both ports 80 and 3306(I think that's the MySQL port) and I couldn't install anything that used either of those. But thank you for your help, I be working on my themes more now and hopefully get some out the door!