10 years ago
4
Topic

Hi,

i created a custom content form with some custom fields stored into a separated mysql table (using the custom - free storage type). When i try to add a new article or modify the existing one (using the same custom content form) i receive this error: 0 Missing field in database: JCckTable id.

Could you please explain me what does it mean?

Thanks in advance.

X_Ch4n

Get a Book for SEBLOD
693 Posts
rpoy
10 years ago
2
Level 1

Hi x_Ch4n,

Welcome to the SEBLOD forum.  It would be helpful for you to be familiar with the SEBLOD storage methodology in this tutorial and videos.  Also, it would be good to go over the documentation in the Manuals section.

What version of SEBLOD/Joomla are you using?   What are you trying to accomplish with SEBLOD?  SEBLOD will create its own table for you. Why are you using the Custom - free storage?

The error appears to indicate that there is an id field missing.

regards,

Randy

10 years ago
1
Level 2

Hi Randy,

thanks for your answer.

I'm using Seblod 3.3.5 and joomla 3.3.1. 

I would like to create a dog database and i don't want to mix articles data with dog cards data so i created a new content type.

This is what i've done:

i created a new empty mysql table, i created some fields using custom/free storage format and i associated this fields with new mysql column using the "alter" flag.

This is the method i've used in the past with other older versions of seblod so i believed it was the same with 3.3.1 ver.

What can i do now to achieve this issue?

Thanks 

X_Ch4n

693 Posts
rpoy
10 years ago
0
Level 3

Hi X_Ch4n,

I think you might be making things too difficult.  SEBLOD still creates "articles" - it is an article based on your content type.  When you create a Content Type, SEBLOD will create a table for you in the database like: cck_store_form_ContentTypeName.

In most cases you should only need to use the storage: Standard | Article | Field_name

To keep things organized add a default category (ie dog) to your content type so that when your dog article is created you can sort it in the article manager.

hope that helps,

Randy

10 years ago
0
Level 1

Hi Randy,

i finally solved. I re-created all my fields and content type/form so it made a new sql table. Thanks a lot

X_Ch4n

Get a Book for SEBLOD