awegen icon indicating copy to clipboard operation
awegen copied to clipboard

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

Open nassausky opened this issue 12 years ago • 5 comments

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!

nassausky avatar Feb 01 '13 23:02 nassausky

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???

geoux avatar Aug 27 '13 22:08 geoux

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

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

webia1 avatar Dec 09 '13 13:12 webia1

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 [email protected] wrote:

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

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

— Reply to this email directly or view it on GitHub.

nassausky avatar Dec 09 '13 15:12 nassausky

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 [email protected] wrote:

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

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).

webia1 avatar Dec 10 '13 16:12 webia1

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 [email protected] 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 [email protected] wrote:

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

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.

nassausky avatar Dec 10 '13 18:12 nassausky