Jump to content

Major Upgrade Problem


srqwebguy

Recommended Posts

I am attempting to upgrade from OpenX 2.8.10 to Revive 3.0.2. We have copied and edited the config file into the new adserver directory (ours is called control-new), and are using a copy of the original database. When we try to run the install program we get an enourmous amount of debug info, which I will attempt to paste below. I am hoping it is a simple setting issue, as the list of things that have gone wrong is a bit overwhelming. The message below is all we get - there is no prompt to proceed or cancel. Just this list. Appreciate any ideas or input on this!

 

______________________

 MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/HTML/QuickForm.php
LINE: 597
DEBUG INFO:

592    return $error;
593    }
594    $className = $GLOBALS['HTML_QUICKFORM_ELEMENT_TYPES'][$type][1];
595    $includeFile = $GLOBALS['HTML_QUICKFORM_ELEMENT_TYPES'][$type][0];
596    include_once($includeFile);
597 $elementObject =& new $className();

598    for ($i = 0; $i < 5; $i++) {
599    if (!isset($args[$i])) {
600    $args[$i] = null;
601    }
602    }

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/HTML/QuickForm.php
LINE: 1701
DEBUG INFO:

1696    */
1697    function &defaultRenderer()
1698    {
1699    if (!isset($GLOBALS['_HTML_QuickForm_default_renderer'])) {
1700    include_once('HTML/QuickForm/Renderer/Default.php');
1701 $GLOBALS['_HTML_QuickForm_default_renderer'] =& new HTML_QuickForm_Renderer_Default();

1702    }
1703    return $GLOBALS['_HTML_QuickForm_default_renderer'];
1704    } // end func defaultRenderer
1705    
1706    // }}}

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/HTML/QuickForm.php
LINE: 1858
DEBUG INFO:

1853    * @return array of form contents
1854    */
1855    function toArray($collectHidden = false)
1856    {
1857    include_once 'HTML/QuickForm/Renderer/Array.php';
1858 $renderer =& new HTML_QuickForm_Renderer_Array($collectHidden);

1859    $this->accept($renderer);
1860    return $renderer->toArray();
1861    } // end func toArray
1862    
1863    // }}}

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/Config.php
LINE: 79
DEBUG INFO:

74    *
75    * @access public
76    */
77    function Config()
78    {
79 $this->container =& new Config_Container('section', 'root');

80    } // end constructor
81    
82    /**
83    * Returns true if container is registered
84    *

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/Config.php
LINE: 165
DEBUG INFO:

160    {
161    if (is_object($rootContainer) && strtolower(get_class($rootContainer)) === 'config_container') {
162    if ($rootContainer->getName() === 'root' && $rootContainer->getType() === 'section') {
163    $this->container =& $rootContainer;
164    } else {
165 $this->container =& new Config_Container('section', 'root');

166    $this->container->addItem($rootContainer);
167    }
168    return true;
169    } else {
170    return PEAR::raiseError("Config::setRoot only accepts object of Config_Container type.", null, PEAR_ERROR_RETURN);

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/Config/Container.php
LINE: 107
DEBUG INFO:

102    * @param object $target needed if you choose 'before' or 'after' for where
103    * @return object reference to new item or Pear_Error
104    */
105    function &createItem($type, $name, $content, $attributes = null, $where = 'bottom', $target = null)
106    {
107 $item =& new Config_Container($type, $name, $content, $attributes);

108    $result =& $this->addItem($item, $where, $target);
109    return $result;
110    } // end func &createItem
111    
112    /**

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2.php
LINE: 390
DEBUG INFO:

385    $err = MDB2::loadClass($class_name, $debug);
386    if (PEAR::isError($err)) {
387    return $err;
388    }
389    
390 $db =& new $class_name();

391    $db->setDSN($dsninfo);
392    $err = MDB2::setOptions($db, $options);
393    if (PEAR::isError($err)) {
394    return $err;
395    }

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2.php
LINE: 1880
DEBUG INFO:

1875    if (!class_exists($class_name)) {
1876    $err =& $this->raiseError(MDB2_ERROR_LOADMODULE, null, null,
1877    "unable to load module '$module' into property '$property'", __FUNCTION__);
1878    return $err;
1879    }
1880 $this->{$property} =& new $class_name($this->db_index);

1881    $this->modules[$module] =& $this->{$property};
1882    if ($version) {
1883    // this will be used in the connect method to determine if the module
1884    // needs to be loaded with a different version if the server
1885    // version changed in between connects

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2.php
LINE: 2634
DEBUG INFO:

2629    if (!class_exists($class_name)) {
2630    $err =& $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
2631    'result class does not exist '.$class_name, __FUNCTION__);
2632    return $err;
2633    }
2634 $result =& new $class_name($this, $result, $limit, $offset);

2635    if (!MDB2::isResultCommon($result)) {
2636    $err =& $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
2637    'result class is not extended from MDB2_Result_Common', __FUNCTION__);
2638    return $err;
2639    }

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2.php
LINE: 2657
DEBUG INFO:

2652    if (!class_exists($result_wrap_class)) {
2653    $err =& $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
2654    'result wrap class does not exist '.$result_wrap_class, __FUNCTION__);
2655    return $err;
2656    }
2657 $result =& new $result_wrap_class($result, $this->fetchmode);

2658    }
2659    return $result;
2660    }
2661    
2662    // }}}

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2.php
LINE: 3002
DEBUG INFO:

2997    $position = $p_position;
2998    }
2999    }
3000    $class_name = 'MDB2_Statement_'.$this->phptype;
3001    $statement = null;
3002 $obj =& new $class_name($this, $statement, $positions, $query, $types, $result_types, $is_manip, $limit, $offset);

3003    $this->debug($query, __FUNCTION__, array('is_manip' => $is_manip, 'when' => 'post', 'result' => $obj));
3004    return $obj;
3005    }
3006    
3007    // }}}

MESSAGE: Declaration of MDB2_Driver_Common::raiseError() should be compatible with that of PEAR::raiseError()
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/XML/Parser.php
LINE: 591
DEBUG INFO:

586    * @return XML_Parser_Error
587    **/
588    function raiseError($msg = null, $ecode = 0)
589    {
590    $msg = !is_null($msg) ? $msg : $this->parser;
591 $err = &new XML_Parser_Error($msg, $ecode);

592    return parent::raiseError($err);
593    }
594    
595    // }}}
596    // {{{ funcStartHandler()

