We encountered the following 504 time-out error when trying to create a new account within the web. We can place the data correctly, when clicking on save the page (submit the form) it is loading forever until this 504 error appears.
On the contrary, if we look at the administration in clients, the users are created properly. We are on version 1.7.8.3, we just recently upgraded from version 1.6 and the rest of the website seems to be working fine.
If we put the login information of the new user created, you can correctly access the web with your account despite the fact that the creation has thrown this error.
First I thought if it was a redirection error, but looking at the prestashop files everything seems to be correct, I have tried to activate the debug mode, it does not throw any error either, everything is correct. I honestly have no idea what could be going on.
The only error we have seen is this:
2022-03-03 18:39:23 UTC [apache][:warn] [pid number] [client ip]
Timeout waiting for output from CGI script
/home/folder/www/web/public_html/index.php, referer:
https://www.web.es/inicio-sesion?create_account=1
we had the same problem, both for the registration and for the payment of the order (Error 504, same prestashop version). We have discovered that the problem came from the configuration of the email. By default the setting is:
/usr/sbin/sendmail
You have to configure the option:
SMTP
I hope this information will help you solve the problem! Best regards
Related
I have just made a fresh installation of OCS Inventory 2.6 on a Centos7 VM and everything seems fine. But when I launch the home page at http://myserverIP/ocsreports, I got the following message :
"This page isn’t working
myserverIP is currently unable to handle this request.
HTTP ERROR 500"
But I've checked almost all config files and I'm unable to figure out where's the issue.
Can someone help me get rid of this trouble ?
There is very vague information given. It would be great if you can provide more info like where is the installation path, what web server are you using etc?
most likely you get 500 when either that page or script doesn't exist where it is expected? so make sure your web server home directory is pointing to right folder.
after 2 years, Suddenly if I try to visit an https://www.xxxx.com website built with opencart I get 500 status error, however, when I load the website dashboard and I logon, then I go back to https://www.xxxx.com and it works, I DO NOT get the 500 error status. I have tried the steps above on different clients (chrome) and I get 500 status unless I logon to the dashboard. I checked mysql and apache all running ok, I restarted the digital ocean server (ubuntu 14.04) without luck.I found the following log in the apache error
call to a member function getModule() on a non-object in /var/www/html/catalog/controller/common/footer_modules.php on line 23
why suddenly I am getting this error? code not changed at all. I do not know how to troubleshoot it. I appreciate some detailed steps.
This is resolved by going to dashboard's Settings --> Store -- > maintenance and unchecking maintenance to No. Maintenance tickbox was set to Yes. Somehow the error does not indicate at all the cause. I set it to No and the error disappeared. I am investigating now whether someone hacked the server or someone had access to the server.
am new here - I have been having problems with this $%%$%$ IIS7.5 I have finished developing a wordpress site on my localhost using xampp - so I thought this was gonna be business as usual just copy files to remote- change config and dump sql - boy was I wrong! I think I have done everything I know to do and am still getting this annoying HTTP Error 500.0 - Internal Server Error
This is what I get each time,When I am trying to access the site:
HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred.
Detailed Error Information
Module
FastCgiModule
Notification
ExecuteRequestHandler
Handler
PHP_via_FastCGI
Error Code
0x00000000
Requested URL
http://mysite.com:80/index.php
Physical Path
E:\HostingSpaces\xxxxxxxxx\mysite.com\wwwroot\index.php
Logon Method
Anonymous
Logon User
Anonymous
Most likely causes: •IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
•IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
•IIS was not able to process configuration for the Web site or application.
•The authenticated user does not have permission to use this DLL.
•The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
Things you can try: •Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
•Check the event logs to see if any additional information was logged.
•Verify the permissions for the DLL.
•Install the .NET Extensibility feature if the request is mapped to a managed handler.
•Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
Links and More Information This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.
View more information »
Microsoft Knowledge Base Articles:
•294807
Please can anyone just tell me precisely what to do,I cant take it anymore.. please help me.
So my case is hopeless - i cant be helped?
IIS server is not equal to Apache. It uses another type of configs. I think your problem in the web.config file or related to permissions. Your question isn't so subjective. You need to localize problem and describe here more detailed information. Now your question looks like this: "I have PHP application on IIS that doesn't work. I tested it on my xampp. Where is problem?". There are a lot of problems that you can have here...
I has same problem with php 5.6 on iis 6 (windows server 2012 r2)
You should ensure the VC++11 runtime is installed (for me it's Visual C++ Redistributable for Visual Studio 2012 Update 4)
It's probably because the connection string mismatch,check your connection string.
"500 - Internal server error" error message when a user tries to access your Apache or Lighttpd based dynamic php application
Generally, to solve this problem you need to take help of log files located at following location:
=> /var/log/message
=> /var/log/httpd/error_logs (/var/log/lighttpd/error_log or /var/log/httpd/error_log)
This error only occurs because of web server software. However after looking through logs you may not find many details. This problem may be caused by:
A malformed php cgi script
An invalid directive in an .htaccess or other config file
Limitation imposed by file system and server software (for example php log file size set to 10Mb)
Missing php.ini (or cannot read php.ini file)
Silverstripe is running on my since a few weeks. Recently, I get an Internal Server Error message when I try to access the admin area.
Having a look in the server's error logs, I discovered following hint:
[Mon Apr 05 12:15:26 2010] [error]
[client ...] Premature end of script
headers: main.php
I already was refered to this site: What does the 'premature end of script headers' error mean?
But does anybody had this problem in connection with Silverstripe? Would make it much easier to restrict the scope from where the error is caused.
Regards,
Benedikt
Well... it seems to work now.
Reason:
SilverStripe required a seperate 'Security.ss'-template for the login area. (I wonder, why it didn't was in need of that, before!)
Unfortunatelly the web server displayed a very general 'Internal Server Error'-Message. When i ran the site on another server, SilverStripe was able to display error messages to me.
insert
Director::set_environment_type("dev");
in your _config.php to see more error messages.
dont use this in live mode, only dev mode.
I've just migrated from PHP 5.2.3 using php5isapi.dll to PHP 5.3.0 using FastCGI and php-cgi.exe. On this site I have hooks for windows/ntlm/http authentication doing something like this:
if(empty($_SERVER["REMOTE_USER"]))
{
header("HTTP/1.1 401 Unauthorized");
exit;
}
$winuser = $_Server["REMOTE_USER"];
//parse $winuser to make sure it is on my domain, and can login to the site.
//set a cookie specifying that this user is logged in
//redirect to site.
This worked just great under PHP 5.2.3 with isapi. Now that I've moved to FastCGI on IIS6, it is broken. It works for me, but I have administrator on the server. Those without administrator (most people) see some variant of the following:
FastCGI Error
The FastCGI Handler was unable to process the request.
________________________________________
Error Details:
• The FastCGI process exited unexpectedly
• Error Number: -1073741819 (0xc0000005).
• Error Description: Unknown Error
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
I have tried plowing through documentation and log files, but can't seem to make any headway. I don't actually want the remote username to be used to access my .php files, I just want to grab the name and match to my database. The anon user should still be the one doing the actual php execution.
Any leads?
Some progress, but no real solution yet.
Following the advice here was useful: FastCGI Docs
Especially the Security Recommendations section. This got my errors out of FASTCGI 500 and into the php error log.
It appears that PHP/IIS/FastCGI wants to access the session directory (mine is C:\PHP\Session) via whatever user attempts to authenticate instead of the anon user.
Setting "Modify" permissions on that folder to "All Users" allows the site to work as desired. However, I'm then wondering how big of a security hole I'm creating by doing this...