Deutscher Support > vlibTemplate, vlibMimeMail, vlibDate

Wie installier ich vLIB...

<< < (2/2)

WebKnight:
Hallo!

meine projekte mit vlib laufen gut, doch jetzt habe ich eine Neuinstallation gemacht und ich bekomme:


--- Code: ---Strict Standards: Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/vlib/vlibTemplate.php on line 849

Strict Standards: Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/vlib/vlibTemplate.php on line 851

Deprecated: Function set_magic_quotes_runtime() is deprecated in /opt/lampp/htdocs/vlib/vlibTemplate.php on line 1398

Deprecated: Function set_magic_quotes_runtime() is deprecated in /opt/lampp/htdocs/vlib/vlibTemplate.php on line 1400
--- End code ---

liegt wahrscheinlich an der "php.ini", aber man k�nnte ja auch mal �ber die utnerst�tzung von STRICT nachdenken ... was immer das genau bedeutet ...

CU wk

ClausVB:
Ist gefixt.

vlibTemplate.php:

--- Code: ---function _intParse ()
{
  $mqrt = get_magic_quotes_runtime();
  ini_set(magic_quotes_runtime, 0);
  $this->_tmplfilep = ?>.$this->_getData($this->_tmplfilename).<?php return true;;
  ini_set(magic_quotes_runtime, $mqrt);
  return true;
}
--- End code ---

und in der "vlibIni.php" vor alle Funktionen: "static public" also zum Beispiel


--- Code: ---static public function vlibTemplate()
--- End code ---

Wird im n�chsten Release drin sein.

Gru�
Claus

ClausVB:
Hab noch einen gefunden, bin dran ...


--- Code: ---Strict Standards: Non-static method vlibTemplateError::raiseError() should not be called statically, assuming $this from
incompatible context in /vlibTemplate.php on line 170
--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version