MESSAGE: Declaration of XML_Parser::raiseError() should be compatible with that of PEAR::raiseError()
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CST/-6.0/no DST' instead
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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::isValidID() should not be called statically
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/Chicago' for 'CST/-6.0/no DST' instead
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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::setDefault() should not be called statically
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 227
DEBUG INFO:

222    * @access public
223    * @see MDB2::parseDSN
224    */
225    function &factory(&$db, $options = array())
226    {
227 $obj =& new MDB2_Schema();

228    $err = $obj->connect($db, $options);
229    if (PEAR::isError($err)) {
230    return $err;
231    }
232    return $obj;

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 361
DEBUG INFO:

356    $fail_on_invalid_names = true, $structure = false)
357    {
358    $dtd_file = $this->options['dtd_file'];
359    if ($dtd_file) {
360    require_once 'XML/DTD/XmlValidator.php';
361 $dtd =& new XML_DTD_XmlValidator;

362    if (!$dtd->isValid($dtd_file, $input_file)) {
363    return $this->raiseError(MDB2_SCHEMA_ERROR_PARSE, null, null, $dtd->getMessage());
364    }
365    }
366

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 373
DEBUG INFO:

368    $result = MDB2::loadClass($class_name, $this->db->getOption('debug'));
369    if (PEAR::isError($result)) {
370    return $result;
371    }
372    
373 $parser =& new $class_name($variables, $fail_on_invalid_names, $structure, $this->options['valid_types'], $this->options['force_defaults']);

374    $result = $parser->setInputFile($input_file);
375    if (PEAR::isError($result)) {
376    return $result;
377    }
378

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 411
DEBUG INFO:

406    $result = MDB2::loadClass($class_name, $this->db->getOption('debug'));
407    if (PEAR::isError($result)) {
408    return $result;
409    }
410    $variables['header_only'] = true;
411 $parser =& new $class_name($variables);

412    $parser->validate = false;
413    $result = $parser->setInputFile($input_file);
414    if (PEAR::isError($result))
415    {
416    return $result;

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 450
DEBUG INFO:

445    $fail_on_invalid_names = true, $structure = false, $database_definition)
446    {
447    $dtd_file = $this->options['dtd_file'];
448    if ($dtd_file) {
449    require_once 'XML/DTD/XmlValidator.php';
450 $dtd =& new XML_DTD_XmlValidator;

451    if (!$dtd->isValid($dtd_file, $input_file)) {
452    return $this->raiseError(MDB2_SCHEMA_ERROR_PARSE, null, null, $dtd->getMessage());
453    }
454    }
455

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 462
DEBUG INFO:

457    $result = MDB2::loadClass($class_name, $this->db->getOption('debug'));
458    if (PEAR::isError($result)) {
459    return $result;
460    }
461    
462 $parser =& new $class_name($variables, $fail_on_invalid_names, $structure, $this->options['valid_types'], $this->options['force_defaults']);

463    // structure has already been parsed
464    $parser->database_definition = $database_definition;
465    // don't validate database structure
466    $parser->validate = false;
467    $result = $parser->setInputFile($input_file);

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 2240
DEBUG INFO:

2235    }
2236    $database_definition['tables'][$table_name]['initialization'] = $initialization;
2237    }
2238    }
2239    }
2240 $writer =& new $class_name($this->options['valid_types']);

