Closed NjayNL closed 2 years ago
What version of the image are you using?
I suspect you used the 8.1 tag; this was a test version. Spotweb itself isn't optimised for PHP 8 at the moment which is why I don't use it in production (master).
i used the latest tag i reverted back to the php7.4 tag and the erorr is gone only the mark everthing as read button is giving the following blank page with this error code:
{"result":"success","data":[],"info":[],"warnings":[],"errors":[]}
also upgrade-db.php gives the following error:
Invalid collation setting for varchar: utf8mb3_unicode_ci
The latest tag has not been PHP version 8, are you sure you used my image? Only latest tag is support.
https://github.com/jgeusebroek/docker-spotweb/issues/36 has some info about the collation error.
Yes i am using the latest tag just tested again and the error is back on the main page
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/spotweb/lib/Bootstrap.php on line 82
using docker on synology dsm 7
That's very strange.
What does this output:
docker image ls jgeusebroek/spotweb
.
docker exec -ti spotweb php -v
root@DS916:~# docker image ls jgeusebroek/spotweb. REPOSITORY TAG IMAGE ID CREATED SIZE
root@DS916:~# docker exec -ti spotweb php -v PHP 8.0.13 (cli) (built: Nov 22 2021 09:50:43) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.13, Copyright (c) Zend Technologies with Zend OPcache v8.0.13, Copyright (c), by Zend Technologies
docker image ls jgeusebroek/spotweb
without the .. My bad.
root@DS916:~# docker image ls jgeusebroek/spotweb
REPOSITORY TAG IMAGE ID CREATED SIZE
jgeusebroek/spotweb latest 6a0b7fcb3a6f 3 months ago 386MB
root@DS916:~#
That is indeed the latest version. I'm stumped. I cannot replicate your problem, I don't see any errors.
I rolled back to a tag from a year ago and the errors are gone so for my config itβs something in the latest image π I will start fresh hopefully that will work thanks for your support
Van: Jeroen Geusebroek @.> Verzonden: Friday, 8 April 2022 09:14 Aan: jgeusebroek/docker-spotweb @.> CC: NjayNL @.>; Author @.> Onderwerp: Re: [jgeusebroek/docker-spotweb] PHP 8 error while using latest docker build (Issue #46)
That is indeed the latest version. I'm stumped. I cannot replicate your problem, I don't see any errors.
β Reply to this email directly, view it on GitHubhttps://github.com/jgeusebroek/docker-spotweb/issues/46#issuecomment-1092524730, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHCDAQ4J2HNMWLX2TDVMK3VD7MFLANCNFSM5SWBSBWQ. You are receiving this because you authored the thread.Message ID: @.**@.>>
Fixed ! removed all images and rebuild a new one restored my config and done Only thing remaining is the upgrade-db wont work with the new mariadb π
Van: Nick Jamont Verzonden: Friday, 8 April 2022 09:16 Aan: jgeusebroek/docker-spotweb @.>; jgeusebroek/docker-spotweb @.> CC: Author @.***> Onderwerp: RE: [jgeusebroek/docker-spotweb] PHP 8 error while using latest docker build (Issue #46)
I rolled back to a tag from a year ago and the errors are gone so for my config itβs something in the latest image π I will start fresh hopefully that will work thanks for your support
Van: Jeroen Geusebroek @.**@.>> Verzonden: Friday, 8 April 2022 09:14 Aan: jgeusebroek/docker-spotweb @.**@.>> CC: NjayNL @.**@.>>; Author @.**@.>> Onderwerp: Re: [jgeusebroek/docker-spotweb] PHP 8 error while using latest docker build (Issue #46)
That is indeed the latest version. I'm stumped. I cannot replicate your problem, I don't see any errors.
β Reply to this email directly, view it on GitHubhttps://github.com/jgeusebroek/docker-spotweb/issues/46#issuecomment-1092524730, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHCDAQ4J2HNMWLX2TDVMK3VD7MFLANCNFSM5SWBSBWQ. You are receiving this because you authored the thread.Message ID: @.**@.>>
will test further tomorrow thanks for the quick help
From: Jeroen Geusebroek @.> Sent: Wednesday, April 6, 2022 5:06:35 PM To: jgeusebroek/docker-spotweb @.> Cc: NjayNL @.>; Author @.> Subject: Re: [jgeusebroek/docker-spotweb] PHP 8 error while using latest docker build (Issue #46)
docker image ls jgeusebroek/spotweb without the .. My bad.
β Reply to this email directly, view it on GitHubhttps://github.com/jgeusebroek/docker-spotweb/issues/46#issuecomment-1090380217, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHCDAXW4K2DS4V3EW6NQKLVDWR7XANCNFSM5SWBSBWQ. You are receiving this because you authored the thread.Message ID: @.***>
Hi,
I upgraded to the the latest docker image which worked fine in the past but now i get this error message on the main page:
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/spotweb/lib/Bootstrap.php on line 82
when clicking mark everything as read:
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/spotweb/lib/Bootstrap.php on line 82 {"result":"success","data":[],"info":[],"warnings":[],"errors":[]}
can you look into the code?