Alpha Developers Network

Guest


Author Topic: Cannot save record in most open configurations or settings  (Read 638 times)

0 Members and 1 Guest are viewing this topic.

Victor Vanfleet

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
  • Real Name: Victor Vanfleet
Cannot save record in most open configurations or settings
« on: December 14, 2014, 06:14:35 PM »
I tried to edit a page by Changing any info but It says it wont save because it has been deleted by another user, it is not and I am the only use. I am sure I am missing something, hope you can point me in the correct procedure to edit any page or configuration. I attached an image of the error that I encounter in most pages. Thanks very much!

Victor Vanfleet

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
  • Real Name: Victor Vanfleet
Re: Cannot save record in most open configurations or settings
« Reply #1 on: December 14, 2014, 08:14:16 PM »
I added another screenshot, I am trying to set a new logo name but it wont save. Thanks!

Steve Wood

  • Administrator
  • Expert
  • *****
  • Posts: 705
  • Karma: +11/-0
    • AlphaToGo
  • Real Name: Steve Wood
Re: Cannot save record in most open configurations or settings
« Reply #2 on: December 14, 2014, 08:22:08 PM »
You have a problem with your database. The Primary Key should be "tid" and there should be only one record, with tid=1. Maybe you have more than one record, or maybe the tid is not flagged as the Primary Key and set to value=1.
---
Steve Wood
www.alphatogo.com

Victor Vanfleet

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
  • Real Name: Victor Vanfleet
Re: Cannot save record in most open configurations or settings
« Reply #3 on: December 14, 2014, 08:45:42 PM »
Hello sir, the database came from what you sent me, I have attached the screenshot that  "The Primary Key should be "tid" and there should be only one record, with tid=1. Maybe you have more than one record, or maybe the tid is not flagged as the Primary Key and set to value=1. "
« Last Edit: December 15, 2014, 12:17:56 AM by WarrenD »

Steve Wood

  • Administrator
  • Expert
  • *****
  • Posts: 705
  • Karma: +11/-0
    • AlphaToGo
  • Real Name: Steve Wood
Re: Cannot save record in most open configurations or settings
« Reply #4 on: December 15, 2014, 06:49:02 AM »
Please change the field type on the tid field from BIT to TINYINT. Do this on your project and on your master Framework table. I will change it in my master as well.

« Last Edit: December 15, 2014, 07:14:08 AM by Steve Wood »
---
Steve Wood
www.alphatogo.com

Victor Vanfleet

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
  • Real Name: Victor Vanfleet
Re: Cannot save record in most open configurations or settings
« Reply #5 on: December 17, 2014, 02:10:39 PM »
So what would be the default value of the tid TINIYINT sir? is it 1? coz i saw that the default value of the bit is true

Steve Wood

  • Administrator
  • Expert
  • *****
  • Posts: 705
  • Karma: +11/-0
    • AlphaToGo
  • Real Name: Steve Wood
Re: Cannot save record in most open configurations or settings
« Reply #6 on: December 17, 2014, 07:54:59 PM »
Yes the default can be 1. The wt_setup table will have on records with the tid=1.
---
Steve Wood
www.alphatogo.com

Victor Vanfleet

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
  • Real Name: Victor Vanfleet
Re: Cannot save record in most open configurations or settings
« Reply #7 on: December 18, 2014, 05:58:46 PM »
Thanks very much. That solves the problem.