2241    return $writer->dumpDatabase($database_definition, $arguments, $dump);
2242    }
2243    
2244    // }}}
2245    // {{{ dumpDatabaseContent()

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 2287
DEBUG INFO:

2282    $prefix = '';
2283    if (isset($arguments['prefix']))
2284    {
2285    $prefix = $arguments['prefix'];
2286    }
2287 $writer =& new $class_name($this->options['valid_types']);

2288    $writer->dumpDatabaseHeader($database_definition, $arguments);
2289    // get initialization data
2290    if (isset($database_definition['tables']) && is_array($database_definition['tables']))
2291    {
2292    foreach ($database_definition['tables'] as $table_name => $table) {

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 2640
DEBUG INFO:

2635    $class_name = 'MDB2_Schema_Changeset_Writer';
2636    $result = MDB2::loadClass($class_name, $this->db->getOption('debug'));
2637    if (PEAR::isError($result)) {
2638    return $result;
2639    }
2640 $writer = & new $class_name($this->options['valid_types']);

2641    if (PEAR::isError($writer)) {
2642    return $writer;
2643    }
2644    if (isset($options['split']) && $options['split'])
2645    {

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 2679
DEBUG INFO:

2674    $fail_on_invalid_names = true, $structure = false)
2675    {
2676    $dtd_file = $this->options['dtd_file'];
2677    if ($dtd_file) {
2678    require_once 'XML/DTD/XmlValidator.php';
2679 $dtd =& new XML_DTD_XmlValidator;

2680    if (!$dtd->isValid($dtd_file, $input_file)) {
2681    return $this->raiseError(MDB2_SCHEMA_ERROR_PARSE, null, null, $dtd->getMessage());
2682    }
2683    }
2684    require_once("MDB2/Schema/ParserChangeset.php");

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 2691
DEBUG INFO:

2686    $result = MDB2::loadClass($class_name, $this->db->getOption('debug'));
2687    if (PEAR::isError($result)) {
2688    return $result;
2689    }
2690    
2691 $parser =& new $class_name($variables, $fail_on_invalid_names, $structure, $this->options['valid_types'], $this->options['force_defaults']);

2692    
2693    $class_name = 'MDB2_Schema_Validate';
2694    $parser->val =& new $class_name($fail_on_invalid_names, $this->options['valid_types'], $this->options['force_defaults']);
2695    
2696    $result = $parser->setInputFile($input_file);

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 2694
DEBUG INFO:

2689    }
2690    
2691    $parser =& new $class_name($variables, $fail_on_invalid_names, $structure, $this->options['valid_types'], $this->options['force_defaults']);
2692    
2693    $class_name = 'MDB2_Schema_Validate';
2694 $parser->val =& new $class_name($fail_on_invalid_names, $this->options['valid_types'], $this->options['force_defaults']);

2695    
2696    $result = $parser->setInputFile($input_file);
2697    if (PEAR::isError($result)) {
2698    return $result;
2699    }

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 2735
DEBUG INFO:

2730    $fail_on_invalid_names = true, $structure = false)
2731    {
2732    $dtd_file = $this->options['dtd_file'];
2733    if ($dtd_file) {
2734    require_once 'XML/DTD/XmlValidator.php';
2735 $dtd =& new XML_DTD_XmlValidator;

2736    if (!$dtd->isValid($dtd_file, $input_file)) {
2737    return $this->raiseError(MDB2_SCHEMA_ERROR_PARSE, null, null, $dtd->getMessage());
2738    }
2739    }
2740    require_once("MDB2/Schema/ParserDictionary.php");

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 2747
DEBUG INFO:

2742    $result = MDB2::loadClass($class_name, $this->db->getOption('debug'));
2743    if (PEAR::isError($result)) {
2744    return $result;
2745    }
2746    
2747 $parser =& new $class_name($variables, $fail_on_invalid_names, $structure, $this->options['valid_types'], $this->options['force_defaults']);

2748    
2749    $class_name = 'MDB2_Schema_Validate';
2750    $parser->val =& new $class_name($fail_on_invalid_names, $this->options['valid_types'], $this->options['force_defaults']);
2751    
2752    $result = $parser->setInputFile($input_file);

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/MDB2/Schema.php
LINE: 2750
DEBUG INFO:

2745    }
2746    
2747    $parser =& new $class_name($variables, $fail_on_invalid_names, $structure, $this->options['valid_types'], $this->options['force_defaults']);
2748    
2749    $class_name = 'MDB2_Schema_Validate';
2750 $parser->val =& new $class_name($fail_on_invalid_names, $this->options['valid_types'], $this->options['force_defaults']);

2751    
2752    $result = $parser->setInputFile($input_file);
2753    if (PEAR::isError($result)) {
2754    return $result;
2755    }

MESSAGE: Declaration of MDB2_Schema::raiseError() should be compatible with that of PEAR::raiseError()
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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_UpgradePackageParser::raiseError() should be compatible with that of XML_Parser::raiseError()
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/Upgrade/UpgradePackageParser.php
LINE: 200
DEBUG INFO:

195    $this->aPackage['postscript'] = $data;
196    break;
197    }
198    }
199    
200 }

