[Help] Problems with lang compilation in Orca

Hello,

I have some problems with the language compilation of Orca Forum. I am trying to compile this forum from 2 months but I cannot resolve this problem.

Please, can you Help me?

The error messages are:

Warning: require_once(/home/public_html/miosito.org/orca/layout/uni_it/params.php) [function.require-once]: failed to open stream: No such file or directory in /home/public_html/miosito.org/orca/xml/config.php on line 89

Fatal error: require_once() [function.require]: Failed opening required '/home/public_html/miosito.org/orca/layout/uni_it/params.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/public_html/miosito.org/orca/xml/config.php on line 89

And, since I have changed permissions from 755 to 777 in directory Orca, It also appears:


Warning: fopen(/home/public_html/miosito.org/orca/conf/params.conf) [function.fopen]: failed to open stream: Permission denied in /home/public_html/miosito.org/orca/inc/util.inc.php on line 263

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/miosito.org/orca/inc/util.inc.php:263) in /home/public_html/miosito.org/orca/inc/util.inc.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/
miosito.orgt/orca/inc/util.inc.php:263) in /home/public_html/miosito.org/orca/inc/util.inc.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/
miosito.orgorca/inc/util.inc.php:263) in /home/public_html/miosito.org/orca/inc/util.inc.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/
miosito.org/orca/inc/util.inc.php:263) in /home/public_html/miosito.org/orca/inc/util.inc.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/
miosito.org/orca/inc/util.inc.php:263) in /home/public_html/miosito.org/orca/classes/BxXslTransform.php on line 61

How I can resolve this problems?

Thank you for your support.

Quote · 14 Dec 2008

well - as I remember - I solved this problem on your site.

First of all try to change permissions for /orca/conf/params.conf to 666

Regards

Artur

Quote · 14 Dec 2008

Hello,

I'm sorry but the problem wasn't solved. I have also continued the topic, but nobody replies to me.

If you want I can provide you my credentials for FTP access.

Thank you for your suppor.

EDIT: I just tried to change permissions of params.conf, but it's the same thing.

Quote · 14 Dec 2008

Hello,

I'm not sure to have correctly understand english, but I can explain me best.

Can I use phpbb3? Because I know well this application. It exists a bidge for Dolphin & phpbb3 ? In this way I prefer to choose phpbb3 and not Orca.

If it doesn't exists a bridge I must to control "cofig.php" at line 89 and see what it's calling for there ?


Here you have a line of code messed up as it's calling for /home/public_html/miosito.orgorca/inc/util.inc.php

It is my mistak: I've omit the "/", but the path is /home/public_html/miosito.org/orca/inc/util.inc.php.

I ma on a shared webspace and the domain is an "addon domain" to my main domain.

How I do proceed?

Quote · 14 Dec 2008

Yer I am on a shared web spacec, the classic web space bought from a maintener which provide webspace.

I would like know if this mod is free or not, because I'm searching a free mod for my community, because there are only some expreimwets before to open a community.

Thank you very much for your time!

Quote · 16 Dec 2008

Tarab read here your problem seems similar

Quote · 16 Dec 2008

I tried but there are some problems with my orca permissions. Maybe I have set bad permissions for oca and now I forgot what are the permissions for orca.

However I run the script php "orca_fix.php" with "success!" messagr but when I click onto the lang to compile it, it apperas the same error message (impossible to compile....) but now the directorie uni_LANG, base_LANG and otrher, are not addes.

Why?

Please, give me a little help.

Quote · 17 Dec 2008

Hello,

I'm sorry but I don't have undertand how I do.

This is my util.php file

******************************************************************************

