Code Monkey home page Code Monkey logo

Comments (11)

noother avatar noother commented on July 21, 2024

Hi, what version of PHP are you using and what Linux distribution?

The mbstring extension for PHP must be enabled which it is usually but apparently not for you.
Alternatively just remove the mb_internal_encoding('UTF-8'); line in core/defaults.php, it shouldn't be needed if you're on PHP 5.6 or above.

from nimda3.

 avatar commented on July 21, 2024

I am using Xubuntu 16.04.1 LTS (xfce 4.12.0)#
PHP installed
php7.0-mbstring installed (just now)

New out:

PHP Notice: Use of undefined constant MYSQLI_BOTH - assumed 'MYSQLI_BOTH' in /home/luca/Schreibtisch/nimda/Nimda3/core/Nimda.php on line 63 PHP Notice: Use of undefined constant MYSQLI_ASSOC - assumed 'MYSQLI_ASSOC' in /home/luca/Schreibtisch/nimda/Nimda3/core/Nimda.php on line 63 PHP Notice: Use of undefined constant MYSQLI_NUM - assumed 'MYSQLI_NUM' in /home/luca/Schreibtisch/nimda/Nimda3/core/Nimda.php on line 63 Checking for updates.. PHP Fatal error: Uncaught Error: Class 'mysqli' not found in /home/luca/Schreibtisch/nimda/Nimda3/classes/MySQL.php:27 Stack trace: #0 /home/luca/Schreibtisch/nimda/Nimda3/classes/MySQL.php(36): MySQL->connect() #1 /home/luca/Schreibtisch/nimda/Nimda3/core/Nimda.php(81): MySQL->query('SHOW TABLES LIK...') #2 /home/luca/Schreibtisch/nimda/Nimda3/core/Nimda.php(70): Nimda->autoUpdateSQL() #3 /home/luca/Schreibtisch/nimda/Nimda3/core/Nimda.php(33): Nimda->initBot() #4 /home/luca/Schreibtisch/nimda/Nimda3/nimda(5): Nimda->__construct() #5 {main} thrown in /home/luca/Schreibtisch/nimda/Nimda3/classes/MySQL.php on line 27

Is this an error because of my database?

Greetings...

from nimda3.

noother avatar noother commented on July 21, 2024

Please install php7.0-mysql and make sure extension=mysqli.so is not commented out in your /etc/php7.0/cli/php.ini (path guessed)

from nimda3.

 avatar commented on July 21, 2024

Thank you...Running now.
Next problem is my SQL database.

PHP Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'luca'@'localhost' (using password: YES) in /home/luca/Schreibtisch/nimda/Nimda3/classes/MySQL.php on line 27 Access denied for user 'luca'@'localhost' (using password: YES)rm: fehlender Operand β€žrm --helpβ€œ liefert weitere Informationen.

I tried to let him login with root rights.
mysql_host = localhost mysql_user = luca mysql_pass = ******* mysql_db = nimda

But he didn't get access.

from nimda3.

noother avatar noother commented on July 21, 2024

Have you created the database before? Don't let him run under root.

mysql -u luca -p
.. enter password
create database nimda;
grant all privileges on nimda.* to nimda@localhost identified by 'nimda_sql_password_here';
.. change nimda.conf with the correct data

from nimda3.

 avatar commented on July 21, 2024

Yep, I re created it, working perfect now. Thanks a lot!

from nimda3.

 avatar commented on July 21, 2024

Where to change the default server and channel + name?

from nimda3.

noother avatar noother commented on July 21, 2024

In the SQL tables "servers" and "server_channels" that just got created in your database - use phpmyadmin for convenience.

from nimda3.

 avatar commented on July 21, 2024

alright thanks a lot

from nimda3.

 avatar commented on July 21, 2024

is there a function or something for showing all nimda commands?

from nimda3.

noother avatar noother commented on July 21, 2024

!help

from nimda3.

Related Issues (3)

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.