Jump to content
Froxlor Forum
  • 0

Revive Adserver Probleme mit Froxlor?


matsy

Question

Ich kriege den Revive Adserver 3.1.0 nicht auf einem mit Froxlor verwalteten Server installiert. Auf meinem lokalem Testserver funktioniert es einwandfrei. Ich vermute, dass es an dem aktivierten PHP-FPM liegt. Sind da Probleme bekannt?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Ich weiss nicht was "Revive Adserver" ist...vielleicht fragst du lieber bei denen?

 

Und PHP-FPM ist nur eine Art PHP in den Webserver einzubinden, damit sollte eigentlich kein Script Probleme haben.

 

Ansonsten w?ren neben "geht nicht" Aussagen einfach mal Fehlermeldungen und/oder Log-Ausz?ge sehr hilfreich.

Link to comment
Share on other sites

 Es gibt keine Fehlermeldung, wie ich sie gewohnt bin. Es sieht so aus, als w?rden die Php-Dateien nicht richtig geparsed werden. Deswegen habe ich PHP-FPM als Ursache vermutet. Aber auch deswegen weil bis auf das alle erforderlichen Voraussetzungen vorhanden sind.

--------------------------------------------------------------------------------

MESSAGE: Declaration of MDB2_Driver_Common::raiseError() should be compatible with & PEAR::raiseError($message = NULL, $code = NULL, $mode = NULL, $options = NULL, $userinfo = NULL, $error_class = NULL, $skipmsg = false)
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/pear/MDB2.php
LINE: 3378
DEBUG INFO: 

3373	$result->free(); 
3374	return $all; 
3375	} 
3376	
3377	// }}} 


3378 } 

3379	
3380	// }}} 
3381	// {{{ class MDB2_Result 
3382	
3383	/**





MESSAGE: Redefining already defined constructor for class XML_Parser
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/pear/XML/Parser.php
LINE: 206
DEBUG INFO: 

201	* @param string $mode how this parser object should work, "event" for 
202	* startelement/endelement-type events, "func" 
203	* to have it call functions named after elements 
204	* @param string $tgenc a valid target encoding 
205	*/ 


206 function __construct($srcenc = null, $mode = 'event', $tgtenc = null) 

207	{ 
208	$this->PEAR('XML_Parser_Error'); 
209	
210	$this->mode = $mode; 
211	$this->srcenc = $srcenc;





MESSAGE: Declaration of XML_Parser::raiseError() should be compatible with & PEAR::raiseError($message = NULL, $code = NULL, $mode = NULL, $options = NULL, $userinfo = NULL, $error_class = NULL, $skipmsg = false)
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/pear/XML/Parser.php
LINE: 649
DEBUG INFO: 

644	return NULL; 
645	} 
646	
647	
648	// }}}me 


649 } 

650	
651	/** 
652	* error class, replaces PEAR_Error 
653	* 
654	* An instance of this class will be returned





MESSAGE: Non-static method Date_TimeZone::isValidID() should not be called statically
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/pear/Date/TimeZone.php
LINE: 3645
DEBUG INFO: 

3640	Date_TimeZone::setDefault($_DATE_TIMEZONE_DEFAULT); 
3641	} elseif (getenv('PHP_TZ') && Date_TimeZone::isValidID(getenv('PHP_TZ'))) { 
3642	Date_TimeZone::setDefault(getenv('PHP_TZ')); 
3643	} elseif (getenv('TZ') && Date_TimeZone::isValidID(getenv('TZ'))) { 
3644	Date_TimeZone::setDefault(getenv('TZ')); 


3645 } elseif (Date_TimeZone::isValidID(date('T'))) { 

3646	Date_TimeZone::setDefault(date('T')); 
3647	} else { 
3648	Date_TimeZone::setDefault('UTC'); 
3649	} 
3650	//





MESSAGE: Non-static method Date_TimeZone::setDefault() should not be called statically
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/pear/Date/TimeZone.php
LINE: 3646
DEBUG INFO: 

3641	} elseif (getenv('PHP_TZ') && Date_TimeZone::isValidID(getenv('PHP_TZ'))) { 
3642	Date_TimeZone::setDefault(getenv('PHP_TZ')); 
3643	} elseif (getenv('TZ') && Date_TimeZone::isValidID(getenv('TZ'))) { 
3644	Date_TimeZone::setDefault(getenv('TZ')); 
3645	} elseif (Date_TimeZone::isValidID(date('T'))) { 


3646 Date_TimeZone::setDefault(date('T')); 

3647	} else { 
3648	Date_TimeZone::setDefault('UTC'); 
3649	} 
3650	// 
3651	// END





MESSAGE: Non-static method Date_TimeZone::isValidID() should not be called statically
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/pear/Date/TimeZone.php
LINE: 156
DEBUG INFO: 

151	* @param string $id the time zone id to use 
152	*/ 
153	function setDefault($id) 
154	{ 
155	global $_DATE_TIMEZONE_DEFAULT; 


156 if(Date_TimeZone::isValidID($id)) { 

157	$_DATE_TIMEZONE_DEFAULT = $id; 
158	} 
159	} 
160	
161	/**





MESSAGE: Declaration of MDB2_Schema::raiseError() should be compatible with & PEAR::raiseError($message = NULL, $code = NULL, $mode = NULL, $options = NULL, $userinfo = NULL, $error_class = NULL, $skipmsg = false)
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/pear/MDB2/Schema.php
LINE: 2771
DEBUG INFO: 

2766	
2767	return $dictionary; 
2768	} 
2769	
2770	// }}} 


2771 } 

2772	
2773	/** 
2774	* MDB2_Schema_Error implements a class for reporting portable database error 
2775	* messages. 
2776	*





MESSAGE: Declaration of OA_UpgradeAuditor::init() should be compatible with OA_BaseUpgradeAuditor::init($oDbh = '', $oLogger = '')
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/OA/Upgrade/UpgradeAuditor.php
LINE: 40
DEBUG INFO: 

35	require_once MAX_PATH.'/lib/OA/DB/Table.php'; 
36	require_once(MAX_PATH.'/lib/OA/Upgrade/DB_UpgradeAuditor.php'); 
37	require_once MAX_PATH.'/lib/OA/Upgrade/BaseUpgradeAuditor.php'; 
38	
39	class OA_UpgradeAuditor extends OA_BaseUpgradeAuditor 


40 { 

41	var $oLogger; 
42	var $oDbh; 
43	var $oDBAuditor; 
44	
45	var $logTable = 'upgrade_action';





MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Deprecated
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/wact/db/db.inc.php
LINE: 68
DEBUG INFO: 

63	if (!isset($GLOBALS['DatabaseConnectionObj'])) { 
64	$driver = 'mdb2'; // should we always use mdb2? 
65	require_once(MAX_PATH . '/lib/wact/db/drivers/'. $driver .'.inc.php'); 
66	$driverClass = $driver . 'Connection'; 
67	$GLOBALS['DatabaseConnectionObj'] =& 


68 new $driverClass(new DBC_ConnectionConfiguration($driver)); 

69	} 
70	return $GLOBALS['DatabaseConnectionObj']; 
71	} 
72	
73	/**





MESSAGE: Declaration of OA_Admin_Template::is_cached() should be compatible with Smarty::is_cached($tpl_file, $cache_id = NULL, $compile_id = NULL)
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/OA/Admin/Template.php
LINE: 28
DEBUG INFO: 

23	* 
24	* @package OpenXAdmin 
25	* @author Matteo Beccati 
26	*/ 
27	class OA_Admin_Template extends Smarty 


