Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #51  
Old 12th September 2010, 15:21
Andreas0815 Andreas0815 is offline
Junior Member
 
Join Date: Jun 2010
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
Default

When I start the update/installer I recieve an PHP Notice:

Code:
root@server:/tmp/ispconfig3_install/install# php -q update.php


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


>> Update

Operating System: Debian 6.0 (Squeeze/Sid) or compatible

hostname: Name or service not known
PHP Notice:  Undefined offset: 0 in /tmp/ispconfig3_install/install/update.php on line 88
This application will update ISPConfig 3 on your server.
Starting full database update.
Reconfigure Permissions in master database? (yes,no) [no]:
But the Update seems to work fine.

EDIT:
There are a lot of PHP Notices in /var/log/apache2/error.log:
Code:
[Sun Sep 12 13:33:39 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: login in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
[Sun Sep 12 13:47:29 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 189, referer: http://<server>:8080/
And Squirrelmail is not working:
Code:
[Sun Sep 12 14:42:33 2010] [error] [client 12.345.678.90] SoftException in Application.cpp:221: File "/usr/share/squirrelmail//index.php" is not in document root of Vhost "/var/www"

Last edited by Andreas0815; 12th September 2010 at 15:55.
Reply With Quote
Sponsored Links
  #52  
Old 13th September 2010, 13:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Andreas0815 View Post
When I start the update/installer I recieve an PHP Notice:

Code:
root@server:/tmp/ispconfig3_install/install# php -q update.php


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


>> Update

Operating System: Debian 6.0 (Squeeze/Sid) or compatible

hostname: Name or service not known
PHP Notice:  Undefined offset: 0 in /tmp/ispconfig3_install/install/update.php on line 88
This application will update ISPConfig 3 on your server.
Starting full database update.
Reconfigure Permissions in master database? (yes,no) [no]:
But the Update seems to work fine.

EDIT:
There are a lot of PHP Notices in /var/log/apache2/error.log:
Code:
[Sun Sep 12 13:33:39 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: login in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
[Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
[Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
[Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
[Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
[Sun Sep 12 13:47:29 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 189, referer: http://<server>:8080/
Please use
Code:
error_reporting  =  E_ALL & ~E_NOTICE
in your php.ini and restart Apache.
__________________
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
  #53  
Old 16th September 2010, 20:56
Andreas0815 Andreas0815 is offline
Junior Member
 
Join Date: Jun 2010
Posts: 27
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hi Falko,

of course I can change the error_reporting. But I think the notices should be fixed, even when this is not high priority.
Reply With Quote
  #54  
Old 16th September 2010, 22:09
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

I upgraded ISPConfig 3.0.2.2 to 3.0.3 beta on a Debian Lenny testserver.
The upgrade went fine! I hope i do have some time the next couple of days to do some testing, but i have a good first impression!
__________________
Hans

MrHostman | Managed Hosting

Last edited by Hans; 16th September 2010 at 22:18.
Reply With Quote
  #55  
Old 16th September 2010, 22:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
of course I can change the error_reporting. But I think the notices should be fixed, even when this is not high priority.

The PHP specification is in constant change, so something is fine with the current version produces a notice with the next release PHP release and the fix for it might cause the software to fail then under older PHP versions. So the only supported and tested error reporting level from ISPConfig is:

error_reporting = E_ALL & ~E_NOTICE
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #56  
Old 16th September 2010, 22:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
Originally Posted by Hans View Post
I upgraded ISPConfig 3.0.2.2 to 3.0.3 beta on a Debian Lenny testserver.
The upgrade went fine! I hope i do have some time the next couple of days to do some testing, but iǘe a good impression!
There is one critical problem in the current beta which might cause the apache to fail on restart, but that is easy to fix. Edit the vhost.conf.master template file in /usr/local/ispconfig/server/conf/ and comment out the two lines that start with:

PHPIniDir ......

as it will cause apache problems if you have more then 2 vhosts that use mod_php and contain this directive.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Hans (16th September 2010)
  #57  
Old 10th January 2011, 15:23
rusty rusty is offline
Member
 
Join Date: Dec 2007
Posts: 45
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
You dont have the domain module enabled, so you can not have added any domains. Otherwise it would show up in your menu. To enable the domain module, click on system > cp users > admin and enable the "doamin" module in the modules list. then relogin.
I've been told not to edit users from "system > cp users" so I'm looking for clarification on the above. I have had problems editing users with user level permissions. What are the parameters of what can be done in that area?
Reply With Quote
  #58  
Old 10th January 2011, 15:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
 
Default

Quote:
Originally Posted by rusty View Post
I've been told not to edit users from "system > cp users" so I'm looking for clarification on the above. I have had problems editing users with user level permissions. What are the parameters of what can be done in that area?
You can not change any user level permissions there. Changing permissions there will break the system. The only thing that can be changed there safely are the Modules and the password.
__________________
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
ISPconfig 3: can't send or receive messages zogthegreat Installation/Configuration 6 22nd May 2010 15:45
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 15:31
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 23:47
ISPConfig 3 - for multiple produktiv servers ready? tom Installation/Configuration 3 1st May 2008 14:17
ISPConfig 2.3.2-dev released till General 9 4th June 2007 11:46


All times are GMT +2. The time now is 23:55.


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