When I try to open the index page of the site that comes with Fuel on my localhost, I get this message: "Fatal error: Class 'Asset' not found." Any ideas why this is happening? I have not modified any files that come with Fuel.
I extracted the zip file download of v1.1 of Fuel and placed it in a folder (My Documents --> My Web Sites --> fuelphp1). I've set up IIS 7 to connect to the site (localhost) as me. I'm not sure what else would be relevant.
I was wondering if all repositories were installed, and of the same version.
But I assume if you download the zip, the core and some packages are present in the zip, and of the correct version.
I'm clueless here, by the time FuelPHP gets to processing the view (which contains that Asset call), is has used a lot of other classes from the core, which seem to work fine.
The class is there (in /fuel/core/classes/asset.php)? All lower case? Rights to the file ok?
Did you check the PHP logs? Any errors or other messages?
I still find it very odd. By the time you get to processing the view file which contains the Asset call, the framework has loaded over a dozen classes from that same core/classes folder. Including the core class 'Fuel' itself. So why do they all work, and does Asset fail?
Actually, the log contains no additional info (just the same error) but the name of the log itself could be a clue: "PHP_via_FastCGI_errors.log"
This is strange because my php.ini (it should be the right one based on phpinfo() output) doesn't reference a log with this name. But maybe there's some kind of FastCGI problem even though I've uninstalled IIS in Windows Features.
I've posted the question on Stack Overflow and I'll post the answer here if someone figures out what's going on. I might resort to buying a new computer first, though! j/k