Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th September 2010, 17:22
polonia2 polonia2 is offline
Junior Member
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Cool MyDNSConfig install error:install.lib.php on line 135 (CentOS 5.5 x64 with ISPConfig)

Hello all,

I follow The perfect server tutorial for CentOS 5.5 x64 but i need to change some things because i need php 5.2.10.

I try to install the lastest version of MyDNSConfig (since the ISPConfig said that the service was offline) so i download and try php -q install.php


--------------------------------------------------------------------------------
__ __ _____ _ _ _____ _____ __ _
| \/ | | __ \| \ | |/ ____|/ ____| / _(_)
| \ / |_ _| | | | \| | (___ | | ___ _ __ | |_ _ __ _
| |\/| | | | | | | | . ` |\___ \| | / _ \| '_ \| _| |/ _` |
| | | | |_| | |__| | |\ |____) | |___| (_) | | | | | | | (_| |
|_| |_|\__, |_____/|_| \_|_____/ \_____\___/|_| |_|_| |_|\__, |
__/ | __/ |
|___/ |___/
--------------------------------------------------------------------------------


>> Initial configuration

PHP Notice: Undefined variable: distver in /root/mydnsconfig/install/lib/install.lib.php on line 135
PHP Notice: Undefined variable: distid in /root/mydnsconfig/install/lib/install.lib.php on line 135
PHP Notice: Undefined variable: distbaseid in /root/mydnsconfig/install/lib/install.lib.php on line 135
Linux Distribution or Version not recognized.

Did anyone face this error? How do i correct the installation?

Cheers,

Pedro
Reply With Quote
Sponsored Links
  #2  
Old 27th September 2010, 17:32
polonia2 polonia2 is offline
Junior Member
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Cool MyDNSConfig install error solved...

Hi all,

The install runs as I change install/lib/install.lib.php on line 122+ from:

if(stristr($content,'CentOS release 5.2 (Final)')) {
$distname = 'CentOS';
$distver = '5.2';
$distid = 'centos52';
$distbaseid = 'fedora';
swriteln("Operating System: CentOS 5.2 or compatible\n"$

to:

if(stristr($content,'CentOS release 5.5 (Final)')) {
$distname = 'CentOS';
$distver = '5.5';
$distid = 'centos52';
$distbaseid = 'fedora';
swriteln("Operating System: CentOS 5.5 or compatible\n"$
Reply With Quote
  #3  
Old 27th September 2010, 19:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,268 Times in 4,130 Posts
 
Default

Installing mydnsconfig on a server that runs already ispconfig will break the setup and does not make any sense, as ispconfig contains a newer version of mydnsconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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 when install ISPConfig 2 with components built from source X-admin Installation/Configuration 5 30th April 2010 13:22
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
Bugs in the code of the ISPConfig software vaio1 Installation/Configuration 15 20th May 2008 10:32
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29


All times are GMT +2. The time now is 01:26.


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