<?php
/***************************************************************************
*                            Orca Interactive Forum Script
*                              -----------------
*     begin                : Fr Nov 10 2006
*     copyright            : (C) 2006 BoonEx Group
*     website              : http://www.boonex.com/
* This file is part of Orca - Interactive Forum Script
*
* Orca is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
* http://creativecommons.org/licenses/by/3.0/
*
* Orca is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details.
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Orca,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/


// util functions 

/**
* Output XML or make XSL transformation and output ready HTML
* @param $code        XML code
* @param $xsl        file name
* @param $trans    make xsl transformation or not
*/
function transCheck ($xml, $xsl, $trans, $browser_transform = 0)
{
global $gConf;

if ('server' == $gConf['xsl_mode'] && $trans)
{
$now = gmdate('D, d M Y H:i:s') . ' GMT';
header("Expires: $now");
header("Last-Modified: $now");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");

$xslt = new BxXslTransform ($xml, $xsl, BXXSLTRANSFORM_SF);
$xslt->setHeader ('Content-Type: text/html; charset=UTF-8');
$s = $xslt->process ();
$s = '<'.'?xml version="1.0" encoding="UTF-8"?'.'>' . $s;

$i1 = strpos ($s, '<?xml');
if (FALSE !== $i1)
{
$i2 = strpos ($s, '?>') + 2;
echo substr ($s, 0, $i1);   
echo substr ($s, $i2);
}
else
{
echo $s;
}
}
else   
{       
header ('Content-Type: application/xml; charset=UTF-8');
echo '<' . '?xml version="1.0" encoding="UTF-8"?' . '>';
if ('client' == $gConf['xsl_mode'] && $xsl)
{           
echo '<' . '?xml-stylesheet type="text/xsl" href="'.str_replace($gConf['dir']['xsl'],$gConf['url']['xsl'],$xsl).'"?'.'>';
}       
echo $xml;
}
}


/**
* Convert array to XML format
*
* @param $arr    array with data
* @param $tag    main tag <main tag>XML data</main tag>
* @return XML presentation of data
*/
function array2xml($arr, $tag = false)
{
$res = '';
foreach($arr as $k=>$v)
{
if(is_array($v))
{
if(!is_numeric($k) && trim($k))//
$res .= count($v) ? '<'.$k.'>'.array2xml($v).'</'.$k.'>' : '<'.$k.'/>';
elseif($tag)
$res .= '<'.$tag.'>'.array2xml($v).'</'.$tag.'>';
else
$res .= array2xml($v);
}
else
{
if(!is_numeric($k) && trim($k))//
$res .= strlen(trim($v)) ? '<'.$k.'>'.$v.'</'.$k.'>' : '<'.$k.'/>';//'<'.$k.'>'.$v.'</'.$k.'>';
elseif($tag)
$res .= '<'.$tag.'>'.$v.'</'.$tag.'>';//trim($v) ? '<'.$tag.'>'.$v.'</'.$tag.'>' : '<'.$tag.'/>';
else
{
echo 'Error: array without tag';   
exit;
}
}
}
return  $res;
}


/**
* check if magick quotes is disables
*/
function checkMagicQuotes ()
{
if (0 == get_magic_quotes_gpc())
{
addSlashesArray ($_COOKIE);
addSlashesArray ($_GET);
addSlashesArray ($_POST);
}
}

/**
* add slashes to every value of array
*/
function addSlashesArray (&$a)
{
for ( reset ($a); list ($k, $v) = each ($a);  )   
{
if (is_array($v))
addSlashesArray ($v);
else
$a[$k] = addslashes ($v);
}
}


function prepare_to_db(&$s, $iAllowHTML = 1)
{
if ($iAllowHTML)
cleanPost($s);
}


