rroasio
(Riccardo Roasio)
April 6, 2010, 10:24am
1
Hi,
is possible to create a yii application without a database?
I’m trying to do so but if i comment out the db connection in the config/main.php file it gives me this error:
exception ‘CDbException’ with message 'CDbConnection.connectionString cannot be empty
when creating a model…
Thanks,
Riccardo
mikl
(Mike)
April 6, 2010, 12:12pm
2
How should a model be created, if you don’t have db connection?
rroasio
(Riccardo Roasio)
April 6, 2010, 12:35pm
3
so i simply create a model extending CFormModel… no need to create model from shell…
mada1794
(Mada Tanea)
September 6, 2016, 2:22pm
4
Did you find an answer? I have the same question and there is not much on this topic. Any help is appreciated.
The reason I need this is because I an trying to crate a few features of my application which should work before the user logs in and connects to a database.
Hi,
is possible to create a yii application without a database?
I’m trying to do so but if i comment out the db connection in the config/main.php file it gives me this error:
exception ‘CDbException’ with message 'CDbConnection.connectionString cannot be empty
when creating a model…
Thanks,
Riccardo