Comments (38)
but it needs a database to store player data?
from piggyauth.
Cannot be it stored in config?
from piggyauth.
So, how can I setup SQLite3 database?
from piggyauth.
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.
Do you have sqlite3 files in your bin folder?
from piggyauth.
if you are in windows, download this and drop it in bin/php
from piggyauth.
Okay, I will test. Thank you!
from piggyauth.
Is it working?
from piggyauth.
No :/. I will create MySQL database and host it on. I will never more change Auth plugin. I think this is perfect.
from piggyauth.
You getting any new errors with SQLite3?
from piggyauth.
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.
Can you show me your php.ini file & php_sqlite3.dll in your bin folder?
from piggyauth.
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.
; 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.
It should work fine. Does your server have permission to edit files?
from piggyauth.
I think yes. If I execute any command and it edits config (for example)?
from piggyauth.
I download latest update and try it.
from piggyauth.
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.
... What did you do?
from piggyauth.
Nothing. I only deleted old version. downloaded version from GitHub (the newest) and pasted.
from piggyauth.
I think you did something wrong. Try again, I'm on the latest version and no problems.
from piggyauth.
I have SQLite3 class in src/PiggyAuth/Databases.
from piggyauth.
Try again...
from piggyauth.
I think the plugin did not create SQLite3 file with players data.
from piggyauth.
It should, check PiggyAuth folder for players.db
from piggyauth.
Okay.
from piggyauth.
I have in PiggyAuth folder only config.yml.
from piggyauth.
I try it again.
from piggyauth.
[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.
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.
Yes.
from piggyauth.
It creates a database?
from piggyauth.
No. I have the same error.
from piggyauth.
It's your problem not the plugins.
from piggyauth.
I will test it on hosting. Wait please.
from piggyauth.
It is working on hosting server.
from piggyauth.
It is your problem them.
from piggyauth.
Yes. Thank you for everything!
from piggyauth.
Related Issues (20)
- Please add Turkish language HOT 2
- MySQL error with ALPHA8 HOT 2
- Login/Register have a bit delay HOT 1
- add md5 HOT 2
- server auth convert is imprting but.... HOT 2
- error HOT 2
- Feature Request: Unregister from Console HOT 1
- Bug MySQL Provider HOT 4
- Error: Call to a member function isAuthenticated() on null HOT 3
- Sign in system!! HOT 2
- Server crash on restart with errors below HOT 2
- Stop typing passwords HOT 1
- plugin is working awesome but causes problem in restart or reload. it keep crashing with error:- HOT 4
- options of email HOT 5
- Register wont work HOT 9
- Lots of CPU uses: HOT 6
- Call to member function-- server crash HOT 14
- crashing with 1.2 version HOT 3
- Suggestion for the capes HOT 1
- no return after typing email at the time of registration HOT 6
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 piggyauth.