Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Trialling V 2 - "a.publish" vs "a.published"? 05 Nov 2012 02:34 #4997

  • geoffr
  • geoffr's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 68
  • Thank you received: 2
Hi I have tried outputting my component using Cook v2 and now reloading my data into the component on my test site.

In trying to view any of the component's detail pages in the Administrator, and I am getting errors, "...Unknown column 'a.published' in 'field list' ..."

In looking at my tables I have only fields "publish" not "published". As I recall this field was generated by a wizard.

Has this field name changed from v1.5 to v2 or is this a bug (or am I confused about something ;-)??

Please advise if you can - ASAP. What shall I do?

thanks,
Geoff

Please Log in or Create an account to join the conversation.

Re: Trialling V 2 - "a.publish" vs "a.published"? 05 Nov 2012 03:44 #4998

  • geoffr
  • geoffr's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 68
  • Thank you received: 2
I discovered a thread here that indicates 'pubish' has been changed to 'published' in V2.

I have thus updated the `publish` field in my component tables to `published` by simply resaving the field.

HOWEVER -- Now all my Page layouts have disappeared, and I had quite a few! Is there a way to recover them URGENTLY? I have our client coming soon to view our progress!

thanks,
Geoff

Please Log in or Create an account to join the conversation.

Re: Trialling V 2 - "a.publish" vs "a.published"? 05 Nov 2012 04:04 #4999

  • geoffr
  • geoffr's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 68
  • Thank you received: 2
Huh? Hang on, they are all now back. Mmm... confused, but not complaining ;-)

Regards,
Geoff

Please Log in or Create an account to join the conversation.

Re: Trialling V 2 - "a.publish" vs "a.published"? 07 Nov 2012 17:36 #5037

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I can open your project.

Are you sure ? How many layouts did you lost ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.054 seconds

Hi first of all I'd like to say that J-Cook is a great tool - the best component builder I tried so far...
Rymedia - Jonas 

Get Started