Problem with cronjobs : Database error

edited June 2011 in News & Announcements
can anyone help me understand how to use the cronjobs in Fuel?
I'm not a total noob when it comes to cronjobs in general, my problem is that I can't really figure out why i get this error:

A Database Error Occurred
Unable to connect to your database server using the provided settings.Filename: third_party/fuel/Loader.phpLine Number: 134
when I'm trying to run the following command from the terminal: (using CI2's CLI method)

$ php /Applications/MAMP/htdocs/fuelcms/index.php about
/Applications/MAMP/htdocs/fuelcms is obviously my Fuel path, and about is simply a controller. I would expect that this controller returns a basic view to the output, but i get that strange database error instead. The same controller works fine if i go /about in my browser of course...

Update: this happens when from within the target controller (in this case 'about') i load a model that extends the Base_module_model


Sign In or Register to comment.