Forum - jschmidt-systemberatung.de

× php-RGraph and php-rgraph Joomla Content Plugin

Graph not displayed

  • erica
  • Topic Author
  • Visitor
  • Visitor
6 years 4 weeks ago #1116 by erica
Graph not displayed was created by erica
Hello
I am on Joomla 3.8.6. I installed php-rgraph.
When I use the sql request below for bar graph:
"SELECT i.catid catid_item, u.name name_user FROM lths2e_flexicontent_items_tmp i INNER JOIN lths2e_users u ON u.id = i.created_by"
the chart don't display and I have this message below:

*** php-rgraph - invalid/missing parameter:
- SQL-statement not allowed: SELECT i.catid catid_item, u.name name_user FROM lths2e_flexicontent_items_tmp i INNER JOIN lths2e_users u ON u.id = i.created_by

However if I use the request sql directly with phpmyadmin I don't have mistake.
Why ????

Please Log in or Create an account to join the conversation.

More
6 years 3 weeks ago #1117 by jochen
Replied by jochen on topic Graph not displayed
hi,
for security reasons tables with naem of "user" or containing name of "user" will not be allowed.

Please Log in or Create an account to join the conversation.

  • erica
  • Topic Author
  • Visitor
  • Visitor
6 years 2 weeks ago #1118 by erica
Replied by erica on topic Graph not displayed
Hello,
Thank you for your answer.
How can i allow the access ?
I make an simple application in local and with 2 users. I don't need this security.

Please Log in or Create an account to join the conversation.

More
6 years 2 weeks ago #1119 by jochen
Replied by jochen on topic Graph not displayed
hi,

with next release i'll add option to allow for access of this kind of tablename. With current release you must edit code of ../plugins/content/rgraph/helper.php and put this code
if (stripos($check, "_users") != false) $error_string .= JText::_('SQL_NOTALLOWED') . $check;
into comments or delete it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.161 seconds
Powered by Kunena Forum
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.