PHP 7.1.8 and 1&1
- Zedekia
- Observer

- Posts: 17
- Joined: Mon Aug 21, 2017 7:41 am
- Location: Hitfeld
- Station model: Davis Pro2
- Software: Meteobridge
- Contact:
PHP 7.1.8 and 1&1
Hello Jachym and the other member,
I would like to post my problem in your new forum, maybe someone has the same problem in the future.
My new hoster is 1&1 and the PHP-Version is 7.1.8
As soon as I have registered in the admin area .../admin/login.php and I've entered my pwd., it does not go on and the website remains with ... / admin / authorize.php.
Jachym told me, I should temp. modify the config.php with add the line
error_reporting(E_ALL);ini_set('display_errors', 'On');
The result are the following error-messages:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; moonPhase has a deprecated constructor in /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/scripts/functions.php on line 2169
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/scripts/functions.php:2169) in /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/admin/authorize.php on line 41
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/scripts/functions.php:2169) in /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/admin/authorize.php on line 41
Warning: Cannot modify header information - headers already sent by (output started at /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/scripts/functions.php:2169) in /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/admin/authorize.php on line 111
I have also modified the php.ini like this:
zlib.output_compression=1
zlib.output_compression_level=9
error_reporting = E_ALL & ~E_NOTICE | E_DEPRECATED
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
allow_url_fopen = On
track_errors = Off
xmlrpc_errors = 0
html_errors = Off
error_log = php-error.log
register_globals = on
allow_url_fopen = on
allow_url_include = on
No results.
The "master" Jachym is already concerned about the problem.
Best Regards (and sorry for my broken English)
Alexander
I would like to post my problem in your new forum, maybe someone has the same problem in the future.
My new hoster is 1&1 and the PHP-Version is 7.1.8
As soon as I have registered in the admin area .../admin/login.php and I've entered my pwd., it does not go on and the website remains with ... / admin / authorize.php.
Jachym told me, I should temp. modify the config.php with add the line
error_reporting(E_ALL);ini_set('display_errors', 'On');
The result are the following error-messages:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; moonPhase has a deprecated constructor in /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/scripts/functions.php on line 2169
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/scripts/functions.php:2169) in /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/admin/authorize.php on line 41
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/scripts/functions.php:2169) in /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/admin/authorize.php on line 41
Warning: Cannot modify header information - headers already sent by (output started at /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/scripts/functions.php:2169) in /homepages/9/d694096150/htdocs/zedekia/wetter/mt/template/admin/authorize.php on line 111
I have also modified the php.ini like this:
zlib.output_compression=1
zlib.output_compression_level=9
error_reporting = E_ALL & ~E_NOTICE | E_DEPRECATED
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
allow_url_fopen = On
track_errors = Off
xmlrpc_errors = 0
html_errors = Off
error_log = php-error.log
register_globals = on
allow_url_fopen = on
allow_url_include = on
No results.
The "master" Jachym is already concerned about the problem.
Best Regards (and sorry for my broken English)
Alexander
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: PHP 7.1.8 and 1&1
Hi Alex
the errors you see are fine, the first is a notice (irrelevant to this issue), the following errors are due to this notice being displayed. It really is a mystery to me. I was looking at your page again, but it just doesn´t show any errors and ends up with a blank page.
Do you have access to error log?
Btw. I use PHP 7.1 too, so it should not be an issue
the errors you see are fine, the first is a notice (irrelevant to this issue), the following errors are due to this notice being displayed. It really is a mystery to me. I was looking at your page again, but it just doesn´t show any errors and ends up with a blank page.
Do you have access to error log?
Btw. I use PHP 7.1 too, so it should not be an issue
- Zedekia
- Observer

- Posts: 17
- Joined: Mon Aug 21, 2017 7:41 am
- Location: Hitfeld
- Station model: Davis Pro2
- Software: Meteobridge
- Contact:
Re: PHP 7.1.8 and 1&1
Hello Jachym,
Problem solved. I make a clean-install. Great. PHP 7.1 is so fast.......
Thank you Jachym.
Alex.
Problem solved. I make a clean-install. Great. PHP 7.1 is so fast.......
Thank you Jachym.
Alex.
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: PHP 7.1.8 and 1&1
Great 
Yes, PHP 7+ is about twice as fast compared to PHP 5.x.
It is also easier for programmers to do certain things, but unfortunately this is something I cannot use because it would not work on 5.x servers.
Yes, PHP 7+ is about twice as fast compared to PHP 5.x.
It is also easier for programmers to do certain things, but unfortunately this is something I cannot use because it would not work on 5.x servers.
- scadie
- Language Admin

- Posts: 46
- Joined: Sun Aug 20, 2017 2:56 pm
- Location: Saint-Hubert, Québec, Canada
- Station model: Davis Vantage Pro
- Software: Meteobridge
- Contact:
Re: PHP 7.1.8 and 1&1
Hi,
I like this new forum, following your discussion, I check my hosting and see running PHP 5.6... I change it to 7.0 and run really much faster......
I like this new forum, following your discussion, I check my hosting and see running PHP 5.6... I change it to 7.0 and run really much faster......
- Didiersm
- Observer

- Posts: 40
- Joined: Sun Aug 20, 2017 1:05 pm
- Location: Fontnilles France
- Station model: WMR200
- Software: Weathe rDisplay
- Contact:
Re: PHP 7.1.8 and 1&1
I have changed my PHP version from 5.6 to 7 too... waouuu as faster is it compare to the 5.6.
Thanks Jachym for this tips, really usefull
Thanks Jachym for this tips, really usefull
Station WMR200
Fontenilles Wheather - FR http://didiersm.16mb.com/template/indexDesktop.php
mailto:didier.sm@gmail.com

Fontenilles Wheather - FR http://didiersm.16mb.com/template/indexDesktop.php
mailto:didier.sm@gmail.com
- Johnny
- Developer

- Posts: 313
- Joined: Sat Aug 19, 2017 10:16 pm
- Location: Watford, Hertfordshire, England
- Station model: Davis Vantage Pro2 Plus
- Software: Meteobridge
- Contact:
Re: PHP 7.1.8 and 1&1
I've just updated mine as well - great tip. 
- John B
- Forecaster

- Posts: 211
- Joined: Sun Aug 20, 2017 11:59 pm
- Location: Blaxland, N.S.W., Australia
- Station model: La Crosse WS2355
- Software: Weather Display
- Contact:
Re: PHP 7.1.8 and 1&1
What a difference!
I too have changed from 5.XX to 7.1 and am most pleased with the performance (relatively speaking, of course). It had never occurred to me that shifting to a later version of PHP would make such a difference.
Thanks to all for bringing the subject to our attention.
Cheers,
John
I too have changed from 5.XX to 7.1 and am most pleased with the performance (relatively speaking, of course). It had never occurred to me that shifting to a later version of PHP would make such a difference.
Thanks to all for bringing the subject to our attention.
Cheers,
John
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: PHP 7.1.8 and 1&1
Thanks for letting me know, this means the person who had problems with 7.1.8 must have some missing parts of PHP. I have seen this with one other user before, where some functions which should normally be available were not installed.
