[#5887] Drop Down Single Select Query External Database

8 years 4 weeks ago #279909 by edmundcheong
Replied by edmundcheong on topic Drop Down Single Select Query External Database
Sorry, it took me awhile to get back here.. I am still unable to get a query out..

I have enabled debug and i got this error:

Fatal error: Class 'cbDatabase' not found in /var/www/html/components/com_comprofiler/plugin/user/plug_cbqueryfield/cbqueryfield.php on line 74

The following parameters are used:

Query:
SELECT count(*) FROM `#__contributions` WHERE id='123456-xx-12pp'

Mode: External
Host: 30.30.5.71
username: username
password: password
Database: testdatabase
charset: (left blank)
Table Prefix: (left blank)

Please Log in to join the conversation.

8 years 4 weeks ago #279910 by nant
Please post version numbers!

Make sure you have latest nightlies installed for both CB and CB Query plugin from this page:

www.joomlapolis.com/cb-20-addon-status

Please Log in to join the conversation.

8 years 4 weeks ago #279911 by edmundcheong
Replied by edmundcheong on topic Drop Down Single Select Query External Database
Version 5.0.2

will do an update and see what happens..

Please Log in to join the conversation.

8 years 4 weeks ago #279913 by edmundcheong
Replied by edmundcheong on topic Drop Down Single Select Query External Database
Updated..

Same error:

Fatal error: Class 'cbDatabase' not found in /var/www/html/components/com_comprofiler/plugin/user/plug_cbqueryfield/cbqueryfield.php on line 74


Plugin version: plug_cbqueryfield_5.0.4+2016.03.10.19.31.31.096ffeb98

Please Log in to join the conversation.

8 years 4 weeks ago #279927 by krileon
Looks like there's a bug with external database usage. Have fixed for next nightly release.

forge.joomlapolis.com/issues/5887


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

8 years 4 weeks ago #279931 by edmundcheong
Replied by edmundcheong on topic Drop Down Single Select Query External Database
Did you manage to simulate it on your localhost too?

Not to sure about the query auto action.. will try that later..

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.233 seconds

Facebook Twitter LinkedIn