Skip to content
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

Open
mbischof opened this issue Aug 27, 2013 · 8 comments
Open

fix installation #1

mbischof opened this issue Aug 27, 2013 · 8 comments
Assignees

Comments

@mbischof
Copy link

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

@richardalberto
Copy link
Owner

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.

@mbischof
Copy link
Author

if $imagePath is loaded from config, you cannot use Yii::getPathOfAlias('webroot.image) in StepController2 validate action

@richardalberto
Copy link
Owner

yeah, i just noticed that, any recommendations?

@ghost ghost assigned richardalberto Aug 28, 2013
@mbischof
Copy link
Author

recommendation was my pull request

@richardalberto
Copy link
Owner

please commit again but including only modifications to the install step 2.

thanks for your contributions.

@Yasen
Copy link
Contributor

Yasen commented Jan 23, 2014

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.

@richardalberto
Copy link
Owner

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.

@Yasen
Copy link
Contributor

Yasen commented Jan 23, 2014

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
Will see what the problem is... Obviously the demo header banner is not there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants