Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Please report bugs here!

Moderator: Thorsten

Post Reply
scape
Posts: 201
Joined: Tue Apr 08, 2003 1:16 pm

Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by scape »

Ich aktualisiere gerade eine relativ alte FAQ-Seite.
Leider klappt der Aufruf der update.php nicht, wohl aber die Setup-Seite index.php :cry:
setup.png
update.png
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by Thorsten »

Hi,

magst du mal bitte den DEBUG Mode aktivieren und es nochmal probieren?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
scape
Posts: 201
Joined: Tue Apr 08, 2003 1:16 pm

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by scape »

Gern. Das kann ich über die config in der Datenbank machen, oder?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by Thorsten »

Hi,

das geht über die src/Bootstrap.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
scape
Posts: 201
Joined: Tue Apr 08, 2003 1:16 pm

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by scape »

Code: Select all

Uncaught exception: 'TypeError'

Message: 'Return value of phpMyFAQ\Configuration::isLdapActive() must be of the type bool, null returned'

Stack trace:

#0 /www/htdocs/w01061b1/xyz.schwitzen.com/_phpmyfaq/phpmyfaq/src/Bootstrap.php(148): phpMyFAQ\Configuration->isLdapActive()
#1 /www/htdocs/w01061b1/xyz.schwitzen.com/_phpmyfaq/phpmyfaq/setup/update.php(36): require('/www/htdocs/w01...')
#2 {main}
Thrown in '/www/htdocs/w01061b1/xyz.schwitzen.com/_phpmyfaq/phpmyfaq/src/phpMyFAQ/Configuration.php' on line 350
Ich nutze kein LDAP, falls dies das Problem hervorrufen sollte.
In der DB steht auch "security.ldapSupport > false"
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by Thorsten »

Hi,

schau mal bitte, ob das hilft:

https://github.com/thorsten/phpMyFAQ/co ... eb3bb46061

Das Feld haben wir mit der 3.0 umbenannt, deswegen schlägt das bei einer 2.9 fehl

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
scape
Posts: 201
Joined: Tue Apr 08, 2003 1:16 pm

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by scape »

Installationsvorgang ist sauber durchgelaufen...

Code: Select all

The database was updated successfully. Thank you very much for updating.
endet aber beim Aufruf der FAQ mit..

Code: Select all

phpMyFAQ Fatal error
Uncaught exception: 'ErrorException'

Message: 'touch(): Unable to create file /www/htdocs/w01061b1/xyz.schwitzen.com/_phpmyfaq/phpmyfaq/data/tracking15112022 because No such file or directory'

Stack trace:

#0 [internal function]: phpMyFAQ\Core\Error::errorHandler(2, 'touch(): Unable...', '/www/htdocs/w01...', 336, Array)
#1 /www/htdocs/w01061b1/xyz.schwitzen.com/_phpmyfaq/phpmyfaq/src/phpMyFAQ/Session.php(336): touch('/www/htdocs/w01...')
#2 /www/htdocs/w01061b1/xyz.schwitzen.com/_phpmyfaq/phpmyfaq/index.php(245): phpMyFAQ\Session->userTracking('new_session', '9360227;new_ses...')
#3 {main}
Thrown in '/www/htdocs/w01061b1/xyz.schwitzen.com/_phpmyfaq/phpmyfaq/src/phpMyFAQ/Session.php' on line 336
Muss ich die Änderungen in der Configuration.php nun wieder Rückgängig machen?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by Thorsten »

Hi,

fehlt der Ordner data/ bei dir?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
scape
Posts: 201
Joined: Tue Apr 08, 2003 1:16 pm

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by scape »

Ja, es gab keinen
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by Thorsten »

Hi,

geht es dann?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
scape
Posts: 201
Joined: Tue Apr 08, 2003 1:16 pm

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by scape »

Habe den Odner "data" manuell erzeugt, debug deaktiviert - läuft!

Vielen lieben Dank
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by Thorsten »

Hi,

super, danke für das Feedback!

Die FAQ ist doch schon sehr alt, oder?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
scape
Posts: 201
Joined: Tue Apr 08, 2003 1:16 pm

Re: Fehler beim Update von 2.9.9 auf die aktuelle 3.1.8

Post by scape »

Ja, es war eine FAQ, die wir nur intern genutzt haben
Post Reply