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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd April 2009, 19:44
webschiff webschiff is offline
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default Install ispconfig work with lenny 5.0.1

Some have guaranteed the problem that no longer ispconfig debian lenny installed. It appears then following message:

Notice: Undefined variable: distver in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135
Notice: Undefined variable: distid in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135
Notice: Undefined variable: distbaseid in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135
Linux Distribution or Version not recognized.didon:/tmp/ispconfig3_install/install#

Here is the solution:
open:
/tmp/ispconfig3_install/install/lib/install.lib.php
replace in line 73:

if(trim(file_get_contents('/etc/debian_version')) == '5.0' || trim(file_get_contents('/etc/debian_version')) == 'lenny/sid') {

with:
if(substr(trim(file_get_contents('/etc/debian_version')),0,3) == '5.0' || trim(file_get_contents('/etc/debian_version')) == 'lenny/sid') {

------------------------------------------------------------
for developer:
To "Notice: Undefined variable:" to prevent the creators of ISPConfig3 still in the line 62 down under $distname = ";
add:
$distver = '';
$distid = '';
$distbaseid = '';
------------------------------------------------------------
Reply With Quote
The Following User Says Thank You to webschiff For This Useful Post:
radim_h (24th April 2009)
Sponsored Links
  #2  
Old 24th April 2009, 11:00
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 426
Thanks: 34
Thanked 26 Times in 21 Posts
Send a message via ICQ to radim_h
Default

thanks man, i was wondering, what wrong
Reply With Quote
  #3  
Old 24th April 2009, 12:04
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

There is nothing wrong. Just debian decided to add minor numbers to their version file what they had not done before for many years. The above has been fixed in SVN already for some days, we will release a update next week. Meanwhile the easiest solution is to just edit the file /etc/debian_version and change the number from 5.0.1 to 5.0
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 24th April 2009, 15:01
webschiff webschiff is offline
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Quote:
Originally Posted by till View Post
There is nothing wrong. Just debian decided to add minor numbers to their version file what they had not done before for many years. The above has been fixed in SVN already for some days, we will release a update next week. Meanwhile the easiest solution is to just edit the file /etc/debian_version and change the number from 5.0.1 to 5.0
I'm sorry for my english:
I wanted to me a clean solution, because one does not know how many numbers still follow. Because it is likely that the full version numbers (perhaps 5.0.2 5.0.1, etc. ) with ISP Config 3.

That is why i "substr()" simply from the 3. string number cut off, it would also not much to change in future.

Incidentally, I think that ispconfig 3 really super!!!
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
Frustrated with ISPConfig Install V2.2.29 bcaza Installation/Configuration 16 10th March 2009 11:39
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 23:47
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 11:46
ISPConfig install continues to fail jervolpe Installation/Configuration 3 6th July 2007 13:17
ISPConfig install failure grimmers Installation/Configuration 20 26th July 2006 14:44


All times are GMT +2. The time now is 18:03.


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