isDipesh / awegen

[extension] AweCMS MVC Generator
http://motorscript.com/awegen-code-generator-for-yii/
16 stars 10 forks source link

CException after generating AweCrud and clicking on "try it now" #6

Open nassausky opened 11 years ago

nassausky commented 11 years ago

Hi, I am getting the following error after generating a model & crud:

CException

Alias "bootstrap.widgets.BootListView" is invalid. Make sure it points to an existing directory or file.

I see someone else had the same error and commented about it here http://motorscript.com/awegen-code-generator-for-yii/

It looks like a great extension and I hope to get it to work.

Thanks!

geoux commented 11 years ago

Hi, I just download this branch but still the same problem in components/Awecms.php, manually the method getPrimaryKey must be change to getPrimaryKeyColumn. But can´t find the fix for the bootstrapissue. Alias "bootstrap.widgets.BootListView" is invalid. Make sure it points to an existing directory or file. The classes of bootstrap shouldn´t be included in the same components folder or something???

webia1 commented 10 years ago

Same issue, same problem. Did you solve it? That's the problem part of the code (view/model/index.php)

<?php $this->widget('bootstrap.widgets.BootListView', array( 'dataProvider'=>$dataProvider, 'itemView'=>'_view', )); ?>

nassausky commented 10 years ago

10 months ago. I barely remember what I had for breakfast LOL.  From what I remember, I believe I did find the solution because I completed the application and was pretty pleased with using the YII framework for the project. Not sure if I used an alternate method to generate a CRUD.  I don't know if I have time but if I do I will dig into what I possibly did to move forward. Good luck if I don't get back to you in a timely manner.

On Monday, December 9, 2013 8:52 AM, EBIA notifications@github.com wrote:

Same issue, same problem. Did you solve it? That's the problem part of the code (view/model/index.php) <?php $this->widget('bootstrap.widgets.BootListView', array( 'dataProvider'=>$dataProvider, 'itemView'=>'_view', )); ?> — Reply to this email directly or view it on GitHub.

webia1 commented 10 years ago

ok, thank you..

On 12/09/2013 04:07 PM, nassausky wrote:

10 months ago. I barely remember what I had for breakfast LOL. From what I remember, I believe I did find the solution because I completed the application and was pretty pleased with using the YII framework for the project. Not sure if I used an alternate method to generate a CRUD. I don't know if I have time but if I do I will dig into what I possibly did to move forward. Good luck if I don't get back to you in a timely manner.

On Monday, December 9, 2013 8:52 AM, EBIA notifications@github.com wrote:

Same issue, same problem. Did you solve it? That's the problem part of the code (view/model/index.php) <?php $this->widget('bootstrap.widgets.BootListView', array( 'dataProvider'=>$dataProvider, 'itemView'=>'_view', )); ?> — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/xtranophilist/awegen/issues/6#issuecomment-30138968.

Diese E-Mail (und ihre Anhänge) ist ausschließlich für die/den darin genannte/n Empfängerin/er bestimmt. Sie kann rechtlich geschützte und vertrauliche Informationen enthalten. Wenn Sie diese Nachricht irrtümlich erhalten oder aus anderen Gründen nicht die/der bestimmungsgemäße Empfängerin/er sind, informieren Sie bitte sofort den Absender unter der oben genannten Adresse und vernichten Sie diese Nachricht (einschließlich ihrer Anhänge) und allfällige Vervielfältigungen davon unverzüglich (§ 93 Abs 4 TKG 2003).

The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you have received this communication in error, please notify the sender immediately by responding to this email and then delete it from your system (§ 93 Abs 4 TKG 2003).

nassausky commented 10 years ago

Ok I have to apologize.  I removed the awe-gen code from my final web application.  I remember having problems with that but don't have any notes as to why I removed the awegen from my site. It might have been related to the problem you are also having.

I'm sorry and keep us posted if you find a solution.

Thanks and good luck.

On Tuesday, December 10, 2013 11:54 AM, EBIA notifications@github.com wrote:

ok, thank you..

On 12/09/2013 04:07 PM, nassausky wrote:

10 months ago. I barely remember what I had for breakfast LOL. From what I remember, I believe I did find the solution because I completed the application and was pretty pleased with using the YII framework for the project. Not sure if I used an alternate method to generate a CRUD. I don't know if I have time but if I do I will dig into what I possibly did to move forward. Good luck if I don't get back to you in a timely manner.

On Monday, December 9, 2013 8:52 AM, EBIA notifications@github.com wrote:

Same issue, same problem. Did you solve it? That's the problem part of the code (view/model/index.php) <?php $this->widget('bootstrap.widgets.BootListView', array( 'dataProvider'=>$dataProvider, 'itemView'=>'_view', )); ?> — Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/xtranophilist/awegen/issues/6#issuecomment-30138968.

Diese E-Mail (und ihre Anhänge) ist ausschließlich für die/den darin genannte/n Empfängerin/er bestimmt. Sie kann rechtlich geschützte und vertrauliche Informationen enthalten. Wenn Sie diese Nachricht irrtümlich erhalten oder aus anderen Gründen nicht die/der bestimmungsgemäße Empfängerin/er sind, informieren Sie bitte sofort den Absender unter der oben genannten Adresse und vernichten Sie diese Nachricht (einschließlich ihrer Anhänge) und allfällige Vervielfältigungen davon unverzüglich (§ 93 Abs 4 TKG 2003).

The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you have received this communication in error, please notify the sender immediately by responding to this email and then delete it from your system (§ 93 Abs 4 TKG 2003). — Reply to this email directly or view it on GitHub.