-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix installation #1
Comments
permissions are left to the user to change, that's why there's a requirements page on the installation. issue with WebUser is really CWebUser, my mistake, thanks. $imagesPath is intentionally loaded from config, to allow a final user to changed it fast. create database is a TODO, will need to ask a checkbox asking user if he really want's to create the db. |
if $imagePath is loaded from config, you cannot use Yii::getPathOfAlias('webroot.image) in StepController2 validate action |
yeah, i just noticed that, any recommendations? |
recommendation was my pull request |
please commit again but including only modifications to the install step 2. thanks for your contributions. |
Hello, I'm trying to install yiicart and found the file schema.mysql.sql. However I'm running into numerous errors because of placeholders like :email, :password, etc. Would it be possible to write an installation guide? Thanks. |
Hello Yasen, It's not yet documented, but you can install YiiCart using the installer provided, just run for example http://localhost/yiicart/index.php/install and follow the steps provided by the installer. |
Thanks Rich. The installation went fine. The error now is imagejpeg(/home/yasen/Copy/github/yiicart/assets/cache/data/demo/hp_banner-700x286.jpg): failed to open stream: No such file or directory |
chmod 0777 assets/
chmod 0777 protected/runtime/
There is no class WebUser, use WebCustomer instead
StepController2
[php]
$imagesPath = Yii::getPathOfAlias('webroot.image');
$imagesDataPath = Yii::getPathOfAlias('webroot.image.data');
[/php]
chmod 0777 image/data
create a database
The text was updated successfully, but these errors were encountered: