Elxis CMS Forum

Extensions => Components => Topic started by: tib0 on November 07, 2006, 11:47:55

Title: phpBB in to elxis??
Post by: tib0 on November 07, 2006, 11:47:55
I found phpBB for  mambo and i did try to install it but after a view steps i get this  error

PHP: main(includes/installer_common.php): failed to open stream: No such file or directory
uri: index2.php?option=com_forum&task=install
path: /administrator/components/com_forum/admin.forum.php
version: Elxis 2006.3 Stable rev1060 [ OpenMind ] 21-October-2006 16:28 GMT+2
WARNING(2): /var/www/vhosts/mysite/httpdocs/elxis/administrator/components/com_forum/admin.forum.php, line 14

PHP: main(includes/installer_common.php): failed to open stream: No such file or directory
uri: index2.php?option=com_forum&task=install
path: /administrator/components/com_forum/admin.forum.php
version: Elxis 2006.3 Stable rev1060 [ OpenMind ] 21-October-2006 16:28 GMT+2
WARNING(2): /var/www/vhosts/mysite/httpdocs/elxis/administrator/components/com_forum/admin.forum.php, line 14




Fatal error: Cannot instantiate non-existent class: pclzip in /var/www/vhosts/mysite/httpdocs/elxis/administrator/components/com_forum/admin.forum.php on line 18

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

<?php
set_time_limit(0);

if($_GET['task'] == "install"){
  print"<img src=\"" . $mosConfig_live_site . "/administrator/components/com_forum/logo_phpBB_v3.png\" align=\"right\">";
  print"<h1 class=\"sectionname\">phpBB :: Installation</h1>
  <div align=\"left\">";
 
  if(($_SERVER['REQUEST_METHOD'] == "POST") && ($_POST['submit'] == "Step 1")){
    //unzip files
    if(is_writable($mosConfig_absolute_path . "/components/")){
      if(is_writable($mosConfig_absolute_path . "/administrator/components/")){
   
*************LINE 14 HERE BELOW*******       include("includes/installer_common.php");

         $iswin = (substr(PHP_OS, 0, 3) == 'WIN' && stristr ( $_SERVER["SERVER_SOFTWARE"], "microsoft"));
*************LINE 18 HERE BELOW*******
         
         $zipfile = new PclZip($mosConfig_absolute_path . "/components/com_forum/com_forum.zip");
           if($iswin) {
              define('OS_WINDOWS',1);
           } else {
              define('OS_WINDOWS',0);
           }
 
           $ret = $zipfile->extract(PCLZIP_OPT_PATH,$mosConfig_absolute_path . "/components/");
           if($ret == 0)
           {
              echo "Unrecoverable error '".$zipfile->errorName(true)."'","Unzip error";
              return false;
           }

         if(file_exists($mosConfig_absolute_path . "/components/com_forum/includes/sql_parse.php")){
Title: Re: phpBB in to elxis??
Post by: eliasan on November 07, 2006, 17:16:44
Hi,

installer_common.php is a file that was last available on Mambo 4.5. From versions 4.5.1 and up, this file does not exists in distributions. That means that the solution you have chosen is relatively old.

Appart from that, it would be a great surprise if such a bridge could work without modifications.
Title: Re: phpBB in to elxis??
Post by: tib0 on November 07, 2006, 18:19:12
Thanks for you repons eliasan
I  will try to see if i can download  a olderversion of mambo or just the installer_common.php
and than see what errors i will get
Maybe it works en than whe have new bridge to get phpBB in to elxis if so i will run my main site also on elxis because this site is using phpbb from the beginning.
greats tib0