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

#   1054 Unknown column 'P.product\_parent\_id' in 'field list' (confirming order)

##

- **[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")**
- [![stratacorps's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33546-stratacorps "View stratacorps's Profile") Topic Author
- [ Offline](/forum/user/33546-stratacorps)

Less More

- Posts: 116
- Thank you received: 7
-

8 years 5 months ago -  8 years 5 months ago [\#293193](#293193) by [stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")  *[1054 Unknown column 'P.product\_parent\_id' in 'field list' (confirming order)](/forum/35-orders-management/894815-1054-unknown-column-p-product-parent-id-in-field-list-confirming-order#293193 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.2 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 1054 Unknown column 'P.product&#95;parent&#95;id' in 'field list'  I was investigating problems with checkout where visitors are presented with a 404 error page after checking out and our order history with AIM payment transaction details are not getting updated and customers not receiving the email confirmations.  So in experimenting, I had a test order that I manually changed to &quot;confirmed&quot; from the backend, orders display. When I try to change the status to confirmed, I get:  EDIT: This is related. It may have something to do with AWOCoupon and I am going to disable that for now. Here is the debug info...  ActNow Home  Events  Marketplace  Contact Us 1054 Unknown column 'P.product&#95;parent&#95;id' in 'field list' Call stack # Function Location 1 () JROOT/libraries/joomla/database/driver/mysqli.php:650 2 JDatabaseDriverMysqli-&gt;execute() JROOT/libraries/joomla/database/driver.php:1691 3 JDatabaseDriver-&gt;loadObjectList() JROOT/administrator/components/com&#95;awocoupon/helper/class-awocoupon-helper-database.php:20 4 AwoCoupon&#95;Helper&#95;Database-&gt;get&#95;objectlist() JROOT/administrator/components/com&#95;awocoupon/helper/estore/hikashop/class-awocoupon-helper-estore-hikashop-giftcert.php:161 5 AwoCoupon&#95;Helper&#95;Estore&#95;Hikashop&#95;Giftcert-&gt;get&#95;order&#95;orderitem&#95;rows() JROOT/administrator/components/com&#95;awocoupon/helper/estore/hikashop/class-awocoupon-helper-estore-hikashop-giftcert.php:45 6 AwoCoupon&#95;Helper&#95;Estore&#95;Hikashop&#95;Giftcert-&gt;order&#95;status&#95;changed() JROOT/plugins/hikashop/awocoupon/awocoupon.php:113 7 plgHikashopAwoCoupon-&gt;onAfterOrderUpdate() JROOT/libraries/joomla/event/event.php:70 8 JEvent-&gt;update() JROOT/libraries/joomla/event/dispatcher.php:160 9 JEventDispatcher-&gt;trigger() JROOT/administrator/components/com&#95;hikashop/classes/order.php:453 10 hikashopOrderClass-&gt;save() JROOT/components/com&#95;hikashop/controllers/order.php:445 11 orderController-&gt;pay() JROOT/libraries/src/MVC/Controller/BaseController.php:710 12 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:1885 13 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:79 14 require&#95;once() JROOT/libraries/src/Component/ComponentHelper.php:382 15 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:357 16 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194 17 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233 18 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:195 19 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/index.php:49 404 We are sorry! An unexpected error occurred while processing your request. The problem has been reported and we will make every effort to correct this as soon as possible. Return © 2006 - 2018 ActNow Promotions  1054 Unknown column 'P.product&#95;parent&#95;id' in 'field list'  All other status options appear okay. The status is, in fact, changed in the database.  Where can this be happening from and could this also be causing the problem that I was trying to investigate?  Thanks!")* was created by *[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.8
-- PHP version -- : 7.2
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : 1054 Unknown column 'P.product_parent_id' in 'field list'

I was investigating problems with checkout where visitors are presented with a 404 error page after checking out and our order history with AIM payment transaction details are not getting updated and customers not receiving the email confirmations.

So in experimenting, I had a test order that I manually changed to "confirmed" from the backend, orders display. When I try to change the status to confirmed, I get:

EDIT: This is related. It may have something to do with AWOCoupon and I am going to disable that for now. Here is the debug info...

ActNow
Home

Events

Marketplace

Contact Us
1054 Unknown column 'P.product_parent_id' in 'field list'
Call stack
\# Function Location
1 () JROOT/libraries/joomla/database/driver/mysqli.php:650
2 JDatabaseDriverMysqli-&gt;execute() JROOT/libraries/joomla/database/driver.php:1691
3 JDatabaseDriver-&gt;loadObjectList() JROOT/administrator/components/com_awocoupon/helper/class-awocoupon-helper-database.php:20
4 AwoCoupon_Helper_Database-&gt;get_objectlist() JROOT/administrator/components/com_awocoupon/helper/estore/hikashop/class-awocoupon-helper-estore-hikashop-giftcert.php:161
5 AwoCoupon_Helper_Estore_Hikashop_Giftcert-&gt;get_order_orderitem_rows() JROOT/administrator/components/com_awocoupon/helper/estore/hikashop/class-awocoupon-helper-estore-hikashop-giftcert.php:45
6 AwoCoupon_Helper_Estore_Hikashop_Giftcert-&gt;order_status_changed() JROOT/plugins/hikashop/awocoupon/awocoupon.php:113
7 plgHikashopAwoCoupon-&gt;onAfterOrderUpdate() JROOT/libraries/joomla/event/event.php:70
8 JEvent-&gt;update() JROOT/libraries/joomla/event/dispatcher.php:160
9 JEventDispatcher-&gt;trigger() JROOT/administrator/components/com_hikashop/classes/order.php:453
10 hikashopOrderClass-&gt;save() JROOT/components/com_hikashop/controllers/order.php:445
11 orderController-&gt;pay() JROOT/libraries/src/MVC/Controller/BaseController.php:710
12 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:1885
13 hikashopController-&gt;execute() JROOT/components/com_hikashop/hikashop.php:79
14 require_once() JROOT/libraries/src/Component/ComponentHelper.php:382
15 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:357
16 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
17 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
18 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:195
19 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/index.php:49
404
We are sorry!
An unexpected error occurred while processing your request. The problem has been reported and we will make every effort to correct this as soon as possible.
Return
© 2006 - 2018 ActNow Promotions

1054 Unknown column 'P.product_parent_id' in 'field list'

All other status options appear okay. The status is, in fact, changed in the database.

Where can this be happening from and could this also be causing the problem that I was trying to investigate?

Thanks!

Last edit: 8 years 5 months ago by [stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile").

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

- **[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")**
- [![stratacorps's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33546-stratacorps "View stratacorps's Profile") Topic Author
- [ Offline](/forum/user/33546-stratacorps)

Less More

- Posts: 116
- Thank you received: 7
-

8 years 5 months ago [\#293199](#293199) by [stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")  Replied by *[stratacorps](/forum/user/33546-stratacorps "View stratacorps's Profile")* on topic *[1054 Unknown column 'P.product\_parent\_id' in 'field list' (confirming order)](/forum/35-orders-management/894815-1054-unknown-column-p-product-parent-id-in-field-list-confirming-order#293199 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.8 -- PHP version -- : 7.2 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 1054 Unknown column 'P.product&#95;parent&#95;id' in 'field list'  I was investigating problems with checkout where visitors are presented with a 404 error page after checking out and our order history with AIM payment transaction details are not getting updated and customers not receiving the email confirmations.  So in experimenting, I had a test order that I manually changed to &quot;confirmed&quot; from the backend, orders display. When I try to change the status to confirmed, I get:  EDIT: This is related. It may have something to do with AWOCoupon and I am going to disable that for now. Here is the debug info...  ActNow Home  Events  Marketplace  Contact Us 1054 Unknown column 'P.product&#95;parent&#95;id' in 'field list' Call stack # Function Location 1 () JROOT/libraries/joomla/database/driver/mysqli.php:650 2 JDatabaseDriverMysqli-&gt;execute() JROOT/libraries/joomla/database/driver.php:1691 3 JDatabaseDriver-&gt;loadObjectList() JROOT/administrator/components/com&#95;awocoupon/helper/class-awocoupon-helper-database.php:20 4 AwoCoupon&#95;Helper&#95;Database-&gt;get&#95;objectlist() JROOT/administrator/components/com&#95;awocoupon/helper/estore/hikashop/class-awocoupon-helper-estore-hikashop-giftcert.php:161 5 AwoCoupon&#95;Helper&#95;Estore&#95;Hikashop&#95;Giftcert-&gt;get&#95;order&#95;orderitem&#95;rows() JROOT/administrator/components/com&#95;awocoupon/helper/estore/hikashop/class-awocoupon-helper-estore-hikashop-giftcert.php:45 6 AwoCoupon&#95;Helper&#95;Estore&#95;Hikashop&#95;Giftcert-&gt;order&#95;status&#95;changed() JROOT/plugins/hikashop/awocoupon/awocoupon.php:113 7 plgHikashopAwoCoupon-&gt;onAfterOrderUpdate() JROOT/libraries/joomla/event/event.php:70 8 JEvent-&gt;update() JROOT/libraries/joomla/event/dispatcher.php:160 9 JEventDispatcher-&gt;trigger() JROOT/administrator/components/com&#95;hikashop/classes/order.php:453 10 hikashopOrderClass-&gt;save() JROOT/components/com&#95;hikashop/controllers/order.php:445 11 orderController-&gt;pay() JROOT/libraries/src/MVC/Controller/BaseController.php:710 12 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:1885 13 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:79 14 require&#95;once() JROOT/libraries/src/Component/ComponentHelper.php:382 15 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:357 16 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194 17 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233 18 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:195 19 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/index.php:49 404 We are sorry! An unexpected error occurred while processing your request. The problem has been reported and we will make every effort to correct this as soon as possible. Return © 2006 - 2018 ActNow Promotions  1054 Unknown column 'P.product&#95;parent&#95;id' in 'field list'  All other status options appear okay. The status is, in fact, changed in the database.  Where can this be happening from and could this also be causing the problem that I was trying to investigate?  Thanks!")*

Sorry to have posted so quickly. This is caused by the latest version (3.5.5.4) of AWOcoupon. A quick change to one of the helper files fixes this and it has been reported to Seyi. Hopefully this will help if anyone else is having similar problems with 404 page redirects on checkout.

Edit: administrator/components/com_awocoupon/helper/estore/hikashop/class-awocoupon-helper-estore-hikashop-giftcert.php
Line 130 ... change Code:

,P.product_parent_id AS product_id

to Code:

,p.product_parent_id AS product_id

(lower case 'p')

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NDgxNS0xMDU0LXVua25vd24tY29sdW1uLXAtcHJvZHVjdC1wYXJlbnQtaWQtaW4tZmllbGQtbGlzdC1jb25maXJtaW5nLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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.039 seconds

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