FAQ
We've just started this section ...more to come.
Q: File import action throws a PHP exception or does not show any files.
A: Make sure you've set the config option:
'p2.file.importPaths' => array('data/import'),
Path is relative to application basePath and it must contain subfolders!
Q: yiic does not create models and/or throws a PHP Notice?!
A: Specify your config file when executing yiic, like
./yiic install config/local.php
Note: You may also create a custom config file with another database connection, just for building models and CRUDs in a different database than the default one.
Q: The first front-end link 'Home', does not support I18N and it does not appear in the sitemap.
A: Not a bug, it's a feature.
You can create all needed pages with P2Page, but if you do a blank install, you have to display a page.
So you can simply delete it from the component config in ./views/layouts/main.php.
Q: In some dialogs I see strange messages, like '__USER_PROBLEMS__'
A: These are untranslated message placeholders for long messages. Will be updated from time to time.
Q: How can I change the default setting of PiiInfo.status?
A: Change the default value in your database schema.
