Ankündigung

#1 2016-05-15 16:13:11

smoere
Mitglied
2016-05-15
5

Update von 2.80 auf 2.81 dann fehler 500

Hallo,

Ich hatte die 2.8 Version installiert, etwa 6000 Fotos hochgeladen und dann das update machen wollen.

Ich hab jetzt eine fehler 500. gibt es eine Möglichkeit deubug einzuschalten um die fehlerhafte stelle zu finden?

oder evlt jetzt manuelles update machen?


Gallery läuft auf ein Linux vServer bei strato

Offline

#2 2016-05-15 18:40:35

smoere
Mitglied
2016-05-15
5

Re: Update von 2.80 auf 2.81 dann fehler 500

ich hab jetzt was gefunden :

PHP Warning:  include_once(./include/common.inc.php): failed to open stream: Permission denied in /var/www/vhosts/ovalrace.com/httpdocs/gal/index.php on line 26
PHP Warning:  include_once(): Failed opening './include/common.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/ovalrace.com/httpdocs/gal/index.php on line 26
PHP Warning:  include(./include/section_init.inc.php): failed to open stream: Permission denied in /var/www/vhosts/ovalrace.com/httpdocs/gal/index.php on line 27
PHP Warning:  include(./include/section_init.inc.php): failed to open stream: Permission denied in /var/www/vhosts/ovalrace.com/httpdocs/gal/index.php on line 27
PHP Warning:  include(): Failed opening './include/section_init.inc.php' for inclusion (include_path='.:') in /var/www/vhosts/ovalrace.com/httpdocs/gal/index.php on line 27
PHP Fatal error:  Call to undefined function check_status() in /var/www/vhosts/ovalrace.com/httpdocs/gal/index.php on line 30

Welche Rechte will er haben ? für die geforderte Datei oder was in line 27 steht ?

und was ist mit dem Fatal Error ?
Bitte um hilfe

Beitrag geändert von smoere (2016-05-15 18:54:38)

Offline

#3 2016-05-15 19:03:53

teekay
Mitglied
2016-05-04
139

Re: Update von 2.80 auf 2.81 dann fehler 500

Die Dateirechte sind vermurkst. Da es ein vserver ist, müsstest du ja per SSH draufkommen.

Code:

cd /pfad/zu/piwigo
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;

Ggf. mit "ls -l" mal überprüfen, wem die Dateien gehören (apache, http, anderer Benutzer?) und mit

Code:

chown -R apache: /pfad/zu/piwigo

berichtigen

Der Fatal error ist wohl ein Folgefehler.

Offline

#4 2016-05-15 19:32:32

smoere
Mitglied
2016-05-15
5

Re: Update von 2.80 auf 2.81 dann fehler 500

hat geklappt :)

Danke für die schnelle Hilfe .

Vielen Dank

Offline

#5 2016-05-15 19:41:42

smoere
Mitglied
2016-05-15
5

Re: Update von 2.80 auf 2.81 dann fehler 500

zu früh gefreut , jetzt komm ich nicht in die Admin Ebene rein:

alles weiß bis auf :

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/vhosts/ovalrace.com/httpdocs/gal/include/common.inc.php on line 134 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/vhosts/ovalrace.com/httpdocs/gal/include/common.inc.php on line 134 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/vhosts/ovalrace.com/httpdocs/gal/admin/intro.php on line 116 Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead' in /var/www/vhosts/ovalrace.com/httpdocs/gal/include/functions.inc.php:597 Stack trace: #0 /var/www/vhosts/ovalrace.com/httpdocs/gal/include/functions.inc.php(597): DateTime->__construct() #1 /var/www/vhosts/ovalrace.com/httpdocs/gal/include/functions.inc.php(618): str2DateTime('2016-05-03 19:0...', NULL) #2 /var/www/vhosts/ovalrace.com/httpdocs/gal/admin/intro.php(230): format_date('2016-05-03 19:0...') #3 /var/www/vhosts/ovalrace.com/httpdocs/gal/admin.php(301): include('/var/www/vhosts...') #4 {main} thrown in /var/www/vhosts/ovalrace.com/httpdocs/gal/include/functions.inc.php on line 597

das mit dem Datum hatte ich ja schon behoben, aber da unten ist was neues bei ...

Offline

#6 2016-05-15 20:37:50

teekay
Mitglied
2016-05-04
139

Re: Update von 2.80 auf 2.81 dann fehler 500

Setze mal in /etc/php/php.ini (oder /etc/php.ini - ja nach Linux flavor) die Zeitzone explizit auf:

Code:

date.timezone = Europe/Berlin

Offline

#7 2016-05-15 23:24:49

smoere
Mitglied
2016-05-15
5

Re: Update von 2.80 auf 2.81 dann fehler 500

genau das war es , hab ich auch schon dran gedacht... 

ich hab es nochmal manuel in der database.inc.php kopiert, obwohl es drin stand.

( also rausgenommen , hochgeladen und nochmal eingetragen )

jetzt läuft es wie gewohnt.. 

besten dank

close :)

Offline

Brett Fußzeile

Unterstützt von FluxBB

github twitter newsletter Spenden Piwigo.org © 2002-2024 · Kontakt