Current time: 05-02-2024, 10:43 PM Hello There, Guest! (LoginRegister)


Post Reply 
Fehler bei Centos - perl ispcp-setup
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #11
RE: Fehler bei Centos - perl ispcp-setup
Scheint, als ob da noch PHP 5.1 (oder zumindest < 5.2) läuft.

siehe http://ch2.php.net/manual/de/class.datetime.php


das könnte sonst in diese dateTime.class.php:
Code:
<?php
if (!class_exists('DateTime')) {
class DateTime {
    public $date;
    
    public function __construct($date) {
        $this->date = strtotime($date);
    }
    
    public function setTimeZone($timezone) {
        return;
    }
    
    private function __getDate() {
        return date(DATE_ATOM, $this->date);    
    }
    
    public function modify($multiplier) {
        $this->date = strtotime($this->__getDate() . ' ' . $multiplier);
    }
    
    public function format($format) {
        return date($format, $this->date);
    }
}
}
?>
02-01-2010 03:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
scysys Offline
Junior Member
*

Posts: 24
Joined: Jan 2010
Reputation: 0
Post: #12
RE: Fehler bei Centos - perl ispcp-setup
Theoretisch aber auch nur rein Theoretisch Smile hast du bei korrekter Installation unter CentOS nur 3 Punkte nachträglich zu bearbeiten.
02-02-2010 10:37 AM
Find all posts by this user Quote this message in a reply
futurelabs Offline
Junior Member
*

Posts: 10
Joined: Jun 2009
Reputation: 0
Post: #13
RE: Fehler bei Centos - perl ispcp-setup
(02-02-2010 10:37 AM)scysys Wrote:  Theoretisch aber auch nur rein Theoretisch Smile hast du bei korrekter Installation unter CentOS nur 3 Punkte nachträglich zu bearbeiten.

Das halte ich schlicht und einfach für ein Gerücht Wink
oder sagen wirs mal so schön wärs
02-02-2010 09:31 PM
Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #14
RE: Fehler bei Centos - perl ispcp-setup
Aktueller Stand der Dinge...
Neu installiert nach Anleitung in der Doku.

Soweit läuft es auch bis auf:
Code:
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead' in /var/www/ispcp/gui/admin/multilanguage.php:204 Stack trace: #0 /var/www/ispcp/gui/admin/multilanguage.php(204): DateTime->__construct('200901230348') #1 /var/www/ispcp/gui/admin/multilanguage.php(260): show_lang(Object(pTemplate), Object(Database)) #2 {main} thrown in /var/www/ispcp/gui/admin/multilanguage.php on line 204

Kommt aber erst wenn ich eine Sprache hochgeladen hab.
Weiterhin ein paar Warnungen nach dem Login, die ich durch ersetzen von E_ALL durch E_ERROR in der ispcp-libs.php deaktiviert hab.

php -v ergibt:
Code:
PHP 5.3.1 (cli) (built: Nov 20 2009 18:18:28)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies

liegt es evtl. an der PHP Version?
(This post was last modified: 02-03-2010 01:43 AM by FISA4.)
02-03-2010 01:42 AM
Find all posts by this user Quote this message in a reply
FISA4 Offline
Member
***

Posts: 668
Joined: Feb 2008
Reputation: 15
Post: #15
RE: Fehler bei Centos - perl ispcp-setup
(02-03-2010 01:42 AM)FISA4 Wrote:  liegt es evtl. an der PHP Version?

Antwort: JA.
Ich hab im remi.repo enabled auf 0 gesetzt, danach ein neues repo im yum.repo Ordner eingefügt.
Beschreibung siehe hier:
http://www.jasonlitka.com/yum-repository/

Danach
Code:
yum erase php*
und dann nochmal
Code:
cd /root/ispcp*
yum install `cat ./docs/CentOS/centos-packages`

Und fertig ist es.
02-03-2010 11:41 AM
Find all posts by this user Quote this message in a reply
eternalWalker Offline
Newbie
*

Posts: 7
Joined: Oct 2010
Reputation: 0
Post: #16
RE: Fehler bei Centos - perl ispcp-setup
Anstatt
perl -MCPAN -e 'install Term::ReadKey'
nimm:
perl -MCPAN -e "install ReadKey"

[...]
01-06-2011 04:37 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)