Coder Social home page Coder Social logo

Database about piggyauth HOT 38 CLOSED

 avatar commented on May 29, 2024
Database

from piggyauth.

Comments (38)

Thunder33345 avatar Thunder33345 commented on May 29, 2024

but it needs a database to store player data?

from piggyauth.

 avatar commented on May 29, 2024

Cannot be it stored in config?

from piggyauth.

 avatar commented on May 29, 2024

So, how can I setup SQLite3 database?

from piggyauth.

Thunder33345 avatar Thunder33345 commented on May 29, 2024

not a maintainer, but nope not for this plugin, i think it just creates it itself
maybe the plugin dont have permission to create the players.sql
not very sure tho

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

Do you have sqlite3 files in your bin folder?

from piggyauth.

Aericio avatar Aericio commented on May 29, 2024

if you are in windows, download this and drop it in bin/php

from piggyauth.

 avatar commented on May 29, 2024

Okay, I will test. Thank you!

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

Is it working?

from piggyauth.

 avatar commented on May 29, 2024

No :/. I will create MySQL database and host it on. I will never more change Auth plugin. I think this is perfect.

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

You getting any new errors with SQLite3?

from piggyauth.

 avatar commented on May 29, 2024

Yes. this. [Server thread/CRITICAL]: Exception: "Unable to open database: unable to open database file" (EXCEPTION) in "/PiggyAuth-master/src/PiggyAuth/Databases/SQLite3" at line 15

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

Can you show me your php.ini file & php_sqlite3.dll in your bin folder?

from piggyauth.

 avatar commented on May 29, 2024

Yes. php_sqlite3.dll - https://www.opendll.com/index.php?file-download=php_sqlite3.dll&arch=32bit&version=5.4.3.0&dsc=SQLite3
php.ini - wait, I must upload it on cloud.

from piggyauth.

 avatar commented on May 29, 2024

; Compiled by SalmonDE
zend.enable_gc = On
max_execution_time = 0
memory_limit = 256M
error_reporting = -1
display_errors = stderr
display_startup_errors = On
register_argc_argv = On
default_charset = "UTF-8"
include_path = ".;.\ext"
extension_dir = "./"
enable_dl = On
allow_url_fopen = On
extension=php_weakref.dll
extension=php_curl.dll
extension=php_mysqli.dll
extension=php_sqlite3.dll
extension=php_sockets.dll
extension=php_mbstring.dll
extension=php_yaml.dll
extension=php_pthreads.dll
extension=php_openssl.dll
extension=php_com_dotnet.dll
extension=php_gd2.dll
zend_extension=php_opcache.dll
cli_server.color = On
phar.readonly = Off
phar.require_hash = On
zend.assertions=-1
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.save_comments=1
opcache.load_comments=1
opcache.fast_shutdown=0
opcache.optimization_level=0xffffffff
date.timezone=UTC

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

It should work fine. Does your server have permission to edit files?

from piggyauth.

 avatar commented on May 29, 2024

I think yes. If I execute any command and it edits config (for example)?

from piggyauth.

 avatar commented on May 29, 2024

I download latest update and try it.

from piggyauth.

 avatar commented on May 29, 2024

I have this error with latest update. [17:20:34] [Server thread/INFO]: Enabling PiggyAuth v2.0.1
[17:20:34] [Server thread/CRITICAL]: ClassNotFoundException: "Class SQLite3 not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 144

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

... What did you do?

from piggyauth.

 avatar commented on May 29, 2024

Nothing. I only deleted old version. downloaded version from GitHub (the newest) and pasted.

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

I think you did something wrong. Try again, I'm on the latest version and no problems.

from piggyauth.

 avatar commented on May 29, 2024

I have SQLite3 class in src/PiggyAuth/Databases.

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

Try again...

from piggyauth.

 avatar commented on May 29, 2024

I think the plugin did not create SQLite3 file with players data.

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

It should, check PiggyAuth folder for players.db

from piggyauth.

 avatar commented on May 29, 2024

Okay.

from piggyauth.

 avatar commented on May 29, 2024

I have in PiggyAuth folder only config.yml.

from piggyauth.

 avatar commented on May 29, 2024

I try it again.

from piggyauth.

 avatar commented on May 29, 2024

[Server thread/CRITICAL]: Exception: "Unable to open database: unable to open database file" (EXCEPTION) in "/PiggyAuth-master/src/PiggyAuth/Databases/SQLite3" at line 15

What can I do with it? I am running my test server on Windows 32-bit. I have the latest version of binaries and Genisys server sofware.

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

Try out FactionsPro & see if it creates the database. It uses SQLite3 too. https://github.com/Awzaw/FactionsPro/blob/master/src/FactionsPro/FactionMain.php

from piggyauth.

 avatar commented on May 29, 2024

Yes.

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

It creates a database?

from piggyauth.

 avatar commented on May 29, 2024

No. I have the same error.

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

It's your problem not the plugins.

from piggyauth.

 avatar commented on May 29, 2024

I will test it on hosting. Wait please.

from piggyauth.

 avatar commented on May 29, 2024

It is working on hosting server.

from piggyauth.

DaPigGuy avatar DaPigGuy commented on May 29, 2024

It is your problem them.

from piggyauth.

 avatar commented on May 29, 2024

Yes. Thank you for everything!

from piggyauth.

Related Issues (20)

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.