Skip to content

Commit 07bf510

Browse files
committed
Fixed php notices in libraries and improved opensuse docs.
1 parent 1dd9215 commit 07bf510

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

docs/INSTALL_OPENSUSE_11_1.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ Installation
88

99
It is recommended to use a clean (fresh) OpenSUSE installatiom where you selected to install just the minimal packages. A Gnome or KDE desktop is not needed and will just slow down the server. Then follow the steps below to setup your server with ISPConfig 3:
1010

11+
The following guide is for the 32Bit version of openSUSE, for 64Bit installations the package names may differ especially the names of downloaded rpm files.
12+
1113
Install some basic packes and the compilers that we need later
1214

1315
yast2 -i findutils readline libgcc glibc-devel findutils-locate gcc flex lynx compat-readline4 db-devel wget gcc-c++ make vim telnet cron iptables iputils man man-pages
1416

15-
1) Install Postfix, Courier, Saslauthd, MySQL, phpMyAdmin with the following command line (on one line!):
17+
1) Istall Postfix, Courier, Saslauthd, MySQL, phpMyAdmin with the following command line (on one line!):
1618

1719
yast2 -i postfix postfix-mysql mysql mysql-client courier-imap courier-authlib courier-authlib-mysql python cron cyrus-sasl cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-gssapi cyrus-sasl-otp cyrus-sasl-plain cyrus-sasl-saslauthd libmysqlclient-devel
1820

@@ -127,10 +129,14 @@ tar xvfz vlogger-1.3.tar.gz
127129
mv vlogger-1.3/vlogger /usr/sbin/
128130
rm -rf vlogger*
129131

132+
6.1 Install fail2ban
133+
134+
rpm -i http://download.opensuse.org/repositories/home:/leonardocf/openSUSE_11.0/i586/fail2ban-0.8.2-5.2.i586.rpm
135+
130136

131137
yast2 -i webalizer perl-DateManip
132138

133-
6.1) Cleanup
139+
6.2) Cleanup
134140

135141
rm -f /tmp/*.rpm
136142

interface/web/monitor/tools.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ function showFail2ban()
412412
if ($data == ''){
413413
$html .= '<p>'.
414414
'fail2ban is not installed at this server.<br />' .
415-
'See more (for debian) <a href="http://www.howtoforge.net/fail2ban_debian_etch" target="htf">here...</a>'.
415+
'See more (for debian) <a href="http://www.howtoforge.com/fail2ban_debian_etch" target="htf">here...</a>'.
416416
'</p>';
417417
}
418418
else {

server/lib/classes/modules.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function raiseTableHook($table_name,$action,$data) {
192192
global $app;
193193

194194
// Get the hooks for this table
195-
$hooks = $this->notification_hooks[$table_name];
195+
$hooks = (isset($this->notification_hooks[$table_name]))?$this->notification_hooks[$table_name]:'';
196196
if($this->debug) $app->log("Raised TableHook for table: '$table_name'",LOGLEVEL_DEBUG);
197197

198198
if(is_array($hooks)) {

server/lib/classes/plugins.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function raiseEvent($event_name,$data) {
107107
global $app;
108108

109109
// Get the subscriptions for this event
110-
$events = $this->subscribed_events[$event_name];
110+
$events = (isset($this->subscribed_events[$event_name]))?$this->subscribed_events[$event_name]:'';
111111
if($this->debug) $app->log("Raised event: '$event_name'",LOGLEVEL_DEBUG);
112112

113113
if(is_array($events)) {

0 commit comments

Comments
 (0)