 |

trumpetmic
User
Oct 7, 2008, 9:12 AM
Post #1 of 4
(274 views)
Shortcut
|
|
AM2 - Can't add a field - Why?
|
Can't Post
|
|
While attempting to add a new field in the db, I see this error: Error: DBD::mysql::st execute failed: Duplicate column name 'submasthead' at /var/httpd/mysite.com/cgi-local/am2/modules//IT/DB/MySQL.pm line 369. But the field doesn't show up in the db editor in am2. I was able to add the field in my test environment, but not on the live site. Any ideas?
|
|
|  |
 |

Donna
Staff
/ Moderator

Oct 7, 2008, 10:49 AM
Post #2 of 4
(264 views)
Shortcut
|
|
Re: [trumpetmic] AM2 - Can't add a field - Why?
[In reply to]
|
Can't Post
|
|
Hi trumpetmic, Sounds like the database already has a field with that name. Without taking a closer look, I can't really say what's going on there -- do you want to send us your FTP & MySQL details? Alternately, you could just give that field a different name. Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

trumpetmic
User
Oct 7, 2008, 11:07 AM
Post #3 of 4
(261 views)
Shortcut
|
|
Re: [Donna] AM2 - Can't add a field - Why?
[In reply to]
|
Can't Post
|
|
Right, the error appears be saying that a field already exists with that name. The problem, is that the DB editor in AM2 isn't showing the field, so I can't delete it... also I have the template pulling from the field, but nothing is showing up on the page, so apparently the field isn't really tied in with AM2.
|
|
|  |
 |

Donna
Staff
/ Moderator

Oct 7, 2008, 11:24 AM
Post #4 of 4
(259 views)
Shortcut
|
|
Re: [trumpetmic] AM2 - Can't add a field - Why?
[In reply to]
|
Can't Post
|
|
Hi there, Again, without being able to take a look at it directly, it's hard to say what might be going on there. Feel free to send us your FTP & MySQL details, or you can change the fieldname in Article Manager (and update your templates to match). :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|