DataTalk error

Topics related to AppGini plugins/add-ons go here.
Post Reply
fciprian
Veteran Member
Posts: 52
Joined: 2020-04-20 10:51

DataTalk error

Post by fciprian » 2023-08-14 22:14

Hello.
I got same error on every question or text typed in "Question" :

"An error occurred while processing your question
Query must begin with SELECT."

I got this message on every text i type in.

PS: Questions History: nevers shows the logs of my questios.
PS2: API Key is added and checked "LAST USED" and works.

Any ideas? Thank you

User avatar
a.gneady
Site Admin
Posts: 1287
Joined: 2012-09-27 14:46
Contact:

Re: DataTalk error

Post by a.gneady » 2023-08-15 09:53

Please open the browser inspector by pressing F12, go to the console tab, then try posting a question. You should see more details about your request including any errors in the console. Could you post (or send to me via support) a screenshot of what you see?
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

fciprian
Veteran Member
Posts: 52
Joined: 2020-04-20 10:51

Re: DataTalk error

Post by fciprian » 2023-08-18 18:05

AppGiniHelper.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
AppGiniHelper.dv.signature.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
AppGiniHelperIndicators.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

jquery-3.5.1.min.js:2 POST */plugins/datatalk/index.php 500 (Internal Server Error)

tchandra
Posts: 13
Joined: 2019-09-22 16:52

Re: DataTalk error

Post by tchandra » 2023-11-08 09:59

I have the same problem,
I have api key generated, and copy pasted to datatalk plugin setting.
somehow it never used (LAST USED : NEVER)

here is what shown in the console :
Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1016 Uncaught ReferenceError: AppGiniCommon is not defined
at (index):1016:1
common.js?1699434707:1856 AppGini.currentTableName: Could not retrieve table name from page URL
AppGini.currentTableName @ common.js?1699434707:1856
/dailysalesv2/plugins/datatalk/index.php:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
DevTools failed to load source map: Could not load content for http://192.168.1.146/dailysalesv2/resources/lightbox/js/lightbox.min.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://192.168.1.146/dailysalesv2/resources/initializr/css/bootstrap.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
jquery-3.5.1.min.js:2 POST http://192.168.1.146/dailysalesv2/plugins/datatalk/index.php 500 (Internal Server Error)
send @ jquery-3.5.1.min.js:2
ajax @ jquery-3.5.1.min.js:2
getAnswer @ (index):1361
(anonymous) @ (index):1506
dispatch @ jquery-3.5.1.min.js:2
v.handle @ jquery-3.5.1.min.js:2
jquery-3.5.1.min.js:2 POST http://192.168.1.146/dailysalesv2/plugins/datatalk/index.php 500 (Internal Server Error)
send @ jquery-3.5.1.min.js:2
ajax @ jquery-3.5.1.min.js:2
getAnswer @ (index):1361
(anonymous) @ (index):1506
dispatch @ jquery-3.5.1.min.js:2
v.handle @ jquery-3.5.1.min.js:2

fciprian
Veteran Member
Posts: 52
Joined: 2020-04-20 10:51

Re: DataTalk error

Post by fciprian » 2023-12-27 16:57

