I have a Revive install, version 3.0. It was working fine, but I just transferred it to a new server, and it is no longer working.
When I view a webpage that is supposed to have an ad, I get the following message where the ad should be.
Revive Adserver has been installed, but no configuration file was found.
I do have a configuration file at
revive-adserver/var/riskexpertise.com.conf.php
I looked at it and all items a non-specialist might understand seemed correct.
Please understand that I am not a developer. Ive been maintaining my business websites for 20 years, but strictly as an amature.
When I try to access the installs backend at
http://riskexpertise.com/revive-adserver
I am redirected to
http://riskexpertise.com/revive-adserver/www/admin/install.php
which displays a lengthy error message, the first few lines of which are
MESSAGE: Assigning the return value of new by reference is deprecated
TYPE: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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/glynextr/public_html/revive-adserver/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/glynextr/public_html/revive-adserver/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: Deprecated
FILE: /home/glynextr/public_html/revive-adserver/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()