Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Can not get data to show
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Can not get data to show
#25704
Can not get data to show 12 Years, 9 Months ago Karma: 0
Hi,

I am using ARI Data Tables with Joomla 2.5 to show data via the folowing query:

SELECT
j17_comprofiler.cb_mv,
j17_comprofiler.cb_voortitel,
j17_comprofiler.cb_voorletters,
j17_comprofiler.firstname,
j17_comprofiler.middlename,
j17_comprofiler.lastname,
j17_comprofiler.cb_achtertitel,
j17_comprofiler.cb_bedrijf,
j17_comprofiler.cb_functie,
j17_comprofiler.cb_bedrijftelefoon,
j17_comprofiler.cb_bezoekadresplaats,
j17_users.email
FROM j17_comprofiler
INNER JOIN j17_users ON j17_comprofiler.id = j17_users.id
WHERE j17_comprofiler.cb_advocaat2 =1 AND j17_comprofiler.approved =1 AND j17_users.block =0


(I connect to the Joomla database.)

I keep getting: No data available.

Any ideas please?

Tom
The administrator has disabled public write access.
 
#25708
Re:Can not get data to show 12 Years, 9 Months ago Karma: 760
Hello,

Use the next SQL query and set "SQL -> Debug mode" parameter to "Yes":

Code:


SELECT
  P.cb_mv,
  P.cb_voortitel,
  P.cb_voorletters,
  P.firstname,
  P.middlename,
  P.lastname,
  P.cb_achtertitel,
  P.cb_bedrijf,
  P.cb_functie,
  P.cb_bedrijftelefoon,
  P.cb_bezoekadresplaats,
  U.email
FROM 
  #__comprofiler P INNER JOIN #__users U 
    ON P.id = U.id
WHERE 
  P.cb_advocaat2 =1 
  AND 
  P.approved =1 
  AND 
  U.block =0



Regards,
ARI Soft
The administrator has disabled public write access.
 
#25709
Re:Can not get data to show 12 Years, 9 Months ago Karma: 0
Thanks for your prompt response.

The solution does not work. Now it seems to be in a loop with loading data.

If you want to have a look:

vrouwholle.com/index.php/nl/ari-advocaat-dienstbetrekking



vrouwholle.com/administrator/index.php?option=com_advancedmodules&view=modules

***
***


(It not a production site yet.)

I checked the query and left " P.cb_bedrijftelefoon," out because that field is now deleted.


Tom
Last Edit: 2012/03/01 10:49 By admin.
The administrator has disabled public write access.
 
#25710
Re:Can not get data to show 12 Years, 9 Months ago Karma: 760
Try now please. The problem occurred because the module was loaded into an article (by "Modules Anywhere" plugin) and into a module position.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#25726
Re:Can not get data to show 12 Years, 9 Months ago Karma: 0
Thanks, that did it!!!

And so fast...

Tom
The administrator has disabled public write access.
 
Go to topPage: 1