English 中文(简体)
差错: Cannot redeclare par Zend_Loader
原标题:Random error: Cannot redeclare class Zend_Loader

我在几个虚拟东道国有多个Zend申请。 E.G. Internalnet.site.com and api.site.com。 我遇到一些困难,难以进入一个皮页。 我也有多个主干模式,这些模型向APIC提出填补模型的请求。

当我装上一个内联网网页时,它将在3次中至少1次成功向APIC提供XHR。 另一时候,我发现这一错误:

Fatal error: Cannot redeclare class Zend_Loader in C:xampphtdocsendLoader.php on line 31

现在,这种情况是零星发生的。 我有时在提出普通的GET申请(即不是XMLHTTPRequest)时就收到这一请求,但在我仅就一页的载荷提出不止一份APIC申请时,我才收到。

因为它没有将其他APIC电话作为单独的要求处理? 我不敢肯定会给它带来什么结果,因为这样做是零星的。

如果出现这种情况,则与XAMPP在视窗7环境中安装一米。 气温环境中的问题似乎较少,但我可以在气温环境中开发这个系统。

问题回答

我认为,你可以:

  • be using Superluminal plugin and try to require_once the Loader.php
  • have some kind of class cache, that loads more files at once - and then any require_once call to any the included classes fails
  • have a problem with APC/ZendOptimizer/etc. that caches classes




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签