Yiinitializr is a project template generator for the Yii Framework to help you JUMPSTART any new project. It generates clean customizable boilerplate templates that are just what you need to begin your project off right and with the extensions that you need to accelerate your setup and launch time to the max!
I tried use the LoginFrom.php in the models (from YiiBoilerplate) and the login.php (from YiiBoilerplate), but when I copied to the backend/views/site directory and than tried this link: /backend/www/login.php or /backend/views/login.php, it doesnt work, I can reach this page… I got the ‘Not found’)
How can I create users in my Database? What kind of tables, Controllers etc?
I wonder if someone could help with a problem I’m having installing the dependencies:
php composer.phar install
…
…
…
Runtime ‘assets’ folders creation process finished.
Script Yiinitializr\Composer\Callback::preInstall handling the pre-install-cmd event terminated with an exception
[ErrorException]
Undefined index: REMOTE_ADDR
this happens whether I run composer locally or globally.
Google tells me that this is occurring because REMOTE_ADDR isn’t available in CLI mode so, assuming it’s not essential I guess I could edit the line that’s calling that variable but I’ve no idea what file to edit…
I’m using Yiinitializr currently for an app and loving it so far. I’ve been working with shared servers and mediatemple DV server. My question is that what extra steps (other than usual yii ones) would I take to deploy my app on a production server? Also what requirements should the server meet cuz I’m confused about multiple “www” directories. Can someone please share an example setup or point me in the right direction?
Yii::app()->language prints out dk but each time i try calling f.ex. my User.php message file, within common.messages as:
echo Yii::t('User','username');
It only returns username, i.e. the same string as I indicate in the Yii::t function. But it SHOULD return ‘brugernavn’ as defined within the User.php message file.
This has never been a problem before, in other applications I’ve made with Yii. What am I doing wrong?