我有一个Magento网上商店(1.9.2.3。),有很多注册客户。当进入我的帐户->忘记密码时,注册客户可以填写他/她的电子邮件地址。单击“发送”按钮时,商店显示“服务器错误500”。
这是唯一出现错误的地方。可能是什么问题?如何解决此问题?
这是页面,您可以尝试用我的电子邮件进行尝试:pvanremmen@prsocial.nl https://www.hoesjesonline.nl/customer/account/forgotpassword/
我希望有一个解决方案。
PS:Magento 1.9.2.2存在问题,刚刚升级到1.9.2.3,并且仍然存在。
更新:日志中的错误:[2016年1月25日星期一15:14:00.768731] [:错误] [pid 10335] [客户端77.172.241.31:62120] PHP致命错误:在非对象上调用成员函数getBackend()在第1548行的/home/hoesjeson/domains/hoesjesonline.nl/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php中,引荐网址:https ://www.hoesjesonline.nl/customer/account / forgotpassword / [2016年1月25日星期一15:14:34.977753] [:error] [pid 9480] [client 77.172.241.31:62129] PHP致命错误:在/ home中非对象上调用成员函数getBackend() /hoesjeson/domains/hoesjesonline.nl/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php,第1548行,引荐网址:https://www.hoesjesonline.nl/customer/account/forgotpassword/
我有Windows 10,我想运行IIS.我已经为它激活了所有功能,你可以在这里看到.然后我在浏览器中键入"localhost",然后我接受
"Http错误503服务不可用."
在一些论坛中,他们说控制日志HTTP错误文件,所以我这样做,但它是空的.
然后我去ISS经理查看配置.
我怎样才能解决这个"Il服务器conf configurato per l'uso dell'autenticazione pass-through con un account predefinito per accedere al percorso fisico specificato.Tuttavia,Gestione IISnonpuòverificarese l'account predefinito ha l'accesso.Verificare che l'identitàdelpool di applicazioni abbia l'accesso in lettura al percorso fisico.Se questoserverèagoniuntoun dominio e l'identitàdelpool diapplicazionièNetworkServiceo LocalSystem,verificare che' <dominio>\<nome_computer> $ ' abbia l'accesso in lettura al percorso fisico,quindi riprovare queste impostazioni." ?
我知道我必须验证App池的身份是否具有物理路径的读取权限.请帮我.谢谢.
我一直试图弄清楚但没有得到它。
说明:在执行当前 Web 请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其在代码中的来源的更多信息。
异常详情:
System.NullReferenceException: Object reference not set to an instance of an object.
Run Code Online (Sandbox Code Playgroud)
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常来源和位置的信息。
堆栈跟踪:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.WebTools.BrowserLink.Runtime.Tracing.PageInspectorHttpModule.OnPreRequestHandlerExecute(Object sender, EventArgs e) +662
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +74
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92
Run Code Online (Sandbox Code Playgroud) 我尝试在我的服务器上执行一个简单的perl脚本,我得到一个内部500服务器,当我检查错误日志时,它显示:
Premature end of script headers: test.pl
这是perl脚本:
#!/usr/bin/perl -w
print "Content-type: text/plain\n\n";
print "testing...\n";
Run Code Online (Sandbox Code Playgroud)
我的cgi-bin文件夹具有0755的权限.脚本本身也是0755.该脚本由apache拥有,并且在apache组中.该脚本通过命令行正常工作.
有什么问题,我该如何解决这个问题?!
谢谢大家的帮忙!
有趣的发现在suExec:
2010-09-14 17:38:28]: uid: (10001/som) gid: (2522/2522) cmd: test.pl
[2010-09-14 17:38:28]: target uid/gid (10001/2522 or 2521) mismatch with directory (48/0) or program (48/0)
Run Code Online (Sandbox Code Playgroud)
但我的cgi文件夹与test.pl脚本相同 - 它是指另一个目录吗?
我在我的 settings.py 文件中将 debug 设置为 False(请注意,在我将其设置为 false 之前,一切都完美无缺),当我运行git push heroku master并访问我的网站时,主页正在运行,但并非所有人都如此我的页面:在某些页面上,我收到一条错误消息Server Error (500)
这是我的settings.py代码:
DEBUG = False
ALLOWED_HOSTS = ["hacka-labs.herokuapp.com"]
Run Code Online (Sandbox Code Playgroud)
我注意到的是,我传递 id 的网址不起作用
如果你知道答案,请帮助我
我收到越来越多的child pid 10708 exit signal Segmentation fault (11)错误.它的根本原因是什么以及如何解决?
php ini内存与此相关吗?
我正在使用apache2服务器与PHP.
提前致谢.
我在XAMPP中使用Perl进行服务器端脚本编写.
我想从Perl访问数据库.我正在使用use DBI;.
如何检查我的系统中是否存在Perl DBI?我收到服务器错误.Error 500.
我正在使用Tomcat服务器.
下面是所有真正需要工作的代码。我有理由相信这个问题只与discogs有关。如果是discogs,我想知道一种解决方法,例如模拟浏览器。
使用下面的代码它应该连接到页面然后下载图像,但是当我运行它时会出现 503 错误。如果我使用相同的链接连接到页面,它将在我的浏览器中显示图像。
WebClient client = new WebClient();
client.DownloadFile("https://img.discogs.com/h7oMsgLSWi7D6nBR8wdBwWulJ8w=/fit-in/600x600/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-9259029-1477514675-9740.jpeg.jpg", @"C:\Programming\Test\downloadimage.jpg");
Run Code Online (Sandbox Code Playgroud)
但是,如果我使用 Imgur,并使用程序执行此操作,它会按预期下载图像。
client.DownloadFile("http://i.imgur.com/sFq0wAC.jpg", @"C:\Programming\Test\downloadimage.jpg");
Run Code Online (Sandbox Code Playgroud)
我能够使用客户端连接到discogs,甚至通过它运行搜索并使用client.DownloadString("url"); 以文本形式(尽管通过html)获取结果;
但我无法下载任何图像。我将不胜感激,此时我想要的只是图像。
我正在尝试使用php创建一个网页.问题是,有时候我会收到服务器错误,而有时我根本得不到任何回报.有一次,服务器自己更改了文件类型.我不知道问题是什么.
因为我实际上不知道问题是什么,所以我将整个文件粘贴到这里,即使我希望它是前几行的问题(我把它放在这里:http://www.iandapp.com/smic/ subscription.php):
<?php header('Content-Type: text/html; charset=ISO-8859-1');
echo("<div id='subscribe'>");
$mail = $_POST['email1'];
//Set the locale format, etc. of date and time
date_default_timezone_set('Europe/Stockholm');
setlocale(LC_TIME, "sv_SV");
//Create the db-connection
$mysqli = mysqli_connect("mydb", "myuser", "mupsw", "myschema", "3306");
//If verifying the subscription, makse sure the db is updated accordingly
if($_GET['newid'] != ""){
//Make the subscriber a verified subscriber
$result = mysqli_query($mysqli,"UPDATE users SET subscriber = 1 WHERE id = " . $_GET['newid']);
if($result){
echo("<p>Welcome to our newsletter! We will send …Run Code Online (Sandbox Code Playgroud)