-
-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: I cannot access to Wallabag after installation got this error "An error occured: "db" directory must be writeable for your web server user!" #1023
Comments
You said you made up a new user for MySql within wallabag. But you need to have this user created in MySql already. PHPMyAdmin will help you doing that. Also, check your phpinfo() or php configuration to check if PDO is correctly enabled. |
(The bug has already been met, it's the fact that login informations are not checked before installing) |
thanks. let me figure out how to do that and see if it works. |
AH ha!
I get this error:
UPDATE Hope you can figure this out! |
Hi,
Then access the file from your browser. Search for PDO references. If you don't find any, it means PDO isn't correctly installed and/or configured. |
Hi, I've tried to see if I can find a problem with MAMP and PDO, but I'm not even sure if this is the problem. Based on the |
Next version of wallabag will detect automatically PDO flaws. But right now we'll have to dig. Would you try this and adapt it to your case (the correct path is the one your error message gave before). To test, relaunch |
thanks for your patience. i added the path to my $LD_LIBRARY_PATH using
and now the output of
i also reinstalled wallabag form scratch, but disappointingly, get the same error. on trying
this error is so unique that this is the only mention of this on the web. |
OK. Now PDO seems to be properly installed with it's drivers. Oh wait, I've read that your server was running on a non standard port. After your database server name at the wallabag installation add the port like this : |
This error is totally normal, there's no file called pdo, that all. But since you don't get the same error as before, it's okay. |
I do get the same error as before. sorry for the confusion. I tried re-installing wallabag, set my SQL ports to the default (3306), and went ahead, but i see the same problem. when I click "install wallabag", i instantly get a blank screen, with zero feedback. is this normal? perhaps something is going wrong with the install? the also, I think this
does absolutely nothing because I'm only adding that environment variable to my bash shell. How does php know this path? shouldn't I write this path somewhere? thanks for the help so far. |
If you get a blank screen, it's because errors are not displayed. Edit your php.ini to enable display of errors and set the error level to E_ALL. I thought you didn't get the Oh, and does it works if you choose the SQLite installation ? Don't forget to check the file rights on the whole folder, you can set the rights to |
sorry for the confusion. I'm still getting the original error (in the title of this thread). I don't get the PHP warning. I'll edit |
I'm so sheepish. The Bad news In my
but it didn't do anything. The good news I chose a SQLite database and wallabag installed and works great! (at least, I can log in and see stuff) this is what I see: so i think this solves my problem (I can use wallabag). but others might have the same issue with PDO/mySQL/MAMP etc. thanks for all the help @tcitworld 👍 please close if you think this has gone on long enough. |
if you're interested, i wrote up what I did, and this should help others: Modify your
|
Le 05/02/2015 04:37, Srinivas Gorur-Shandilya a écrit :
|
This bug affects wallabag v1. This version won't evolve anymore. |
It looks like I have the same issue as #990 , but his fix didn't work for me.
I have a Mac OS X machine with MAMP installed. I managed to get composer and wallabag installed.
I got to the wallabag install page and chose a
mySQL
database and made up a new user name and password (is that right?)Then I got a black page. When I then deleted my install folder, I got the above error message.
Help?
The text was updated successfully, but these errors were encountered: