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

Compatibility to PHP 8+ and newer DokuWiki versions #57

Open
TineUser opened this issue Oct 10, 2022 · 2 comments
Open

Compatibility to PHP 8+ and newer DokuWiki versions #57

TineUser opened this issue Oct 10, 2022 · 2 comments

Comments

@TineUser
Copy link

Hi,

will there be a new version of this really nice template to be compatible to PHP 8+ and newer DokuWiki versions. I really like this template but after upgrading to PHP 8+ and a newer DokuWiki version I get warning messages on the sidebar:

Warning
: Undefined array key "REDIRECT_STATUS" in
C:\xampp-dev\htdocs\dokuwiki\lib\tpl\material\sidebar.php
on line
32

Warning
: Undefined array key "HTTP_X_REAL_IP" in
C:\xampp-dev\htdocs\dokuwiki\lib\tpl\material\sidebar.php
on line
34

Warning
: Undefined array key "HTTP_X_REAL_IP" in
C:\xampp-dev\htdocs\dokuwiki\lib\tpl\material\sidebar.php
on line
39

It would be great if I can use this template with the new versions of PHP and DokuWiki. Yes, I can hide the warning messages but I thnink this isn't the right way. If there are errors they should be solved.

Kind Regards

@AndrewKlasen
Copy link

I have the same issue:

( ! ) Fatal error: Uncaught Error: Call to undefined function tpl_getConf() in C:\wamp64\www\ngisdoc\lib\tpl\material\sidebar.php on line 13

@LeonStaufer
Copy link
Owner

Hey, thank you both for your bug reports.

I agree that this is important and should be fixed. However, I'm no longer actively maintaining the template.

If you can resolve the issue, I would welcome a pull request.

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

No branches or pull requests

3 participants