[Skip to main content](#vessel-content)

#   Issues w/ MYSQL queries. Cannot find field value &amp;/or Error 1054

##

- **[MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")**
- [![MacNaughton's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar46044.png)](/forum/user/46044-macnaughton "View MacNaughton's Profile") Topic Author
- [ Offline](/forum/user/46044-macnaughton)

Less More

- Posts: 23
- Thank you received: 1
-
-
- [](http://www.bengalhome.com)
-

9 years 9 months ago [\#262958](#262958) by [MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")  *[Issues w/ MYSQL queries. Cannot find field value &amp;/or Error 1054](/forum/32-content-creation/888967-issues-w-mysql-queries-cannot-find-field-value-or-error-1054#262958 "-- url of the page with the problem -- :   www.mcnabbcustomcreations.com  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.5 -- Browser(s) name and version -- : 56.0.2924.87 (64-bit) -- Error-message(debug-mod must be tuned on) -- : 1) Please enter value for field XXX 2) Error 1054  Greetings,  I have several custom field columns for multiple drop down menus that are lists of colors for yarn. I originally wanted to make one generic list &amp; call it from multiple locations but I keep getting a MYSQL Error 1054. So I created several custom fields for each product that requires the color list. Now I get a error message that says &quot;Please enter a value for field XXXX&quot; or I get a 1054 error &quot;unknown column in field&quot;. I've read over the Hikashop documentation but I cannot find anything that reflects my particular problem. Debug is on &amp; Error Reporting set to &quot;E&#95;ALL | E&#95;STRICT&quot;.  Many Thanks.")* was created by *[MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")*

-- url of the page with the problem -- : [ www.mcnabbcustomcreations.com](https://www.mcnabbcustomcreations.com)
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.5
-- Browser(s) name and version -- : 56.0.2924.87 (64-bit)
-- Error-message(debug-mod must be tuned on) -- : 1) Please enter value for field XXX
2) Error 1054

Greetings,

I have several custom field columns for multiple drop down menus that are lists of colors for yarn.
I originally wanted to make one generic list &amp; call it from multiple locations but I keep getting a MYSQL Error 1054.
So I created several custom fields for each product that requires the color list.
Now I get a error message that says "Please enter a value for field XXXX" or I get a 1054 error "unknown column in field".
I've read over the Hikashop documentation but I cannot find anything that reflects my particular problem.
Debug is on &amp; Error Reporting set to "E_ALL &#124; E_STRICT".

Many Thanks.

---

====================================
Michael S. "Mac" Miller
Webmaster
Bengalhome Enterprises
webmaster@bengalhome.com

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg4OTY3LWlzc3Vlcy13LW15c3FsLXF1ZXJpZXMtY2Fubm90LWZpbmQtZmllbGQtdmFsdWUtb3ItZXJyb3ItMTA1ND90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#262962](#262962) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Issues w/ MYSQL queries. Cannot find field value &amp;/or Error 1054](/forum/32-content-creation/888967-issues-w-mysql-queries-cannot-find-field-value-or-error-1054#262962 "-- url of the page with the problem -- :   www.mcnabbcustomcreations.com  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.5 -- Browser(s) name and version -- : 56.0.2924.87 (64-bit) -- Error-message(debug-mod must be tuned on) -- : 1) Please enter value for field XXX 2) Error 1054  Greetings,  I have several custom field columns for multiple drop down menus that are lists of colors for yarn. I originally wanted to make one generic list &amp; call it from multiple locations but I keep getting a MYSQL Error 1054. So I created several custom fields for each product that requires the color list. Now I get a error message that says &quot;Please enter a value for field XXXX&quot; or I get a 1054 error &quot;unknown column in field&quot;. I've read over the Hikashop documentation but I cannot find anything that reflects my particular problem. Debug is on &amp; Error Reporting set to &quot;E&#95;ALL | E&#95;STRICT&quot;.  Many Thanks.")*

Hi,

When you create a custom field, you have to provide a "field namekey".
That namekey is also the column name that you'll find in your database.

You have to be sure that you have the corresponding column in your database.
The first step would be to perform a "check database" (button in the toolbar while you're in the HikaShop configuration).
Then, if the problem persist, you'll have to check your custom field configuration and look at your HikaShop tables.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg4OTY3LWlzc3Vlcy13LW15c3FsLXF1ZXJpZXMtY2Fubm90LWZpbmQtZmllbGQtdmFsdWUtb3ItZXJyb3ItMTA1ND90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")**
- [![MacNaughton's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar46044.png)](/forum/user/46044-macnaughton "View MacNaughton's Profile") Topic Author
- [ Offline](/forum/user/46044-macnaughton)

Less More

- Posts: 23
- Thank you received: 1
-
-
- [](http://www.bengalhome.com)
-

9 years 9 months ago [\#263093](#263093) by [MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")  Replied by *[MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")* on topic *[Issues w/ MYSQL queries. Cannot find field value &amp;/or Error 1054](/forum/32-content-creation/888967-issues-w-mysql-queries-cannot-find-field-value-or-error-1054#263093 "-- url of the page with the problem -- :   www.mcnabbcustomcreations.com  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.5 -- Browser(s) name and version -- : 56.0.2924.87 (64-bit) -- Error-message(debug-mod must be tuned on) -- : 1) Please enter value for field XXX 2) Error 1054  Greetings,  I have several custom field columns for multiple drop down menus that are lists of colors for yarn. I originally wanted to make one generic list &amp; call it from multiple locations but I keep getting a MYSQL Error 1054. So I created several custom fields for each product that requires the color list. Now I get a error message that says &quot;Please enter a value for field XXXX&quot; or I get a 1054 error &quot;unknown column in field&quot;. I've read over the Hikashop documentation but I cannot find anything that reflects my particular problem. Debug is on &amp; Error Reporting set to &quot;E&#95;ALL | E&#95;STRICT&quot;.  Many Thanks.")*

Jerome,

Thanks for your quick reply. I have checked everything you suggested but I don't see a problem. I have included screen caps of of the Database check results, the a portion of the phpAdmin listing of the customs fields I am having issues with, and 2 caps of 1 particular record.
I would appreciate you looking these over &amp; tell me what I've missed.

Many Thanks,

---

====================================
Michael S. "Mac" Miller
Webmaster
Bengalhome Enterprises
webmaster@bengalhome.com

- [ ![DatabaseCheckCapture.PNG](/forum/attachment/36520) ](/forum/attachment/36520 "...eckCapture.PNG") [ ](/forum/attachment/36520?download=1 "...eckCapture.PNG")
- [ ![RecordCapture1.PNG](/forum/attachment/36521) ](/forum/attachment/36521 "...rdCapture1.PNG") [ ](/forum/attachment/36521?download=1 "...rdCapture1.PNG")
- [ ![recordCapture2.PNG](/forum/attachment/36522) ](/forum/attachment/36522 "...rdCapture2.PNG") [ ](/forum/attachment/36522?download=1 "...rdCapture2.PNG")
- [ ![DatabaseCapture.PNG](/forum/attachment/36523) ](/forum/attachment/36523 "...aseCapture.PNG") [ ](/forum/attachment/36523?download=1 "...aseCapture.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg4OTY3LWlzc3Vlcy13LW15c3FsLXF1ZXJpZXMtY2Fubm90LWZpbmQtZmllbGQtdmFsdWUtb3ItZXJyb3ItMTA1ND90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#263125](#263125) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Issues w/ MYSQL queries. Cannot find field value &amp;/or Error 1054](/forum/32-content-creation/888967-issues-w-mysql-queries-cannot-find-field-value-or-error-1054#263125 "-- url of the page with the problem -- :   www.mcnabbcustomcreations.com  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.5 -- Browser(s) name and version -- : 56.0.2924.87 (64-bit) -- Error-message(debug-mod must be tuned on) -- : 1) Please enter value for field XXX 2) Error 1054  Greetings,  I have several custom field columns for multiple drop down menus that are lists of colors for yarn. I originally wanted to make one generic list &amp; call it from multiple locations but I keep getting a MYSQL Error 1054. So I created several custom fields for each product that requires the color list. Now I get a error message that says &quot;Please enter a value for field XXXX&quot; or I get a 1054 error &quot;unknown column in field&quot;. I've read over the Hikashop documentation but I cannot find anything that reflects my particular problem. Debug is on &amp; Error Reporting set to &quot;E&#95;ALL | E&#95;STRICT&quot;.  Many Thanks.")*

Hi,

Because your custom field is an "item" custom field, the corresponding column in the database should be in the table "cart_product" and "order_product".
Afterwards, we would need to exact error message of the SQL query error ; and if you can also provide the "callstack" it would be awesome.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg4OTY3LWlzc3Vlcy13LW15c3FsLXF1ZXJpZXMtY2Fubm90LWZpbmQtZmllbGQtdmFsdWUtb3ItZXJyb3ItMTA1ND90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")**
- [![MacNaughton's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar46044.png)](/forum/user/46044-macnaughton "View MacNaughton's Profile") Topic Author
- [ Offline](/forum/user/46044-macnaughton)

Less More

- Posts: 23
- Thank you received: 1
-
-
- [](http://www.bengalhome.com)
-

9 years 9 months ago [\#263239](#263239) by [MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")  Replied by *[MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")* on topic *[Issues w/ MYSQL queries. Cannot find field value &amp;/or Error 1054](/forum/32-content-creation/888967-issues-w-mysql-queries-cannot-find-field-value-or-error-1054#263239 "-- url of the page with the problem -- :   www.mcnabbcustomcreations.com  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.5 -- Browser(s) name and version -- : 56.0.2924.87 (64-bit) -- Error-message(debug-mod must be tuned on) -- : 1) Please enter value for field XXX 2) Error 1054  Greetings,  I have several custom field columns for multiple drop down menus that are lists of colors for yarn. I originally wanted to make one generic list &amp; call it from multiple locations but I keep getting a MYSQL Error 1054. So I created several custom fields for each product that requires the color list. Now I get a error message that says &quot;Please enter a value for field XXXX&quot; or I get a 1054 error &quot;unknown column in field&quot;. I've read over the Hikashop documentation but I cannot find anything that reflects my particular problem. Debug is on &amp; Error Reporting set to &quot;E&#95;ALL | E&#95;STRICT&quot;.  Many Thanks.")*

Jerome,

Here are screen caps of the jos_hikashop_order_product &amp; jos_hikashop_cart_product tables plus 2 screen caps of the jos_hikashop_field callstacks. There were no callstacks for the order/cart product tables.

---

====================================
Michael S. "Mac" Miller
Webmaster
Bengalhome Enterprises
webmaster@bengalhome.com

- [ ![jos&#95;hikashop&#95;fieldCapture1.PNG](/forum/attachment/36568) ](/forum/attachment/36568 "...ldCapture1.PNG") [ ](/forum/attachment/36568?download=1 "...ldCapture1.PNG")
- [ ![Order&#95;productCapture.PNG](/forum/attachment/36569) ](/forum/attachment/36569 "...uctCapture.PNG") [ ](/forum/attachment/36569?download=1 "...uctCapture.PNG")
- [ ![jos&#95;hikashop&#95;fieldCapture2.PNG](/forum/attachment/36570) ](/forum/attachment/36570 "...ldCapture2.PNG") [ ](/forum/attachment/36570?download=1 "...ldCapture2.PNG")
- [ ![Cart&#95;ProductCapture.PNG](/forum/attachment/36571) ](/forum/attachment/36571 "...uctCapture.PNG") [ ](/forum/attachment/36571?download=1 "...uctCapture.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg4OTY3LWlzc3Vlcy13LW15c3FsLXF1ZXJpZXMtY2Fubm90LWZpbmQtZmllbGQtdmFsdWUtb3ItZXJyb3ItMTA1ND90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 9 months ago [\#263242](#263242) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Issues w/ MYSQL queries. Cannot find field value &amp;/or Error 1054](/forum/32-content-creation/888967-issues-w-mysql-queries-cannot-find-field-value-or-error-1054#263242 "-- url of the page with the problem -- :   www.mcnabbcustomcreations.com  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.5 -- Browser(s) name and version -- : 56.0.2924.87 (64-bit) -- Error-message(debug-mod must be tuned on) -- : 1) Please enter value for field XXX 2) Error 1054  Greetings,  I have several custom field columns for multiple drop down menus that are lists of colors for yarn. I originally wanted to make one generic list &amp; call it from multiple locations but I keep getting a MYSQL Error 1054. So I created several custom fields for each product that requires the color list. Now I get a error message that says &quot;Please enter a value for field XXXX&quot; or I get a 1054 error &quot;unknown column in field&quot;. I've read over the Hikashop documentation but I cannot find anything that reflects my particular problem. Debug is on &amp; Error Reporting set to &quot;E&#95;ALL | E&#95;STRICT&quot;.  Many Thanks.")*

Hi,

> Afterwards, we would need to exact **error message** of the SQL query error ; and if you can also provide the "callstack" it would be awesome.

I'm afraid that is not the error message that I was talking about :

> I get a 1054 error "unknown column in field".

The error you gave previously is not the real error message and does not contain the "call stack" I was talking about.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg4OTY3LWlzc3Vlcy13LW15c3FsLXF1ZXJpZXMtY2Fubm90LWZpbmQtZmllbGQtdmFsdWUtb3ItZXJyb3ItMTA1ND90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")**
- [![MacNaughton's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar46044.png)](/forum/user/46044-macnaughton "View MacNaughton's Profile") Topic Author
- [ Offline](/forum/user/46044-macnaughton)

Less More

- Posts: 23
- Thank you received: 1
-
-
- [](http://www.bengalhome.com)
-

9 years 9 months ago [\#263343](#263343) by [MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")  Replied by *[MacNaughton](/forum/user/46044-macnaughton "View MacNaughton's Profile")* on topic *[Issues w/ MYSQL queries. Cannot find field value &amp;/or Error 1054](/forum/32-content-creation/888967-issues-w-mysql-queries-cannot-find-field-value-or-error-1054#263343 "-- url of the page with the problem -- :   www.mcnabbcustomcreations.com  -- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.5 -- Browser(s) name and version -- : 56.0.2924.87 (64-bit) -- Error-message(debug-mod must be tuned on) -- : 1) Please enter value for field XXX 2) Error 1054  Greetings,  I have several custom field columns for multiple drop down menus that are lists of colors for yarn. I originally wanted to make one generic list &amp; call it from multiple locations but I keep getting a MYSQL Error 1054. So I created several custom fields for each product that requires the color list. Now I get a error message that says &quot;Please enter a value for field XXXX&quot; or I get a 1054 error &quot;unknown column in field&quot;. I've read over the Hikashop documentation but I cannot find anything that reflects my particular problem. Debug is on &amp; Error Reporting set to &quot;E&#95;ALL | E&#95;STRICT&quot;.  Many Thanks.")*

Jerome,
Figured out what I was doing wrong &amp; all is working correctly now.
Many thanks for the help.

---

====================================
Michael S. "Mac" Miller
Webmaster
Bengalhome Enterprises
webmaster@bengalhome.com

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg4OTY3LWlzc3Vlcy13LW15c3FsLXF1ZXJpZXMtY2Fubm90LWZpbmQtZmllbGQtdmFsdWUtb3ItZXJyb3ItMTA1ND90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.068 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
