jordansamuel / PASTE

Paste is a project that started from the files pastebin.com used before it was bought.
https://phpaste.sourceforge.io/
GNU General Public License v3.0
295 stars 105 forks source link

Installed it, login fails with user/password just entered in the installer #190

Open elyograg opened 2 years ago

elyograg commented 2 years ago

I extracted version 2.2, set up Apache to present it on a domain name I configured, created a database in mysql, created a mysql user, granted all permissions on the database to that user.

The install happens without error and populates the database.

Then I renamed the install directory to something obscure, and went to the site.

Login fails using the admin user and password I just entered into the installer.

I tried this a few times, dropping all the DB tables before each install.

jordansamuel commented 2 years ago

did the password contain any special characters and spaces?

elyograg commented 2 years ago

No. Only letters (upper and lowercase) and numbers.

elyograg commented 2 years ago

Yours was the first pastebin system I tried. Two others also failed to work. But the fourth one stayed up.

jordansamuel commented 2 years ago

i have no idea. it is a new issue that's never raised its head and I'm assuming it is maybe a server config issue

On Sat, 9 Apr 2022, 18:43 Shawn Heisey, @.***> wrote:

No. Only letters (upper and lowercase) and numbers.

— Reply to this email directly, view it on GitHub https://github.com/jordansamuel/PASTE/issues/190#issuecomment-1094093566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZJEFHKN7ELQP3EST3R3LLVEG6VHANCNFSM5S7MBV6Q . You are receiving this because you commented.Message ID: @.***>

jordansamuel commented 2 years ago

Do you have access to your php configuration file?

On Sat, 9 Apr 2022, 18:47 Shawn Heisey, @.***> wrote:

Yours was the first pastebin system I tried. Two others also failed to work. But the fourth one stayed up.

— Reply to this email directly, view it on GitHub https://github.com/jordansamuel/PASTE/issues/190#issuecomment-1094094316, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZJEFEXNKBLUOLTV4RQ7ELVEG7ETANCNFSM5S7MBV6Q . You are receiving this because you commented.Message ID: @.***>

elyograg commented 2 years ago

I built the server, I have access to everything.

Apache is using php-fpm and the event MPM.

elyograg commented 2 years ago

Here's the whole php.ini:

https://paste.elyograg.org/view/38ffc2f1

It's mostly unchanged from what got installed with the package.

jordansamuel commented 2 years ago

it sounds like an issue with apache's post configuration or something in your php config if you're having the same issue with other scripts, are there any errors in /var/log for either apache or php?

On Sat, 9 Apr 2022, 18:51 Shawn Heisey, @.***> wrote:

I built the server, I have access to everything.

Apache is using php-fpm and the event MPM.

— Reply to this email directly, view it on GitHub https://github.com/jordansamuel/PASTE/issues/190#issuecomment-1094095121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZJEFCSZI3LKJRDCYFFU5TVEG7S7ANCNFSM5S7MBV6Q . You are receiving this because you commented.Message ID: @.***>