201    
202    ?>
203    
204    
205

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/wact/db/error.inc.php
LINE: 31
DEBUG INFO:

26    if (function_exists('phpAds_sqlDie')) {
27    global $phpAds_last_query;
28    $phpAds_last_query = $info['sql'];
29    phpAds_sqlDie();
30    } else {
31 $oError = &new ErrorInfo();

32    $oError->group = $group;
33    $oError->id = $id;
34    $oError->info = $info;
35    
36    $errorstr = sprintf('[%s: message="%s" group=%d id=%s]',

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/DB.php
LINE: 470
DEBUG INFO:

465    . " file for '$dsn'",
466    'DB_Error', true);
467    return $tmp;
468    }
469    
470 @$obj =& new $classname;

471    
472    foreach ($options as $option => $value) {
473    $test = $obj->setOption($option, $value);
474    if (DB::isError($test)) {
475    return $test;

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/DB.php
LINE: 547
DEBUG INFO:

542    . " file for '$dsn'",
543    'DB_Error', true);
544    return $tmp;
545    }
546    
547 @$obj =& new $classname;

548    
549    foreach ($options as $option => $value) {
550    $test = $obj->setOption($option, $value);
551    if (DB::isError($test)) {
552    return $test;

MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/DB.php
LINE: 1124
DEBUG INFO:

1119    // The default mode is specified in the
1120    // DB_common::fetchmode_object_class property
1121    if ($object_class == 'stdClass') {
1122    $arr = (object) $arr;
1123    } else {
1124 $arr = &new $object_class($arr);

1125    }
1126    }
1127    return $arr;
1128    }
1129    if ($res == null && $this->autofree) {

MESSAGE: Declaration of OA_Admin_Template::is_cached() should be compatible with that of Smarty::is_cached()
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/Admin/Template.php
LINE: 27
DEBUG INFO:

22    * A UI templating class.
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;

MESSAGE: Declaration of OA_Admin_Template::display() should be compatible with that of Smarty::display()
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/Admin/Template.php
LINE: 27
DEBUG INFO:

22    * A UI templating class.
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;

MESSAGE: Non-static method Language_Loader::load() should not be called statically
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/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: Non-static method Language_Loader::load() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/Install/InstallController.php
LINE: 88
DEBUG INFO:

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

89    Language_Loader::load('default');
90    Language_Loader::load('settings');
91    Language_Loader::load('settings-help');
92    
93    // Setup oUpgrader

MESSAGE: Non-static method Language_Loader::load() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/Install/InstallController.php
LINE: 89
DEBUG INFO:

84    }
85    @set_time_limit(0);
86    
87    // load translations for installer
88    Language_Loader::load('installer');
89 Language_Loader::load('default');

90    Language_Loader::load('settings');
91    Language_Loader::load('settings-help');
92    
93    // Setup oUpgrader
94    $this->initUpgrader();

MESSAGE: Non-static method Language_Loader::load() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/Install/InstallController.php
LINE: 90
DEBUG INFO:

85    @set_time_limit(0);
86    
87    // load translations for installer
88    Language_Loader::load('installer');
89    Language_Loader::load('default');
90 Language_Loader::load('settings');

91    Language_Loader::load('settings-help');
92    
93    // Setup oUpgrader
94    $this->initUpgrader();
95    $this->oTranslation = new OX_Translation();

MESSAGE: Non-static method Language_Loader::load() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/Install/InstallController.php
LINE: 91
DEBUG INFO:

86    
87    // load translations for installer
88    Language_Loader::load('installer');
89    Language_Loader::load('default');
90    Language_Loader::load('settings');
91 Language_Loader::load('settings-help');

92    
93    // Setup oUpgrader
94    $this->initUpgrader();
95    $this->oTranslation = new OX_Translation();
96