Any news?:(

pasbonte
Veteran Member
Posts: 162
Joined: 2013-02-06 09:49

Re: DataTalk error

Post by pasbonte » 2023-12-27 17:30

moi j'ai :

Code: Select all

Failed to load resource: the server responded with a status of 404 ()
AppGiniHelper.tv.tiles.min.js:1 
        
        
        Failed to load resource: the server responded with a status of 404 ()
datatalk/:1040  Uncaught ReferenceError: AppGiniHelper is not defined
    at datatalk/:1040:14
logo.PNG:1 
        
        
        Failed to load resource: the server responded with a status of 404 ()
AppGiniHelper.min.js?v=1703697887:7  
AppGiniHelper.min.js?v=1703697887:7 AppGini Helper JavaScript Library
AppGiniHelper.min.js?v=1703697887:7 Version 2020.10.26.1
datatalk/:1064  Uncaught TypeError: AppGiniHelper.getCommon is not a function
    at datatalk/:1064:17
common.js?1703060909:2027  AppGini.currentTableName: Could not retrieve table name from page URL
AppGini.currentTableName @ common.js?1703060909:2027
index.php:1 
        
        
        Failed to load resource: the server responded with a status of 500 ()
datatalk/ajax_check_login.php:1 
        
        
        Failed to load resource: the server responded with a status of 404 ()
AppGiniHelper.tv.tiles.css:1 
        
        
        Failed to load resource: the server responded with a status of 404 ()
jquery-3.5.1.min.js:2 
        
        
        POST https://www.clg-ponsard.org/INTRA/plugins/datatalk/index.php 500 (Internal Server Error)
send @ jquery-3.5.1.min.js:2
ajax @ jquery-3.5.1.min.js:2
getAnswer @ datatalk/:1286
(anonymous) @ datatalk/:1431
dispatch @ jquery-3.5.1.min.js:2
v.handle @ jquery-3.5.1.min.js:2
jquery-3.5.1.min.js:2 
        
        
        POST https://www.clg-ponsard.org/INTRA/plugins/datatalk/index.php 500 (Internal Server Error)
send @ jquery-3.5.1.min.js:2
ajax @ jquery-3.5.1.min.js:2
getAnswer @ datatalk/:1286
(anonymous) @ datatalk/:1431
dispatch @ jquery-3.5.1.min.js:2
v.handle @ jquery-3.5.1.min.js:2
jquery-3.5.1.min.js:2 
        
        
        POST https://www.clg-ponsard.org/INTRA/plugins/datatalk/index.php 500 (Internal Server Error)
send @ jquery-3.5.1.min.js:2
ajax @ jquery-3.5.1.min.js:2
getAnswer @ datatalk/:1286
(anonymous) @ datatalk/:1431
dispatch @ jquery-3.5.1.min.js:2
v.handle @ jquery-3.5.1.min.js:2



User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1817
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: DataTalk error

Post by jsetzer » 2023-12-27 17:44

Although there are error messages about a misconfiguration of AppGini Helper, I can 100% promise that AppGini Helper has nothing to do with DataTalk plugin nor with ChatGPT.

But I recommend you should fix all of your misconfiguration and other syntax errors, because as long as you have javascript errors, subsequent javascript may not be executed at all. So, DataTalk misfunction may be a follow up error after your javascript bugs.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

pasbonte
Veteran Member
Posts: 162
Joined: 2013-02-06 09:49

Re: DataTalk error

Post by pasbonte » 2023-12-28 10:32

Hello
Far be it from me to question your app, I deleted and put everything back without AppGini Helper and I still have errors see copy.

Code: Select all

common.js?1703758934:2027  AppGini.currentTableName: Could not retrieve table name from page URL
AppGini.currentTableName @ common.js?1703758934:2027
init @ common.js?1703758934:2047
(anonymous) @ common.js?1703758934:179
e @ jquery-3.5.1.min.js:2
t @ jquery-3.5.1.min.js:2
setTimeout (asynchrone)
(anonymous) @ jquery-3.5.1.min.js:2
c @ jquery-3.5.1.min.js:2
fireWith @ jquery-3.5.1.min.js:2
fire @ jquery-3.5.1.min.js:2
c @ jquery-3.5.1.min.js:2
fireWith @ jquery-3.5.1.min.js:2
ready @ jquery-3.5.1.min.js:2
B @ jquery-3.5.1.min.js:2
jquery-3.5.1.min.js:2 
        
        
        POST https://www.clg-ponsard.org/INTRA/plugins/datatalk/index.php 500 (Internal Server Error)
send @ jquery-3.5.1.min.js:2
ajax @ jquery-3.5.1.min.js:2
getAnswer @ index.php:1202
(anonymous) @ index.php:1347
dispatch @ jquery-3.5.1.min.js:2
v.handle @ jquery-3.5.1.min.js:2



pasbonte
Veteran Member
Posts: 162
Joined: 2013-02-06 09:49

Re: DataTalk error

Post by pasbonte » 2023-12-30 09:51

des news ?

mgodinez
Posts: 7
Joined: 2013-10-30 16:20

Re: DataTalk error

Post by mgodinez » 2024-01-31 00:41

Still any UPDATE on this error? Bought the plugin and can't make it work.

mgodinez
Posts: 7
Joined: 2013-10-30 16:20

Re: DataTalk error

Post by mgodinez » 2024-01-31 06:09

Well, as posted in a another chat, by getting another API key from ChatGTP works now. It's a bug so hopefully it will be fixed later on.

Post Reply