DataMapper


Troubleshooting

If you find you're having problems getting DataMapper to work for you, be sure to check that your server meets the Server Requirements and that you have correctly followed the Installation Instructions.

If you have not yet read through all the topics in the General Topics section of the Table of Contents, I recommend you do this now. There might be some small gem of information you haven't seen which will solve your issue. I'd also suggest comparing your code against the examples to ensure you are using DataMapper as it was designed.

In the event you've tried the above but you're still having issues, you are welcome to contact me at the below address.

JavaScript must be enabled to see my email.

Please contact me as a last resort as I unfortunately have very little free time, so my response may take a while. My unavailability is why I put the effort into preparing this User Guide for you, putting as many answers to questions you might have.

If you get tired of waiting for me to respond, you could try the CodeIgniter Forums. There's a lot of very helpful people there and I tend to check it more than my email anyway! ;)

Have you seen this error?

If you're getting an error that looks very similar to the one below, it's because you need to update your CodeIgniter MySQL Driver with the latest version from the CodeIgniter SVN.

A Database Error Occurred

Error Number: 1054

Unknown column 'table.*' in 'field list'

How to update your MySQL Driver:

  1. Download the latest version of the mysql_driver.php file from the CodeIgniter SVN.
  2. Upload it to your CodeIgniter system/database/drivers/mysql folder.

That's it! The error should now be gone.