Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Template not found: cli/crud-app/types/pkey

edited July 2014 in Framework

Executing php ./elefant crud-app usedcar id ... and other 30 fields, I got this error:

Error in /web/lib/Template.php on line 271: Template not found: cli/crud-app/types/pkey

<div class="form">

<form method="post" id="{{ _form }}">

I solved by replacing /apps/cli folder with the latest version available.

Comments

  • I also had to replace Elefant "lib", "apps/admin", "apps/user" folders and to patch mysql DB with:

    alter table #prefix#user add column phone char(32) not null default '';
    alter table #prefix#user add column address char(48) not null default '';
    alter table #prefix#user add column address2 char(48) not null default '';
    alter table #prefix#user add column city char(48) not null default '';
    alter table #prefix#user add column state char(3) not null default '';
    alter table #prefix#user add column country char(3) not null default '';
    alter table #prefix#user add column zip char(16) not null default '';
    alter table #prefix#user add column title char(48) not null default '';
    alter table #prefix#user add column company char(48) not null default '';
    alter table #prefix#user add column photo char(128) not null default '';
    alter table #prefix#user add column about text not null default '';
    alter table #prefix#user add column website char(128) not null default '';
    

    included in elefant / apps / admin / conf / update / 1.3.10_users_mysql.sql in order to manage members.

    I hope I have not messed up. :/

Sign In or Register to comment.