Skip to content
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

Sitebar client not working with pHp 7.1 #41

Open
barnycloud opened this issue Dec 26, 2024 · 9 comments
Open

Sitebar client not working with pHp 7.1 #41

barnycloud opened this issue Dec 26, 2024 · 9 comments

Comments

@barnycloud
Copy link

I had to update pHp to 7.1, because my webspace provider does not support pHp 7.0 anymore. Sitebar client does not work in Firefox anymore.
What to do?

@brablc
Copy link
Owner

brablc commented Dec 27, 2024

SiteBar now supports PHP 8.3. I did not test backward compatibility but would not expect it to work on anything below 8.0. So I would strongly recommend upgrading to at least PHP 8.3. Or finding a hosting that allows containerized versions to be hosted.

@barnycloud
Copy link
Author

barnycloud commented Dec 30, 2024 via email

@brablc
Copy link
Owner

brablc commented Dec 30, 2024

Now you have to follow https://github.com/brablc/sitebar/blob/master/doc/troubleshooting.txt and provide some error messages that you see.

@barnycloud
Copy link
Author

As I reported to You, I have solved the problem by copying the latest version of sitebar to my webspace. Now it works.
But I now have a different problem. In order not to be dependent on my web host, I have now tried to install sitebar on my old Raspberry. I have installed Apache2, PHP and MariaDB. I have exported my database on my web space using PHPMYADMIN and then imported it into a newly created MariaDB on my Rasperry using again PHPMYADMIN. Everything worked fine, but after filling in the input mask of Sitebar the message appears:
DB Configuration Install & Upgrade Guide Troubleshooting Your software version 3.6.2 differs from the database version 3.6.1. Upgrade Downgrade Reload

But no matter whether I click on Downgrade or Upgrade (which one is correct here?), all I get is a blank white web page.

@barnycloud
Copy link
Author

barnycloud commented Jan 3, 2025

I have exported the current database from my web host. In the table sitebar_config the release is 3.6.2. I imported this into the (emptied) database on the Raspberry and lo and behold, I can access the login menu. But despite entering the correct data for user and password, I can't get into Sitebar. The following message appears in German above the login area: Sie müssen Cookies erlauben, sich anzumelden oder zu registrieren! (You must allow cookies to log in or register!) But I have allowed cookies in Firefox. Sitebar version 3.6.2 is installed on the server (Raspberry) and PHP version is 8.2.7

@brablc
Copy link
Owner

brablc commented Jan 4, 2025

You should upgrade, latest version is 3.6.2. But as it does not work you may try to execute this SQL manually: https://github.com/brablc/sitebar/blob/master/sql/upgrade_3.6.1.sql

@barnycloud
Copy link
Author

I have used sidebar version 3.6.2 (from GitHub master.zip). In the database (mariaDB 10.11.6) in the table sidebar_config version 3.6.2 is shown. I have used now a Raspberry 4. I have looked in the database whether all the needs of release upgrade_3.6.1.sql are fullfilled in the database tables. I still cannot login and get the message in German: Sie müssen Cookies erlauben, sich anzumelden oder zu registrieren! (You must allow cookies to log in or register!). What is wrong?

@brablc
Copy link
Owner

brablc commented Jan 6, 2025

Well this can be difficult to debug. Do you have some other tool that runs on the same environment and uses cookies (e.g. to login)? We have to rule out if the problem is in the Sitebar or in the environment. Please try to open browser console (developer tools) and watch for errors. It may show why cookies are rejected.

@barnycloud
Copy link
Author

barnycloud commented Jan 7, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants