Giter Club home page Giter Club logo

Comments (11)

kompasim avatar kompasim commented on August 22, 2024

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.

CFlanc avatar CFlanc commented on August 22, 2024

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.

kompasim avatar kompasim commented on August 22, 2024

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.

kompasim avatar kompasim commented on August 22, 2024

ok, i see , you try it first .

from chatbot.

CFlanc avatar CFlanc commented on August 22, 2024

Do I Also need to Edit the /chatbot/Database/Connection.php

from chatbot.

kompasim avatar kompasim commented on August 22, 2024

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.

CFlanc avatar CFlanc commented on August 22, 2024

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.

kompasim avatar kompasim commented on August 22, 2024

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.

kompasim avatar kompasim commented on August 22, 2024

ok , i fixed some problems and converted mysql to mysqli , it would be working well then .

from chatbot.

CFlanc avatar CFlanc commented on August 22, 2024

WORKS NOW!

from chatbot.

titanheart900 avatar titanheart900 commented on August 22, 2024

kompasim & CFlanc please send me your source code, I will see where I made mistakes

from chatbot.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.