28 { 

29	/** 
30	* @var string 
31	*/ 
32	var $templateName; 
33





MESSAGE: Declaration of OA_Admin_Template::display() should be compatible with Smarty::display($resource_name, $cache_id = NULL, $compile_id = NULL)
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/OA/Admin/Template.php
LINE: 28
DEBUG INFO: 

23	* 
24	* @package OpenXAdmin 
25	* @author Matteo Beccati 
26	*/ 
27	class OA_Admin_Template extends Smarty 


28 { 

29	/** 
30	* @var string 
31	*/ 
32	var $templateName; 
33





MESSAGE: Non-static method Language_Loader::load() should not be called statically
TYPE: Strict
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/OX/Extension/authentication/authentication.php
LINE: 18
DEBUG INFO: 

13	require_once MAX_PATH . '/lib/max/Plugin/Translation.php'; 
14	require_once LIB_PATH . '/Plugin/Component.php'; 
15	require_once 'Date.php'; 
16	require_once MAX_PATH . '/lib/max/language/Loader.php'; 
17	


18 Language_Loader::load('settings'); 

19	
20	/** 
21	* Plugins_Authentication is an parent class for Authentication plugins 
22	* 
23	* @package OpenXPlugin





MESSAGE: Undefined index: action
TYPE: Notice
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/OX/Admin/UI/Install/InstallController.php
LINE: 81
DEBUG INFO: 

76	* Called before any action gets executed 
77	*/ 
78	protected function init() 
79	{ 
80	// No upgrade file? No installer! Unless the user is in the last step 


81 if (!file_exists(MAX_PATH . '/var/UPGRADE') && 'finish' != $_REQUEST['action']) { 

82	header("Location: index.php"); 
83	exit(); 
84	} 
85	@set_time_limit(0); 
86





MESSAGE: Cannot modify header information - headers already sent by (output started at /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/max/ErrorHandler.php:130)
TYPE: Warning
FILE: /var/customers/webs/USER/DOMAIN/revive-adserver-3.1.0/lib/OX/Admin/UI/Install/InstallController.php
LINE: 82
DEBUG INFO: 

77	*/ 
78	protected function init() 
79	{ 
80	// No upgrade file? No installer! Unless the user is in the last step 
81	if (!file_exists(MAX_PATH . '/var/UPGRADE') && 'finish' != $_REQUEST['action']) { 


82 header("Location: index.php"); 

83	exit(); 
84	} 
85	@set_time_limit(0); 
86	
87	// load translations for installer


Eine M?glichkeit per Domain selektiv auf mod_php umzustellen gibt es bei Froxlor denke ich nicht?

Link to comment
Share on other sites

Eine M?glichkeit per Domain selektiv auf mod_php umzustellen gibt es bei Froxlor denke ich nicht?

 

Nein. Und das was du zeigst ist eindeutig ein Problem von Revive Adserver. Das hat auch nichts mit mod_php oder php-fpm zu tun, sondern mit der PHP version die anscheinend f?r Revive Adserver zu neu ist (oder du stellst halt das error_reporting runter)

Link to comment
Share on other sites

Vergleiche halt mal das error_reporting lokal und auf dem Server...ist jedenfalls weder froxlor noch php-fpm problem...Schlichtweg unsauberes Programmieren (z.b. MESSAGE: Non-static method Date_TimeZone::setDefault() should not be called statically, uvm.)

 

Wenn du da keine E_STRICT Meldungen anzeigen l?sst von PHP sieht das auch gleich wieder besser aus - ignoriert die Problematik aber nur, und l?st sie nicht. Du hast die ganzen Fehler lokal 100% auch, wenn du es anzeigen lassen w?rdest.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...