Posts Tagged ‘fatal error’

Codeigniter, DataMapper and Bluehost

November 18th, 2011

So I’ve been making a quick website to toy around with the Etsy API. I was working all night to push out a basic working site when I came across a problem. I was using the popular PHP framework Codeigniter with the DataMapper ORM on my local environment (MAMP) which was working fine. When I uploaded everything to the server, set up all the databases and turned on the switch I felt a sharp pain of failure. The landing page worked but when I went to login I got this:

“Fatal error: Class ‘User’ not found in…”

At 5:13am, this was not the happiest message I’d ever gotten. I reasoned it had something to do with accessing the models. Some googling led me to find out that my model classes needed to be lowercase. Super simple solution! Just a heads up to anyone using Codeigniter and DataMapper and is having sudden problems when going live.

Source

Also, credit and thanks to Leah Downey for a lot of the temporary design used in Etsy Outfits.

Tags: , , , , ,
Posted in Programming, Web Design and Development | Comments (0)