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

#   #\_\_hikashop\_contact doesn't exists

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

12 years 1 month ago [\#169382](#169382) by [uaigo](/forum/user/33366-uaigo "View uaigo's Profile")  *[\#\_\_hikashop\_contact doesn't exists](/forum/3-bug-report/870707-hikashop-contact-doesnt-exists#169382 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Error-message(debug-mod must be tuned on) -- : Table 'xxx&#95;yyyyy.mrz29&#95;hikashop&#95;contact' doesn't exist SQL=SELECT COUNT(&#96;services&#95;contact&#96;) as total,&#96;services&#95;contact&#96; as name FROM mrz29&#95;hikashop&#95;contact WHERE &#96;services&#95;contact&#96; IS NOT NULL AND &#96;services&#95;contact&#96; != '' GROUP BY &#96;services&#95;contact&#96; ORDER BY total DESC LIMIT 20  All the time that I try edit a field of type singledropdown on the contact, I get this issues. Because the table #&#95;&#95;hikashop&#95;contact doesn't exists. There's any sugestion to the corretion for this issues?  Thanks")* was created by *[uaigo](/forum/user/33366-uaigo "View uaigo's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.29
-- Error-message(debug-mod must be tuned on) -- : Table 'xxx_yyyyy.mrz29_hikashop_contact' doesn't exist SQL=SELECT COUNT(&#96;services_contact&#96;) as total,&#96;services_contact&#96; as name FROM mrz29_hikashop_contact WHERE &#96;services_contact&#96; IS NOT NULL AND &#96;services_contact&#96; != '' GROUP BY &#96;services_contact&#96; ORDER BY total DESC LIMIT 20

All the time that I try edit a field of type singledropdown on the contact, I get this issues. Because the table #__hikashop_contact doesn't exists. There's any sugestion to the corretion for this issues?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NzA3MDctaGlrYXNob3AtY29udGFjdC1kb2VzbnQtZXhpc3RzP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#169384](#169384) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[\#\_\_hikashop\_contact doesn't exists](/forum/3-bug-report/870707-hikashop-contact-doesnt-exists#169384 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Error-message(debug-mod must be tuned on) -- : Table 'xxx&#95;yyyyy.mrz29&#95;hikashop&#95;contact' doesn't exist SQL=SELECT COUNT(&#96;services&#95;contact&#96;) as total,&#96;services&#95;contact&#96; as name FROM mrz29&#95;hikashop&#95;contact WHERE &#96;services&#95;contact&#96; IS NOT NULL AND &#96;services&#95;contact&#96; != '' GROUP BY &#96;services&#95;contact&#96; ORDER BY total DESC LIMIT 20  All the time that I try edit a field of type singledropdown on the contact, I get this issues. Because the table #&#95;&#95;hikashop&#95;contact doesn't exists. There's any sugestion to the corretion for this issues?  Thanks")*

Hi,

Please edit the file "administrator/components/com_hikashop/classes/field.php" and replace Code:

$namekey = hikashop_secureField($field-&gt;field_namekey); if(empty($order_status)){ if($table=='item') $table ='order_product';

By Code:

if($table == 'contact') return; $namekey = hikashop_secureField($field-&gt;field_namekey); if(empty($order_status)){ if($table=='item') $table ='order_product';

It will fix the display of the chart when looking at a contact custom field.
The next HikaShop release will contain the fix and other fixes for the contact custom fields.

Regards,

---

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

The following user(s) said Thank You: [uaigo](/forum/user/33366-uaigo "View uaigo's Profile")

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

12 years 1 month ago [\#169394](#169394) by [uaigo](/forum/user/33366-uaigo "View uaigo's Profile")  Replied by *[uaigo](/forum/user/33366-uaigo "View uaigo's Profile")* on topic *[\#\_\_hikashop\_contact doesn't exists](/forum/3-bug-report/870707-hikashop-contact-doesnt-exists#169394 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Error-message(debug-mod must be tuned on) -- : Table 'xxx&#95;yyyyy.mrz29&#95;hikashop&#95;contact' doesn't exist SQL=SELECT COUNT(&#96;services&#95;contact&#96;) as total,&#96;services&#95;contact&#96; as name FROM mrz29&#95;hikashop&#95;contact WHERE &#96;services&#95;contact&#96; IS NOT NULL AND &#96;services&#95;contact&#96; != '' GROUP BY &#96;services&#95;contact&#96; ORDER BY total DESC LIMIT 20  All the time that I try edit a field of type singledropdown on the contact, I get this issues. Because the table #&#95;&#95;hikashop&#95;contact doesn't exists. There's any sugestion to the corretion for this issues?  Thanks")*

Jerome,
I added the line at the position you suggested me, and now the edition of the fields works well.

Thanks

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

12 years 1 month ago [\#169395](#169395) by [uaigo](/forum/user/33366-uaigo "View uaigo's Profile")  Replied by *[uaigo](/forum/user/33366-uaigo "View uaigo's Profile")* on topic *[\#\_\_hikashop\_contact doesn't exists](/forum/3-bug-report/870707-hikashop-contact-doesnt-exists#169395 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Error-message(debug-mod must be tuned on) -- : Table 'xxx&#95;yyyyy.mrz29&#95;hikashop&#95;contact' doesn't exist SQL=SELECT COUNT(&#96;services&#95;contact&#96;) as total,&#96;services&#95;contact&#96; as name FROM mrz29&#95;hikashop&#95;contact WHERE &#96;services&#95;contact&#96; IS NOT NULL AND &#96;services&#95;contact&#96; != '' GROUP BY &#96;services&#95;contact&#96; ORDER BY total DESC LIMIT 20  All the time that I try edit a field of type singledropdown on the contact, I get this issues. Because the table #&#95;&#95;hikashop&#95;contact doesn't exists. There's any sugestion to the corretion for this issues?  Thanks")*

Jerome,
I have another one problem with the custom field on contact. All the time that I attempt delete a custom field on contact, the Hika tries to alter a table of contact that not exists and causing a error on mysql. Do you have another suggestion of alteration to work around this problem?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NzA3MDctaGlrYXNob3AtY29udGFjdC1kb2VzbnQtZXhpc3RzP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#169399](#169399) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[\#\_\_hikashop\_contact doesn't exists](/forum/3-bug-report/870707-hikashop-contact-doesnt-exists#169399 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Error-message(debug-mod must be tuned on) -- : Table 'xxx&#95;yyyyy.mrz29&#95;hikashop&#95;contact' doesn't exist SQL=SELECT COUNT(&#96;services&#95;contact&#96;) as total,&#96;services&#95;contact&#96; as name FROM mrz29&#95;hikashop&#95;contact WHERE &#96;services&#95;contact&#96; IS NOT NULL AND &#96;services&#95;contact&#96; != '' GROUP BY &#96;services&#95;contact&#96; ORDER BY total DESC LIMIT 20  All the time that I try edit a field of type singledropdown on the contact, I get this issues. Because the table #&#95;&#95;hikashop&#95;contact doesn't exists. There's any sugestion to the corretion for this issues?  Thanks")*

Hi,

Yes, that is the other fix I was talking about.
In the same file, replace : Code:

foreach($fieldsToDelete as $oneField){ if($oneField-&gt;field_type!='customtext'){ if($oneField-&gt;field_table=='item'){ $namekeys['cart_product'][] = $oneField-&gt;field_namekey; $namekeys['order_product'][] = $oneField-&gt;field_namekey; }else{ $namekeys[$oneField-&gt;field_table][] = $oneField-&gt;field_namekey; }

By Code:

foreach($fieldsToDelete as $oneField){ if($oneField-&gt;field_type!='customtext'){ if($oneField-&gt;field_table=='item'){ $namekeys['cart_product'][] = $oneField-&gt;field_namekey; $namekeys['order_product'][] = $oneField-&gt;field_namekey; }elseif($oneField-&gt;field_table != 'contact'){ $namekeys[$oneField-&gt;field_table][] = $oneField-&gt;field_namekey; }

Regards,

---

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

The following user(s) said Thank You: [uaigo](/forum/user/33366-uaigo "View uaigo's Profile")

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

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

Less More

- Posts: 8
- Thank you received: 0
-
-

12 years 1 month ago [\#169635](#169635) by [uaigo](/forum/user/33366-uaigo "View uaigo's Profile")  Replied by *[uaigo](/forum/user/33366-uaigo "View uaigo's Profile")* on topic *[\#\_\_hikashop\_contact doesn't exists](/forum/3-bug-report/870707-hikashop-contact-doesnt-exists#169635 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.29 -- Error-message(debug-mod must be tuned on) -- : Table 'xxx&#95;yyyyy.mrz29&#95;hikashop&#95;contact' doesn't exist SQL=SELECT COUNT(&#96;services&#95;contact&#96;) as total,&#96;services&#95;contact&#96; as name FROM mrz29&#95;hikashop&#95;contact WHERE &#96;services&#95;contact&#96; IS NOT NULL AND &#96;services&#95;contact&#96; != '' GROUP BY &#96;services&#95;contact&#96; ORDER BY total DESC LIMIT 20  All the time that I try edit a field of type singledropdown on the contact, I get this issues. Because the table #&#95;&#95;hikashop&#95;contact doesn't exists. There's any sugestion to the corretion for this issues?  Thanks")*

Hi Jerome,
Now works well!!

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

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

[](#top)