MESSAGE: Undefined variable: phpAds_dbmsname
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/max/language/en/settings-help.lang.php
LINE: 19
DEBUG INFO:

14    $GLOBALS['phpAds_hlp_dbhost'] = "
15    Specify the hostname of the ".phpAds_dbmsname." database server to which you are trying to connect.
16    ";
17    
18    $GLOBALS['phpAds_hlp_dbport'] = "
19 Specify the number of the port of the ".$phpAds_dbmsname." database server to which you are trying to

20    connect. The default port number for a ".$phpAds_dbmsname." database is " . ($phpAds_dbmsname == 'MySQL' ? '3306' : '5432').".
21    ";
22    
23    $GLOBALS['phpAds_hlp_dbuser'] = "
24    Specify the username which ".MAX_PRODUCT_NAME." must use to gain access to the ".phpAds_dbmsname." database server.

MESSAGE: Undefined variable: phpAds_dbmsname
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/max/language/en/settings-help.lang.php
LINE: 20
DEBUG INFO:

15    Specify the hostname of the ".phpAds_dbmsname." database server to which you are trying to connect.
16    ";
17    
18    $GLOBALS['phpAds_hlp_dbport'] = "
19    Specify the number of the port of the ".$phpAds_dbmsname." database server to which you are trying to
20 connect. The default port number for a ".$phpAds_dbmsname." database is " . ($phpAds_dbmsname == 'MySQL' ? '3306' : '5432').".

21    ";
22    
23    $GLOBALS['phpAds_hlp_dbuser'] = "
24    Specify the username which ".MAX_PRODUCT_NAME." must use to gain access to the ".phpAds_dbmsname." database server.
25    ";

MESSAGE: Undefined variable: phpAds_dbmsname
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/max/language/en/settings-help.lang.php
LINE: 20
DEBUG INFO:

15    Specify the hostname of the ".phpAds_dbmsname." database server to which you are trying to connect.
16    ";
17    
18    $GLOBALS['phpAds_hlp_dbport'] = "
19    Specify the number of the port of the ".$phpAds_dbmsname." database server to which you are trying to
20 connect. The default port number for a ".$phpAds_dbmsname." database is " . ($phpAds_dbmsname == 'MySQL' ? '3306' : '5432').".

21    ";
22    
23    $GLOBALS['phpAds_hlp_dbuser'] = "
24    Specify the username which ".MAX_PRODUCT_NAME." must use to gain access to the ".phpAds_dbmsname." database server.
25    ";

MESSAGE: Non-static method OA_Admin_Settings::isConfigWritable() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/Upgrade/Configuration.php
LINE: 29
DEBUG INFO:

24    {
25    $this->oSettings = new OA_Admin_Settings();
26    $this->aConfig =& $this->oSettings->getConfigArray();
27    // set default configPath
28    $this->configPath = MAX_PATH.'/var/';
29 if (!OA_Admin_Settings::isConfigWritable())

30    {
31    return false;
32    }
33    }
34

MESSAGE: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/PEAR.php
LINE: 867
DEBUG INFO:

862    }
863    $this->message = $message;
864    $this->code = $code;
865    $this->mode = $mode;
866    $this->userinfo = $userinfo;
867 if (!PEAR::getStaticProperty('PEAR_Error', 'skiptrace')) {

868    $this->backtrace = debug_backtrace();
869    if (isset($this->backtrace[0]) && isset($this->backtrace[0]['object'])) {
870    unset($this->backtrace[0]['object']);
871    }
872    }

MESSAGE: Only variable references should be returned by reference
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/DB/Table.php
LINE: 85
DEBUG INFO:

