Forum - jschmidt-systemberatung.de

× php-RGraph und php-rgraph Joomla Content Plugin

Graph not displayed

  • erica
  • Autor
  • Besucher
  • Besucher
6 Jahre 1 Monat her #1116 von erica
Graph not displayed wurde erstellt von 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 ????

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
6 Jahre 4 Wochen her #1117 von jochen
jochen antwortete auf Graph not displayed
hi,
for security reasons tables with naem of "user" or containing name of "user" will not be allowed.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • erica
  • Autor
  • Besucher
  • Besucher
6 Jahre 3 Wochen her #1118 von erica
erica antwortete auf 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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
6 Jahre 3 Wochen her #1119 von jochen
jochen antwortete auf 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.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.236 Sekunden
Powered by Kunena Forum
Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbesssern. Auf keinen Fall werden persönliche oder vertrauliche Daten gespeichert oder weitergegeben.