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
[HELP] Use of undefined constant #929
Comments
Same error |
Hi Guys, DBConfig file have changed if you tried to re-import it from ther older version it won't work. Regards, |
You are right - after I added a few new variables to /etc/ocsinventory/ocsinventory-reports/dbconfig.inc.php (from /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php) errors went away. |
Please use the install.php instead of adding the variables manually. |
I did, it said Your database is OK. After I enter OCS-NG GUI the same error. |
ok DBConfig file have changed has resolv my problem. |
Thank you, logoff and logon helped. |
And dont forget modify /etc/apache2/conf-available/z-ocsinventory-server.conf |
Just ran into that:
I don't think this should be closed. The login page should redirect to install.php and it shouldn't be necessary to log out to be able to access the interface again. IMO if upgrades are likely to require user intervention, maybe there should be different RPM repositories for major updates. |
other topic: if you upgrade from 2.6 to 27 or 2.8 and some define rows are missing, the whole ocsreports site won't be loaded. So that's why in the dbconfig.inc.php I had to add the following lines: it solved the blank page problem. |
After updating to version 2.7, I get when trying to open ocsreports web interface:
The text was updated successfully, but these errors were encountered: