You are not logged in.
Pages: 1
I installed BigTree locally and told the installer to put in sample content so I could start poking around and learning.
After install, the home page gives me:
Fatal error: Class 'SampleFeatures' not found in /Applications/MAMP/htdocs/BigTree2/templates/basic/home.php on line 18
As you can see, I'm using mamp. Any idea what could be happening?
Offline
My best guess is that the database connection is failing. Can you make sure that the connection parameters in /templates/config.php are correct?
Offline
Thanks for the quick response.
Looks alright to me:
// Database info.
$bigtree["config"]["db"]["host"] = "localhost";
$bigtree["config"]["db"]["name"] = "bigtree2";
$bigtree["config"]["db"]["user"] = "root";
$bigtree["config"]["db"]["password"] = "root";
Offline
Everything looks like it's setup properly (assuming that the password and username are correct for MySQL). Can you verify that there is an entry in the bigtree_modules table with the title "Features"?
Offline
Yeah, there is.
Offline
Can you try deleting the /cache/module-class-list.btc file and see if that fixes the error?
Offline
Woo! That worked. Thanks a bunch. Could you explain what was happening?
Offline
Normally it occurs when the bigtree_modules table is changed directly in MySQL without the BigTree admin doing the changes (the hard class cache file gets cached with incorrect information).
The incoming Release Candidate 2 tries to address that very issue with a bit more grace, so it's a known pain point Hopefully you're all set now but feel free to ask any more questions!
Offline
Pages: 1