crossdomain.xml;?

Could someone explain the error log for me in lay terms? Does this mean that ray is taking up too much memory...I am using Boonex'. Could this be the cause of the 500 server error I keep getting when clicking on links to forums or blogs? crossdomain.xml is there, I double-checked.

-

Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/lrepton2/public_html/members/ray/XML.php

-
File does not exist: /home/lrepton2/public_html/crossdomain.xml

Quote · 3 Oct 2008

This is complete dolphin/ray/orca install.

-
I have it installed in subdirectory in dolphin/members/ray.

-

This is a Dolphin file...code in file. Not mod.

-

<?
/***************************************************************************
*
* IMPORTANT: This is a commercial product made by BoonEx Ltd. and cannot be modified for other than personal usage.
* This product cannot be redistributed for free or a fee without written permission from BoonEx Ltd.
* This notice may not be removed from the source code.
*
***************************************************************************/
$sModule = isset($_REQUEST['module']) ? $_REQUEST['module'] : "";
$sAction = isset($_REQUEST['action']) ? $_REQUEST['action'] : "";

$sGlobalHeader = "modules/global/inc/header.inc.php";
if(!file_exists($sGlobalHeader)){ header("Location:install/index.php"); exit;}

require_once($sGlobalHeader);
require_once($sIncPath . "constants.inc.php");
require_once($sIncPath . "db.inc.php");
require_once($sIncPath . "xml.inc.php");
require_once($sIncPath . "functions.inc.php");
require_once($sIncPath . "apiFunctions.inc.php");
require_once($sIncPath . "customFunctions.inc.php");


$sModule = empty($sModule) ? GLOBAL_MODULE : $sModule;

$sContents = "";
$sContentsType = CONTENTS_TYPE_XML;

if($sModule == GLOBAL_MODULE)
{
require_once($sIncPath . "xmlTemplates.inc.php");
require_once($sIncPath . "actions.inc.php");
}
else
{
$sModuleIncPath = $sModulesPath . $sModule . "/inc/";
require_once($sModuleIncPath . "header.inc.php");
require_once($sModuleIncPath . "constants.inc.php");
require_once($sModuleIncPath . "xmlTemplates.inc.php");
require_once($sModuleIncPath . "customFunctions.inc.php");
require_once($sModuleIncPath . "functions.inc.php");
require_once($sModuleIncPath . "actions.inc.php");
}

switch($sContentsType)
{
case CONTENTS_TYPE_XML:
//--- Print Results in XML Format ---//
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header ('Content-Type: application/xml');
echo "<?xml version='1.0' encoding='UTF-8'?>" . makeGroup($sContents);
break;
case CONTENTS_TYPE_SWF:
header("Content-Type: application/x-shockwave-flash");
echo $sContents;
break;
default:
echo $sContents;
break;
}

$oDb->disconnect();
?>

Quote · 3 Oct 2008

It seems that Apache had crashed...host doesn't know why. All errors have stopped for the moment.

Quote · 4 Oct 2008
I notice you are using suphp on your server. If you have any php instructions in your .htaccess files, this will cause a server 500 error. Stuart
There are none so blind as those that will not see.
Quote · 4 Oct 2008

create a crossdomain.xml file with the folllowing data:

<?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*.yourdomain.com" />
<allow-access-from domain="rbs.boonex.com" />
</cross-domain-policy>


and upload it to your document root (change *.yourdomain.com with the url of your site without the www)

crossdomain.xml is used by Adobe Flash when a swf file is trying to access data from your server (be it a txt file with variables, a php file etc). Each time a swf tries to access data from your server it also consults crossdomain.xml to check if your server allows swf files to retrieve data. It's a security measure and you should have one in place (As it will also eliminate the 404 errors in your log.)

However the presence (or lack of it thereof) of crossdomain.xml does not cause 500 Internal Server Errors. You should check for the cause of that problem elsewhere.

Finally, keep in mind that crossdomain.xml should always reside in the root of your web server's document folder (at exactly the same place where you put your favicon.ico)

Quote · 4 Oct 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.