Comments (11)
Maybe the MySQL database is not connected correctly yet or something else . You can set the LOG variable true in chatbot/Config.php file and open api.php?requestType=talk&userInput=hello in your browser . you would see what is hapeening exactly .
from chatbot.
I am Using C9.ide For Testing this Out and I Configured the SQL Correctly In the Config File I Changed the Host and Username According to C9 Manual and then DB name to c9
and Copied all the contents of chatbot.sql to c9 database
But still it Does not work I might paste the Logs When I try it again
from chatbot.
I did not write a readme file in english yet . Maybe you should install mysql , then you should create a database named chatbot and import the chatbot.sql file in the root directory to your database . in the last , you should configure the database informations like userName , password in chatbot/Config.php file .
from chatbot.
ok, i see , you try it first .
from chatbot.
Do I Also need to Edit the /chatbot/Database/Connection.php
from chatbot.
No you do not need to edit any file else . you visit the api.php file in browser and have a look at what is the hell is wrong with it .
from chatbot.
https://chatbot-cflanc.c9users.io/api.php?requestType=talk&userInput=hey Now API works But Index Still Shows Undefined
In the First Post
api.php?requestType=talk&input=你好 - This is Why it was not working
from chatbot.
i am so sorry . i made a mistake and it was not responding standard json in api.php , i fixed it and updated . you can download the last update and try it again .
from chatbot.
ok , i fixed some problems and converted mysql to mysqli , it would be working well then .
from chatbot.
WORKS NOW!
from chatbot.
kompasim & CFlanc please send me your source code, I will see where I made mistakes
from chatbot.
Related Issues (8)
- Storing Predicates in Database HOT 3
- system 标签无法使用 HOT 4
- condition HOT 1
- 关于aiml编辑器 HOT 1
- xss vulnerability ? HOT 4
- Date fields not parsing HOT 1
- Undefined chatbot reply HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatbot.