lukasboc / onepagercms

OPCMS is a content management system for onepage websites.
https://onepagercms.de
9 stars 6 forks source link

Problems to initialize first installation #121

Open keldir opened 2 years ago

keldir commented 2 years ago

After copying the file to FTP server and initial start of the website the system doesn't ask for Email and username. So I used several ways to get the first user into the system. The best way seems to open /core/install.php

Then I get the Email with the password.

But - after login it goes to core/home.php and you can see the message "Please signin first". After second signin - nothing changes - you are stuck.

Other ways to get an initial user into the system (i. e. editing the SQLiteDatabase.db) do work, too. But with the same result. You can login - but then it asks again for a login.

Tried with PHP 7.2 and 7.4

So I liked this project - but wasted a lot of time playing around, now ;-(

Is there any help available? Is the project still in service, at all?

Thanks for Feedback

Conny

lukasboc commented 2 years ago

Hey Conny,

if the application doesn’t lead you through the installation process initially, it seems like there is something wrong either with your server config or maybe some files are missing.

From what you‘ve told I‘d guess there are missing files in the /database directory. Can‘t really tell without any logs. You could also check the file permissions of the SQLiteDatabase.db maybe the application doesn’t have write permissions. Should be 0777. If you edit the .db file itself, make sure to hash the password and to not put it in plain.

The project is currently on hold. Since it is just a side project of mine and I don’t get paid for it, it has a lower rank on my priority list.

I‘m glad you like the project - hope you can figure it out! If you find the error, feel free to post you solution as a comment so other people know how to handle it. ✌️

E: you can see how to add an user here: https://github.com/lukasboc/onepagercms/issues/113#issuecomment-1036060819