80    * @return mixed Reference to an MDB2 connection resource, or PEAR_Error
81    * on failure to connect.
82    */
83    function &_getDbConnection()
84    {
85 return OA_DB::singleton();

86    }
87    
88    /**
89    * A method to initialise the class by parsing a database XML schema file, so that
90    * the class will be ready to create/drop tables for the supplied schema.

MESSAGE: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/HTML/QuickForm.php:597)
TYPE: Warning
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/HTML/QuickForm.php:597)
TYPE: Warning
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Undefined index: installStatus
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 41
DEBUG INFO:

36    * @return mixed value of the property
37    */
38    public function get($propertyName)
39    {
40    $this->initStorage();
41 $value = $_SESSION[$propertyName];

42    
43    return $value;
44    }
45    
46    /**

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Undefined index: OX_UI_Install_Wizard-install
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 41
DEBUG INFO:

36    * @return mixed value of the property
37    */
38    public function get($propertyName)
39    {
40    $this->initStorage();
41 $value = $_SESSION[$propertyName];

42    
43    return $value;
44    }
45    
46    /**

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Non-static method OA_Admin_Settings::isConfigWritable() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Plugin/ComponentGroupManager.php
LINE: 71
DEBUG INFO:

66    $this->pathPluginsAdmin = $aConf['pluginPaths']['admin'];
67    $this->pathDataObjects = $aConf['pluginPaths']['var'] . 'DataObjects/';
68    // Attempt to increase the memory limit when using the plugin manager
69    OX_increaseMemoryLimit(OX_getMinimumRequiredMemory('plugin'));
70    $this->basePath = MAX_PATH;
71 $this->configLocked = !OA_Admin_Settings::isConfigWritable();

72    }
73    
74    function countErrors()
75    {
76    return count($this->aErrors);

MESSAGE: Invalid argument supplied for foreach()
TYPE: Warning
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Plugin/PluginManager.php
LINE: 1114
DEBUG INFO:

1109    */
1110    function getComponentHooks()
1111    {
1112    $aPackages = $GLOBALS['_MAX']['CONF']['plugins'];
1113    $aResult = array();
1114 foreach ($aPackages AS $name => $enabled)

1115    {
1116    if ($enabled)
1117    {
1118    $aPkgInfo = $this->getPackageInfo($name);
1119    foreach ($aPkgInfo['contents'] AS &$componentGroup)

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Undefined index: isLoginStepVisible
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 41
DEBUG INFO:

36    * @return mixed value of the property
37    */
38    public function get($propertyName)
39    {
40    $this->initStorage();
41 $value = $_SESSION[$propertyName];

42    
43    return $value;
44    }
45    
46    /**

MESSAGE: Non-static method OA_Upgrade_Login::checkLogin() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/Install/InstallController.php
LINE: 171
DEBUG INFO:

166    $oStorage = OX_Admin_UI_Install_InstallUtils::getSessionStorage();
167    
168    //check if login step should be shown
169    $isLoginStepVisible = $oStorage->get('isLoginStepVisible');
170    if (!isset($isLoginStepVisible) || !$isLoginStepVisible || $forceInit) {
171 $isLoginStepVisible = !OA_Upgrade_Login::checkLogin();

172    $oStorage->set('isLoginStepVisible', $isLoginStepVisible);
173    }
174    
175    //check if config should be shown
176    $isConfigStepVisible = $oStorage->get('isConfigStepVisible');

MESSAGE: Non-static method OA_Admin_Settings::isConfigWritable() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/Upgrade/Configuration.php
LINE: 29
DEBUG INFO:

24    {
25    $this->oSettings = new OA_Admin_Settings();
26    $this->aConfig =& $this->oSettings->getConfigArray();
27    // set default configPath
28    $this->configPath = MAX_PATH.'/var/';
29 if (!OA_Admin_Settings::isConfigWritable())

30    {
31    return false;
32    }
33    }
34

MESSAGE: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/PEAR.php
LINE: 867
DEBUG INFO:

862    }
863    $this->message = $message;
864    $this->code = $code;
865    $this->mode = $mode;
866    $this->userinfo = $userinfo;
867 if (!PEAR::getStaticProperty('PEAR_Error', 'skiptrace')) {

868    $this->backtrace = debug_backtrace();
869    if (isset($this->backtrace[0]) && isset($this->backtrace[0]['object'])) {
870    unset($this->backtrace[0]['object']);
871    }
872    }

MESSAGE: Only variable references should be returned by reference
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/DB/Table.php
LINE: 85
DEBUG INFO:

80    * @return mixed Reference to an MDB2 connection resource, or PEAR_Error
81    * on failure to connect.
82    */
83    function &_getDbConnection()
84    {
85 return OA_DB::singleton();

86    }
87    
88    /**
89    * A method to initialise the class by parsing a database XML schema file, so that
90    * the class will be ready to create/drop tables for the supplied schema.

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Undefined index: isConfigStepVisible
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 41
DEBUG INFO:

36    * @return mixed value of the property
37    */
38    public function get($propertyName)
39    {
40    $this->initStorage();
41 $value = $_SESSION[$propertyName];

42    
43    return $value;
44    }
45    
46    /**

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Cannot modify header information - headers already sent by (output started at /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/HTML/QuickForm.php:597)
TYPE: Warning
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 76
DEBUG INFO:

71    $this->initStorage();
72    $_SESSION = array();
73    session_set_cookie_params(0);
74    session_name($this->id);
75    session_destroy();
76 setcookie($this->id, '');

77    }
78    }
79    
80    ?>
81

MESSAGE: Non-static method OA_Admin_Settings::isConfigWritable() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/Upgrade/Configuration.php
LINE: 29
DEBUG INFO:

24    {
25    $this->oSettings = new OA_Admin_Settings();
26    $this->aConfig =& $this->oSettings->getConfigArray();
27    // set default configPath
28    $this->configPath = MAX_PATH.'/var/';
29 if (!OA_Admin_Settings::isConfigWritable())

30    {
31    return false;
32    }
33    }
34

MESSAGE: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/PEAR.php
LINE: 867
DEBUG INFO:

862    }
863    $this->message = $message;
864    $this->code = $code;
865    $this->mode = $mode;
866    $this->userinfo = $userinfo;
867 if (!PEAR::getStaticProperty('PEAR_Error', 'skiptrace')) {

868    $this->backtrace = debug_backtrace();
869    if (isset($this->backtrace[0]) && isset($this->backtrace[0]['object'])) {
870    unset($this->backtrace[0]['object']);
871    }
872    }

MESSAGE: Only variable references should be returned by reference
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/DB/Table.php
LINE: 85
DEBUG INFO:

80    * @return mixed Reference to an MDB2 connection resource, or PEAR_Error
81    * on failure to connect.
82    */
83    function &_getDbConnection()
84    {
85 return OA_DB::singleton();

86    }
87    
88    /**
89    * A method to initialise the class by parsing a database XML schema file, so that
90    * the class will be ready to create/drop tables for the supplied schema.

MESSAGE: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/HTML/QuickForm.php:597)
TYPE: Warning
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/HTML/QuickForm.php:597)
TYPE: Warning
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Undefined index: installStatus
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 41
DEBUG INFO:

36    * @return mixed value of the property
37    */
38    public function get($propertyName)
39    {
40    $this->initStorage();
41 $value = $_SESSION[$propertyName];

42    
43    return $value;
44    }
45    
46    /**

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Undefined index: OX_UI_Install_Wizard-install
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 41
DEBUG INFO:

36    * @return mixed value of the property
37    */
38    public function get($propertyName)
39    {
40    $this->initStorage();
41 $value = $_SESSION[$propertyName];

42    
43    return $value;
44    }
45    
46    /**

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Non-static method OA_Admin_Settings::isConfigWritable() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Plugin/ComponentGroupManager.php
LINE: 71
DEBUG INFO:

66    $this->pathPluginsAdmin = $aConf['pluginPaths']['admin'];
67    $this->pathDataObjects = $aConf['pluginPaths']['var'] . 'DataObjects/';
68    // Attempt to increase the memory limit when using the plugin manager
69    OX_increaseMemoryLimit(OX_getMinimumRequiredMemory('plugin'));
70    $this->basePath = MAX_PATH;
71 $this->configLocked = !OA_Admin_Settings::isConfigWritable();

72    }
73    
74    function countErrors()
75    {
76    return count($this->aErrors);

MESSAGE: Invalid argument supplied for foreach()
TYPE: Warning
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Plugin/PluginManager.php
LINE: 1114
DEBUG INFO:

1109    */
1110    function getComponentHooks()
1111    {
1112    $aPackages = $GLOBALS['_MAX']['CONF']['plugins'];
1113    $aResult = array();
1114 foreach ($aPackages AS $name => $enabled)

1115    {
1116    if ($enabled)
1117    {
1118    $aPkgInfo = $this->getPackageInfo($name);
1119    foreach ($aPkgInfo['contents'] AS &$componentGroup)

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Undefined index: isLoginStepVisible
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 41
DEBUG INFO:

36    * @return mixed value of the property
37    */
38    public function get($propertyName)
39    {
40    $this->initStorage();
41 $value = $_SESSION[$propertyName];

42    
43    return $value;
44    }
45    
46    /**

MESSAGE: Non-static method OA_Upgrade_Login::checkLogin() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/Install/InstallController.php
LINE: 171
DEBUG INFO:

166    $oStorage = OX_Admin_UI_Install_InstallUtils::getSessionStorage();
167    
168    //check if login step should be shown
169    $isLoginStepVisible = $oStorage->get('isLoginStepVisible');
170    if (!isset($isLoginStepVisible) || !$isLoginStepVisible || $forceInit) {
171 $isLoginStepVisible = !OA_Upgrade_Login::checkLogin();

172    $oStorage->set('isLoginStepVisible', $isLoginStepVisible);
173    }
174    
175    //check if config should be shown
176    $isConfigStepVisible = $oStorage->get('isConfigStepVisible');

MESSAGE: Non-static method OA_Admin_Settings::isConfigWritable() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/Upgrade/Configuration.php
LINE: 29
DEBUG INFO:

24    {
25    $this->oSettings = new OA_Admin_Settings();
26    $this->aConfig =& $this->oSettings->getConfigArray();
27    // set default configPath
28    $this->configPath = MAX_PATH.'/var/';
29 if (!OA_Admin_Settings::isConfigWritable())

30    {
31    return false;
32    }
33    }
34

MESSAGE: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context
TYPE: Strict
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/PEAR.php
LINE: 867
DEBUG INFO:

862    }
863    $this->message = $message;
864    $this->code = $code;
865    $this->mode = $mode;
866    $this->userinfo = $userinfo;
867 if (!PEAR::getStaticProperty('PEAR_Error', 'skiptrace')) {

868    $this->backtrace = debug_backtrace();
869    if (isset($this->backtrace[0]) && isset($this->backtrace[0]['object'])) {
870    unset($this->backtrace[0]['object']);
871    }
872    }

MESSAGE: Only variable references should be returned by reference
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OA/DB/Table.php
LINE: 85
DEBUG INFO:

80    * @return mixed Reference to an MDB2 connection resource, or PEAR_Error
81    * on failure to connect.
82    */
83    function &_getDbConnection()
84    {
85 return OA_DB::singleton();

86    }
87    
88    /**
89    * A method to initialise the class by parsing a database XML schema file, so that
90    * the class will be ready to create/drop tables for the supplied schema.

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Undefined index: isConfigStepVisible
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 41
DEBUG INFO:

36    * @return mixed value of the property
37    */
38    public function get($propertyName)
39    {
40    $this->initStorage();
41 $value = $_SESSION[$propertyName];

42    
43    return $value;
44    }
45    
46    /**

MESSAGE: A session had already been started - ignoring session_start()
TYPE: Notice
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/SessionStorage.php
LINE: 65
DEBUG INFO:

60    {
61    session_set_cookie_params(0);
62    if ($this->id) {
63    session_name($this->id);
64    }
65 session_start();

66    }
67    
68    
69    public function destroy()
70    {

MESSAGE: Cannot modify header information - headers already sent by (output started at /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/pear/HTML/QuickForm.php:597)
TYPE: Warning
FILE: /home/admin/domains/domain-name-edited.com/public_html/adserver/control-new/lib/OX/Admin/UI/Controller/BaseController.php
LINE: 128
DEBUG INFO:

123    // Remove the query string from REQUEST_URI
124    if ($pos = strpos($url, '?')) {
125    $url = substr($url, 0, $pos);
126    }
127    $url = $url.'?action='.$action;
128 header('Location: ' . $url);

129    exit;
130    }
131    
132    
133    protected function setRequest($request)
 

Link to comment
Share on other sites

Ok, I found the problem with the initial install. It was related to the use of a special character in the database password. Now I am having a completely different issue, in step 4, Configuration. It cannot see necessary files in the old OpenX directory, even though they are there.

 

From the debug log:

 

Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXBannerTypes.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXDeliveryLimitations.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openX3rdPartyServers.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXReports.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXDeliveryCacheStore.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXMaxMindGeoIP.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXInvocationTags.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXDeliveryLog.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXMarket.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXWorkflow.xml
Feb 13 13:13:11 -0600 OX-52fd19456ce78 [    error]  Failed to find package definition file home/admin/domains/foo.com/public_html/adserver/control/plugins/etc/openXVideoAds.xml
 

 

Those files are on that exact path - they exist, and I have tried every combination of that path, and always get the same result. I cannot proceed any further. I appreciate any help anyone can provide!

 

Thanks.

Link to comment
Share on other sites

  • 6 months later...
  • 3 months later...

Yep, same fix for me as well: special chars in the MySQL password made the Revive upgrade go nuts.

 

The next issue may be related to permissions. That was my next problem as well. The "failed to find package" may be some sort of directory traversal issue if you uploaded the zip to the server, and unzipped there, as opposed to FTPing the new files on by one.

 

I realize this is an "old" post, but it was unanswered. Hopefully this helps somebody else. :)

Link to comment
Share on other sites

  • 10 months later...

I had this same issue, after it couldn't fine the XML files (which I can't see anywhere) during the upgrade, after a few attempts it upgraded anyway, but never brought over the plugins from the previous install.

All I did was copy the original plugins over to the plugins folder in the new versions folder and all is well again.

Link to comment
Share on other sites

  • 1 year later...

Sorry to resurrect a really old thread, but this was the only page I could find that was talking about a similar problem that I was having.  I was attempting to upgrade from 4.0.0 to 4.0.1 and got these same errors.

End resolution was to 'chmod 777' the config file. I did have special characters in my MySQL password, but changing that did not resolve my issue.

Hopefully any one googling this issue will find this comment and save themselves a lot of wasted time.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...