/**
* check html message, remove unknown tags, chech for xhtml errors
*/
function cleanPost (&$s)
{

function makeStyle ($s)
{
global $gConf;

if ($s == ">") return '';

$style = '';
$ret = '';

if (preg_match("/\bbold\b/", $s)) $style .= "font-weight:bold;";
if (preg_match("/\bunderline\b/", $s)) $style .= "text-decoration:underline;";
if (preg_match("/\bitalic\b/", $s)) $style .= "font-style:italic;";
if (preg_match("/\bmargin-left[:\s]+([0-9a-z]+)/", $s, $m)) $style .= "margin-left:{$m[1]};";           

if (preg_match("/\bhref=\\\\\\\\\"([0-9A-Za-z:@_\.\/?=&;-]+)/", $s, $m))
$ret = " " . (preg_match ('#^' . $gConf['url']['base'] . '#', $m[1]) ? "" : "target=\"_blank\"") . " href=\"{$m[1]}\"";

if (preg_match("/\bsrc=\\\\\\\\\"([0-9A-Za-z:@_\.\/?=&;-]+)/", $s, $m))
$ret = " src=\"{$m[1]}\" /";

if ($style) $ret .= " style=\"$style\"";

return $ret;
}


$s = str_replace ("&nbsp;", "&#160;", $s);


$s = strip_tags ($s, '<span><br><pre><ul><ol><li><div><p><strong><em><u><strike><blockquote><a><img><address><font><sup><sub><table><tbody><tr><td><hr><H1><H2><H3><H4><H5><H6><object><embed><param>');
}

function encode_post_text (&$s, $wp = 0, $utf8_decode = 0)
{
global $gConf;

if ('server' == $gConf['xsl_mode'])
{

}
elseif ('client' == $gConf['xsl_mode'])
{     

$s = str_replace (array('&amp;','&gt;','&lt;'), array('&','>','<'), $s);
}

$s = "<![CDATA[{$s}]]>";
}


function unicode_urldecode($url)
{
preg_match_all('/%u([[:alnum:]]{4})/', $url, $a);

foreach ($a[1] as $uniord)
{
$dec = hexdec($uniord);
$utf = '';

if ($dec < 128)
{
$utf = chr($dec);
}
else if ($dec < 2048)
{
$utf = chr(192 + (($dec - ($dec % 64)) / 64));
$utf .= chr(128 + ($dec % 64));
}
else
{
$utf = chr(224 + (($dec - ($dec % 4096)) / 4096));
$utf .= chr(128 + ((($dec % 4096) - ($dec % 64)) / 64));
$utf .= chr(128 + ($dec % 64));
}

$url = str_replace('%u'.$uniord, $utf, $url);
}

return urldecode($url);
}



function validate_unicode (&$s)
{
if (function_exists('iconv'))
$s = iconv("UTF-8","UTF-8//IGNORE",$s);
}

function getConfigParam ($sName)
{
global $gConf;

if (!$gConf['params'])
getConfig ();

if (!isset($gConf['params']) || !$gConf['params'][$sName])
return false;

return $gConf['params'][$sName];
}

function setConfigParam ($sName, $sValue)
{
global $gConf;

if (!$gConf['params'])
getConfig ();

$gConf['params'][$sName] = $sValue;

$s = base64_encode(@serialize($gConf['params']));

$f = fopen($gConf['dir']['config'], 'w');
if (!$f) return false;
if (!fwrite($f, $s))
{
fclose ($f);
return false;
}
fclose ($f);

return true;
}

function getConfig ()
{
global $gConf;

$s = @file_get_contents($gConf['dir']['config']);
if (!$s) return false;

$aParams = @unserialize(base64_decode($s));

if ($aParams && is_array($aParams))
{
$gConf['params'] = $aParams;
return true;
}
return false;
}

function echo_utf8 ($s)
{
header ('Content-Type: text/html; charset=UTF-8');
echo $s;
}

?>
**********************************************************

What I should check?

Quote · 26 Dec 2008

Please, give me a little help.

They are more than 2 months that I try to solve this problem.

I can also provide you my FTP Access.

Quote · 29 Dec 2008

check your mail box

My Mail :)

Quote · 29 Dec 2008

Maybe check that allow_url_fopen is enabled on your server, login as admin and browse to www.yoursite.com/admin/phpinfo.php.

Quote · 29 Dec 2008

there you go your forum is ready

have fun

Quote · 29 Dec 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.