Welcome, Guest
Username: Password: Remember me

TOPIC: Trialling V 2 - "a.publish" vs "a.published"?

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

  • geoffr
  • geoffr's Avatar
  • Offline
  • Senior Member
  • Posts: 68
  • Thank you received: 2
  • Karma: 0
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
The administrator has disabled public write access.

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

  • geoffr
  • geoffr's Avatar
  • Offline
  • Senior Member
  • Posts: 68
  • Thank you received: 2
  • Karma: 0
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
The administrator has disabled public write access.

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

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

Regards,
Geoff
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I can open your project.

Are you sure ? How many layouts did you lost ?
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.180 seconds

Get Started