Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th February 2006, 20:50
PsiTrax PsiTrax is offline
Junior Member
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Angry PHP include error

Hi,
ive a fresh install of ISPconf and if i klick any menubutton i get

PHP Code:
Warningmain(/go_info.inc.php) [function.main]: failed to open streamNo such file or directory in /home/admispconfig/ispconfig/lib/session.inc.php on line 220

Warning
main() [function.include]: Failed opening '/go_info.inc.php' for inclusion (include_path='.:/root/ispconfig/php/lib/php'in /home/admispconfig/ispconfig/lib/session.inc.php on line 220

Warning
main(/web//lib/module.inc.php) [function.main]: failed to open stream: No such file or directory in /home/admispconfig/ispconfig/lib/session.inc.php on line 241

Warningmain() [function.include]: Failed opening '/web//lib/module.inc.php' for inclusion (include_path='.:/root/ispconfig/php/lib/php'in /home/admispconfig/ispconfig/lib/session.inc.php on line 241 
ive installed it after the debian 3.1 howto and everything worked fine - no errors anywhere

does anyone have any idea?
Reply With Quote
Sponsored Links
  #2  
Old 15th February 2006, 21:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Please post the output of
Code:
ls -la /home/admispconfig/ispconfig/lib
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th February 2006, 22:50
PsiTrax PsiTrax is offline
Junior Member
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

here it is

Code:
psiroot:~# ls -la /home/admispconfig/ispconfig/lib
insgesamt 76
drwxr-xr-x  6 admispconfig admispconfig  4096 2006-02-15 19:32 .
drwxr-xr-x  8 admispconfig admispconfig  4096 2006-02-15 18:17 ..
-rwxr-xr-x  1 admispconfig admispconfig  6275 2006-02-15 18:17 app.inc.php
-rwxr-xr-x  1 admispconfig admispconfig  1768 2006-02-15 18:17 banner.inc.php
drwxr-xr-x  2 admispconfig admispconfig  4096 2006-02-15 18:17 classes
-rw-------  1 admispconfig admispconfig  5785 2006-02-15 18:17 config.inc.php
-rwxr-xr-x  1 admispconfig admispconfig   354 2006-02-15 18:17 copyright.inc.php
-rwxr-xr-x  1 admispconfig admispconfig  7438 2006-02-15 18:17 go_info.inc.php
drwxr-xr-x  2 admispconfig admispconfig  4096 2006-02-15 18:17 help
-rwxr-xr-x  1 admispconfig admispconfig   324 2006-02-15 18:17 index.php
drwxr-xr-x  2 admispconfig admispconfig  4096 2006-02-15 18:17 lang
drwxr-xr-x  2 admispconfig admispconfig  4096 2006-02-15 18:17 plugins
-rwxr-xr-x  1 admispconfig admispconfig     5 2006-02-15 18:17 preload.inc.php
-rwxr-xr-x  1 admispconfig admispconfig 12045 2006-02-15 19:37 session.inc.php
it seems that the vars with the path are empty "/go_info.inc.php"

Last edited by PsiTrax; 15th February 2006 at 23:31.
Reply With Quote
  #4  
Old 16th February 2006, 01:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Can you post your /home/admispconfig/ispconfig/lib/config.inc.php here? (But make sure to remove your MySQL login details! )
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 16th February 2006, 10:23
PsiTrax PsiTrax is offline
Junior Member
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

shure, here it comes

Code:
<?
/*
Copyright (c) 2005, projektfarm Gmbh, Till Brehm, Falko Timme
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
    * Neither the name of ISPConfig nor the names of its contributors
      may be used to endorse or promote products derived from this software without
      specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// Register Globals emulieren, falls notwendig
if(get_cfg_var('register_globals') != 'On') {

    foreach($HTTP_GET_VARS as $getkey => $getval) {
        $$getkey = $getval;
    }
    unset($getkey);
    unset($getval);

    foreach($HTTP_POST_VARS as $postkey => $postval) {
        $$postkey = $postval;
    }
    unset($postkey);
    unset($postval);

    foreach($HTTP_COOKIE_VARS as $cookiekey => $cookieval) {
        $$cookiekey = $cookieval;
    }
    unset($cookiekey);
    unset($cookieval);
}

$go_info = array();

$s = $HTTP_GET_VARS["s"];
if(isset($HTTP_POST_VARS["s"])) $s = $HTTP_POST_VARS["s"];
$s = addslashes($s);
$session = "s=$s";
$set_header = 1;
@session_start();

/**********************************************
* System Settings
**********************************************/

$go_info["server"]["dir_trenner"] = "/";
$go_info["server"]["server_root"] = "/home/admispconfig/ispconfig";
$go_info["server"]["server_url"] = "https://ssl.psitrax.de:81";
$go_info["server"]["include_root"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."lib";
$go_info["server"]["classes_root"] = $go_info["server"]["include_root"] . $go_info["server"]["dir_trenner"] ."classes";
$go_info["server"]["temp_dir"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."temp";
$go_info["server"]["files_dir"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."files";
$go_info["server"]["backup_dir"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."backup";
$go_info["server"]["version"] = "2.1.2";
$go_info["server"]["os"] = "linux";
$go_info["server"]["ort"] = "local";
$go_info["server"]["banner"] = "0";
$go_info["server"]["db_host"] = "localhost";
$go_info["server"]["db_name"] = "ispconf";
$go_info["server"]["db_user"] = "root";
$go_info["server"]["db_password"] = "";
$go_info["server"]["db_type"] = "mysql";
$go_info["server"]["mail_server"] = "";
$go_info["server"]["mail_user"] = "";
$go_info["server"]["mail_password"] = "";
$go_info["server"]["smtp_server"] = "localhost";
$go_info["server"]["mode"] = "";
$go_info["server"]["lang"] = "de";

$go_info["server"]["postfix_config"] = 1; // 1 = SENDMAIL-STYLE, 2 = POSTFIX-STYLE
$go_info["server"]["smtp_restart"] = 1; // 1 = stop/start, 2 = restart
$go_info["server"]["network_config"] = 0; // 0 = none, 1 = automatic

/**********************************************
* Tools Settings
**********************************************/

$go_info["tools"]["zip"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."tools".$go_info["server"]["dir_trenner"]."zip".$go_info["server"]["dir_trenner"]."zip"; // nicht gzip !!
$go_info["tools"]["unzip"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."tools".$go_info["server"]["dir_trenner"]."unzip".$go_info["server"]["dir_trenner"]."unzip";
$go_info["tools"]["imagemagick"]["mogrify"] = "mogrify.exe";

/**********************************************
* Themes Settings
**********************************************/

// Themes Section
$go_info["theme"]["sitename"] = "ISPConfig";
$go_info["theme"]["page"]["box_color"] = "E4E4E4"; // z.B. E4E4E4 , angaben ohne #
$go_info["theme"]["page"]["nav_color"] = "E0E0E0"; // z.B. 025CCA , angaben ohne #
// Die Logo-Datei muss im Verzeichnis /home/admispconfig/ispconfig/web/design/default liegen!
$go_info["theme"]["page"]["logo"] = ""; // z.B. meinlogo.gif

/**********************************************
* Logging
**********************************************/

$go_info["server"]["log_level"] = 0; // 0 = Debug, 1 = Info, 2 = Warning, 3 = Failure
$go_info["server"]["log_file"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."ispconfig.log"; // Logdatei
if(is_file("/home/admispconfig/ispconfig/adminmail.txt")){
  $go_info["server"]["log_mail"] = trim(shell_exec("cat /home/admispconfig/ispconfig/adminmail.txt")); // Log Emailadresse
} else {
  $go_info["server"]["log_mail"] = "root@localhost";
}
$go_info["server"]["log_device"] = "FILE"; // FILE, SYSTEM, MAIL

/**********************************************
* Demo Mode Settings
**********************************************/

$go_info["demo"]["web_path"] = "";

hours later ... and it wouldn run

The Config is saved in the session in the DB(sessions)
Code:
a:8:{s:6:"server";a:30:{s:11:"dir_trenner";s:1:"/";s:11:"server_root";s:28:"/home/admispconfig/ispconfig";s:10:"server_url";s:19:"http://localhost:81";s:12:"include_root";s:32:"/home/admispconfig/ispconfig/lib";s:12:"classes_root";s:40:"/home/admispconfig/ispconfig/lib/classes";s:8:"temp_dir";s:33:"/home/admispconfig/ispconfig/temp";s:9:"files_dir";s:34:"/home/admispconfig/ispconfig/files";s:10:"backup_dir";s:35:"/home/admispconfig/ispconfig/backup";s:7:"version";s:5:"2.1.2";s:2:"os";s:5:"linux";s:3:"ort";s:5:"local";s:6:"banner";s:1:"0";s:7:"db_host";s:9:"localhost";s:7:"db_name";s:7:"ispconf";s:7:"db_user";s:4:"root";s:11:"db_password";s:0:"";s:7:"db_type";s:5:"mysql";s:11:"mail_server";s:0:"";s:9:"mail_user";s:0:"";s:13:"mail_password";s:0:"";s:11:"smtp_server";s:9:"localhost";s:4:"mode";s:0:"";s:4:"lang";s:2:"de";s:14:"postfix_config";i:1;s:12:"smtp_restart";i:1;s:14:"network_config";i:0;s:9:"log_level";i:0;s:8:"log_file";s:42:"/home/admispconfig/ispconfig/ispconfig.log";s:8:"log_mail";s:14:"root@localhost";s:10:"log_device";s:4:"FILE";}s:5:"tools";a:3:{s:3:"zip";s:42:"/home/admispconfig/ispconfig/tools/zip/zip";s:5:"unzip";s:46:"/home/admispconfig/ispconfig/tools/unzip/unzip";s:11:"imagemagick";a:1:{s:7:"mogrify";s:11:"mogrify.exe";}}s:5:"theme";a:8:{s:8:"sitename";s:9:"ISPConfig";s:4:"page";a:4:{s:9:"box_color";s:6:"E4E4E4";s:9:"nav_color";s:6:"E0E0E0";s:4:"logo";s:0:"";s:8:"bg_color";s:6:"FFFFFF";}s:5:"title";s:4:"blau";s:4:"path";s:14:"design/default";s:10:"style_path";s:19:"design/blau_100x100";s:5:"width";s:4:"100%";s:5:"modus";s:4:"full";s:7:"buttons";s:7:"default";}s:4:"demo";a:1:{s:8:"web_path";s:0:"";}s:4:"user";a:14:{s:6:"userid";s:1:"1";s:8:"username";s:5:"admin";s:11:"private_dir";s:0:"";s:9:"firstname";s:0:"";s:8:"lastname";s:0:"";s:6:"groups";s:0:"";s:6:"status";s:2:"ok";s:5:"perms";s:3:"rwa";s:8:"language";s:2:"en";s:5:"email";s:18:"admin@ispconfig.de";s:10:"email_home";s:0:"";s:11:"mail_server";s:0:"";s:9:"mail_user";s:0:"";s:13:"mail_password";s:0:"";}s:5:"group";a:7:{s:7:"groupid";s:0:"";s:5:"perms";s:0:"";s:6:"status";s:0:"";s:5:"title";s:0:"";s:7:"members";s:0:"";s:11:"description";s:0:"";s:9:"group_dir";s:0:"";}s:7:"session";a:8:{s:2:"id";s:32:"011ae6870c273e15602896fb684191f3";s:8:"approved";b:1;s:4:"site";s:9:"ISPConfig";s:6:"domain";s:12:"ispconfig.de";s:13:"screen_height";i:100;s:12:"screen_width";i:100;s:7:"timeout";i:1800;s:7:"modules";a:7:{i:0;a:4:{s:4:"name";s:3:"sys";s:5:"title";s:14:"Administration";s:4:"path";s:5:"admin";s:4:"type";s:1:"p";}i:1;a:4:{s:4:"name";s:3:"isp";s:5:"title";s:11:"ISP Manager";s:4:"path";s:11:"isp_manager";s:4:"type";s:1:"p";}i:2;a:4:{s:4:"name";s:3:"dns";s:5:"title";s:11:"DNS Manager";s:4:"path";s:7:"isp_dns";s:4:"type";s:1:"p";}i:3;a:4:{s:4:"name";s:8:"isp_file";s:5:"title";s:7:"Web-FTP";s:4:"path";s:8:"isp_file";s:4:"type";s:1:"p";}i:4;a:4:{s:4:"name";s:8:"isp_fakt";s:5:"title";s:11:"ISP Faktura";s:4:"path";s:8:"isp_fakt";s:4:"type";s:1:"p";}i:5;a:4:{s:4:"name";s:5:"tools";s:5:"title";s:5:"Tools";s:4:"path";s:5:"tools";s:4:"type";s:1:"p";}i:6;a:4:{s:4:"name";s:4:"help";s:5:"title";s:5:"Hilfe";s:4:"path";s:4:"help";s:4:"type";s:1:"p";}}}s:5:"modul";a:8:{s:4:"name";s:3:"isp";s:5:"title";s:11:"ISP Manager";s:4:"path";s:11:"isp_manager";s:10:"table_name";s:3:"isp";s:11:"include_dir";s:32:"/home/admispconfig/ispconfig/lib";s:12:"template_dir";N;s:10:"item_order";s:1:"1";s:4:"news";s:1:"1";}}
in lib/session.inc.php
PHP Code:
/**********************************************************/
/* Füllen des info arrays, wenn neue Session              */
/**********************************************************/

if($go_info["session"]["id"] == "")
{
require(
$go_info["server"]["include_root"] . $go_info["server"]["dir_trenner"] ."go_info.inc.php");
$go_api->session->save();

the $go_info array seems empty

Last edited by PsiTrax; 16th February 2006 at 15:04.
Reply With Quote
  #6  
Old 16th February 2006, 16:20
PsiTrax PsiTrax is offline
Junior Member
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

now ive tried out the latest svn version - the same ....

fresh debian 3.1 install with no errors
ispconf setup with no errors
why does it work??? ive finished with my knowlage
Reply With Quote
  #7  
Old 16th February 2006, 19:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

And you are shure vthat you dont edit anything manually in the ISPConfig php.ini? I installed ISPConfig a few days back on DEBIAN 3.1 and everything was working. Did you follow one of the perfect setup howtos?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 16th February 2006, 19:59
PsiTrax PsiTrax is offline
Junior Member
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes i did
im perplex
Reply With Quote
  #9  
Old 17th February 2006, 00:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Did you change something in /home/admispconfig/ispconfig/lib/session.inc.php?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 17th February 2006, 10:19
PsiTrax PsiTrax is offline
Junior Member
 
Join Date: Feb 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

no i didnt :\
a fresh clean install without any changes

the only thing that was not done as described in the howto,
i compiled a new 2.6er kernel and mysql 5, php 5.1.2 but ISPconf comes with its own apache so it could be a problem right?

and sorry for my bad english ^^
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 17:05
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 17:14
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 19:07
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 11:50
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 5th October 2005 00:53


All times are GMT +2. The time now is 04:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.