Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Error 500 during approbation of a new user 1 month 6 days ago #1

  • Adel
  • Adel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 33
Hi

Under the version 2.0.14, when i try to approve a new user, i have an error 500.

Regards

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 6 days ago #2

  • Adel
  • Adel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 33
I have manually upgrade to 2.0.15 but the problem is the same

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 6 days ago #3

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14506
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 6 days ago #4

  • Adel
  • Adel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 33
I modify the .htaccess file and add the following lines at the end of the file :
php_flag display_errors on
php_flag display_startup_errors on
php_value error_reporting -1

No problem of CPU/memory
The version of PHP is always the same
The problem occur since the 2.0.14 version
No error int the IIS log

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 6 days ago #5

  • Adel
  • Adel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 33
Admin has the full right on the folder DATA

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 6 days ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14506
When you approve a new user, an email is sent.

Perhaps the problem is sending mail.

Can your server send mail?

Control panel -> Sending email -> Send a test message.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 5 days ago #7

  • Adel
  • Adel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 33
Hi,
Now the test of sending mail is ok.
But when i try to approve a user, always error 500 with the version 2.0.15.
The error don t occur with the version 2.0.13.

Regards

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 5 days ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14506

I modify the .htaccess file and add the following lines at the end of the file :

...

No error int the IIS log



The .htaccess file is for APACHE web servers.

You are using IIS.

You must find another way to make these configuration changes.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Error 500 during approbation of a new user 1 month 17 hours ago #9

Same problem. Webtrees 2.0.15 and PHP 7.3 When someone wanted to register, it gave error 500. Create the user from the administration panel and when wanting to validate it, it gave me error 500. I tried to send test mail and the same error. I went back to version 2.0.13 and the error was solved. It can be registered from the page and I can validate it from the administration panel

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 16 hours ago #10

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14506
@herver - did you read webtrees.net/faq/500/ ?
Did you find the error message in your webserver logs?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 15 hours ago #11

Yes, I checked the 500 guide but I didn't find anything to change. As a few days ago I had another error in version 14, and returning it to version 13 it was solved, now that this new error appeared with version 15, it occurred to me again to return to version 13 and this error was solved, make the report. In the logs I did not find the error 500 today, but 2 days ago with the same link. We tested this today from cell phones, Windows machines and others with Linux. On the server it is installed on Linux.

[08/Apr/2021:14:20:57 -0300] "POST /genealogia/index.php?route=%2Fgenealogia%2Fregister%2FLopezRocchi HTTP/2" 500 0 "www.lopez-rocchi.com.ar/genealogia/index...gister%2FLopezRocchi" "Mozilla/5.0 (Linux; Android 11; SM-G970F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.105 Mobile Safari/537.36"

I do not handle the issue of checking logs well, it is what I could find in my Cpanel.
Thank you

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 6 hours ago #12

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14506
Bugs can usually be fixed in about 10 minutes. The 10 minutes start when I can reproduce the error on my own computer.

If you cannot provide an error message, then it is *very* difficult to help.
All I know is that "an error occured on your website".

> I do not handle the issue of checking logs well, it is what I could find in my Cpanel.

Web-servers normally create 2 log files.
1) access log
2) error log

You have shown me the access log. This simply says that an error occurred.

There should also be an error log, with the details of the error.

Every cPanel is slightly different. But google should help you find the location of the error logs for your cPanel.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 1 month 6 minutes ago #13

Thank you. The only thing that appears or I knew how to find in CPanel, is what I attach in the screenshot. I also wrote to my hosting provider to see if he can send me more information. As soon as they answer me, I share it here.
Thanks again
Attachments:

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 4 weeks 1 day ago #14

They told me to see this file. Is it useful to identify the error?
Thank you
Attachments:

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 4 weeks 1 day ago #15

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14506
> Is it useful to identify the error?

Yes!

Here is the error message:

[01-Apr-2021 12:02:55 UTC] PHP Fatal error: Declaration of Egulias\EmailValidator\Validation\MessageIDValidation::isValid(string $email, Egulias\EmailValidator\EmailLexer $emailLexer): bool must be compatible with Egulias\EmailValidator\Validation\EmailValidation::isValid($email, Egulias\EmailValidator\EmailLexer $emailLexer) in /home/mydirectory/public_html/genealogia/vendor/egulias/email-validator/src/Validation/MessageIDValidation.php on line 10

This code was removed in 2.0.15. (to fix the error).

If you still have the error, then perhaps you have an old file?

Suggestion: delete all the files in the folder /vendor, and re-install them from github.com/fisharebest/webtrees/releases.../webtrees-2.0.15.zip
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 4 weeks 1 day ago #16

Perfect! I try this solution and try again.
Thank you

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 4 weeks 1 day ago #17

Indeed that was the problem.
Thanks a lot!

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 4 weeks 1 day ago #18

  • Adel
  • Adel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 33
Hi

Thanks for the soluce.
Effectively after copy the full folder vendor from 2.0.15 it s ok
Regards

Please Log in or Create an account to join the conversation.

Error 500 during approbation of a new user 4 weeks 7 hours ago #19

Reinstalling the folder /Vendor cured my problem

Vagn

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum