HTTP ERROR 500 - /societe/paymentmodes.php?socid=3

Bonjour,

J’ai une Erreur 500 quand je click sur Bank Accounts sur une Fiche Client.

J’ai une installation recente Dolibarr 9.0.0 hébergée sur Gandi Simple Hosting.

Quelquún a t’il la meme erreur ?

Comment corriger cela ?

Cordialement

Vincent

Bonjour,

Erreur 500 = erreur php
Merci de nous fournir le log apache

Ci-joint le access log

Il n’y a rien de joint

XXXXXXXXX 999.999.999.999 - - [14/Mar/2019:18:02:16 +0000] (0 s) « GET /som/societe/paymentmodes.php?socid=1 HTTP/1.1 » 500 - « http://XXXXX.mu/som/fourn/card.php » « Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 »

J’ai bien sur cache mon IP et nom de domaine.

J’ai genere l’erreur et copie la partie correspondante

Bonjour,

Ce que vous avez copier/collé ça semble le access.log et pas le error.log

[Sun Mar 17 00:09:52.446059 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 00:09:52.461838 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 00:09:52.461860 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 01:09:52.808000 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 01:09:52.819880 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 01:09:52.819893 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 02:09:53.246303 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 02:09:53.256868 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 02:09:53.256882 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 03:09:52.692668 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 03:09:52.704709 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 03:09:52.704722 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 04:09:53.139797 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 04:09:53.150500 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 04:09:53.150513 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 05:09:52.574775 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 05:09:52.585514 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 05:09:52.585532 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 06:09:52.991729 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 06:09:53.002391 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 06:09:53.002407 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 07:09:52.451714 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 07:09:52.462400 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 07:09:52.462412 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 08:09:52.858095 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 08:09:52.868850 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 08:09:52.868864 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 09:09:53.295698 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 09:09:53.306463 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 09:09:53.306477 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 10:09:53.766042 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 10:09:53.776881 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 10:09:53.776897 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 11:09:54.150371 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 11:09:54.161434 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 11:09:54.161450 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›
[Sun Mar 17 12:09:53.583312 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00493: SIGUSR1 received. Doing graceful restart
[Sun Mar 17 12:09:53.596070 2019] [mpm_event:notice] [pid 445:tid 140129179465600] AH00489: Apache/2.4.35 (Unix) configured -- resuming normal operations
[Sun Mar 17 12:09:53.596092 2019] [core:notice] [pid 445:tid 140129179465600] AH00094: Command line: ‹ /opt/apache2-2.4/usr/sbin/apache2 -d /srv/data/.config/apache -f apache2.conf ›

J’ai mis le error log !

Cela n’aide pas ?

Bonjour,

Ce n’est pas le error log juste le fichier de démarrage du system,ça ne sert à rien.

Si vous êtes bien chez ganhi : https://docs.gandi.net/en/simple_hosting/common_errors/index.html
Envoyer le www-error.log dans le dossier /lamp0/var/log

1 « J'aime »

Thanks for the path.

Here it is :

domain[23-Mar-2019 13:01:42 Indian/Mauritius] PHP Warning: require(/srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/lib/Error/Api.php): failed to open stream: No such file or directory in /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/init.php on line 21
[23-Mar-2019 13:01:42 Indian/Mauritius] PHP Warning: require(/srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/lib/Error/<?php

namespace Stripe\Error;

class Api extends Base
{
}
): failed to open stream: No such file or directory in /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/init.php on line 21
[23-Mar-2019 13:01:42 Indian/Mauritius] PHP Fatal error: require(): Failed opening required ‹ /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/lib/Error/Api.php › (include_path=’.:/usr/share/php:/srv/data/web/includes’) in /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/init.php on line 21
[23-Mar-2019 13:02:00 Indian/Mauritius] PHP Warning: require(/srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/lib/Error/<?php

namespace Stripe\Error;

class Api extends Base
{
}
): failed to open stream: No such file or directory in /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/init.php on line 21
[23-Mar-2019 13:02:00 Indian/Mauritius] PHP Fatal error: require(): Failed opening required ‹ /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/lib/Error/Api.php › (include_path=’.:/usr/share/php:/srv/data/web/includes’) in /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/init.php on line 21
[23-Mar-2019 13:05:59 Indian/Mauritius] PHP Warning: require(/srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/lib/Error/Api.php): failed to open stream: No such file or directory in /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/init.php on line 21
[23-Mar-2019 13:05:59 Indian/Mauritius] PHP Warning: require(/srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/lib/Error/<?php

namespace Stripe\Error;

class Api extends Base
{
}
): failed to open stream: No such file or directory in /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/init.php on line 21
[23-Mar-2019 13:05:59 Indian/Mauritius] PHP Fatal error: require(): Failed opening required ‹ /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/lib/Error/Api.php › (include_path=’.:/usr/share/php:/srv/data/web/includes’) in /srv/data/web/vhosts/www.domain.mu/htdocs/company/includes/stripe/init.php on line 21

J’ai oublié de dire que je suis en V9

Solved.

For some strange reasons, some files have been uploaded as symlink instead of file.

I erased these files and re-uploaded stripe folder … everything back to normal :wink:

ahah funny :happy:
congratulation for finding your solution.

if resolved, please edit your first post and include « [RESOLU] » at the begining of the subject.

Reminder : this forum is the french version.
Please consult dolibarr.org for othe languages.