holtong
-
Posts
5 -
Joined
-
Last visited
Posts posted by holtong
-
-
I can do that. The problem is that I will lose all my ads and campaigns. I will also have to insert new code in all my websites that call those ads and campaigns. It will be about two days work on top of removing and reinstalling Revive.
I suspect there is just one line of code or one setting somewhere that needs to be fixed. It could take me two minutes, if only I knew what it was.
The software is clearly looking for but not finding my configuration file. I am wondering if the software is looking for a configuration file with a different name than the one I have. If I could find out what name the software is looking for, I could change the name of my configuration file to match.
I am not an expert, but I think that is my best hope right now.
-
Thanks for your response!1. The version, both before and after the transfer, is 3.0.5.2. Before the transfer, I hadApache version 2.2.27PHP version 5.4.28MySQL version 5.5.37-cllArchitecture x86_64Operating system linuxAfter the transfer, I haveApache version 2.2.24PHP version 5.3.26MySQL version 5.5.31-30.3-logArchitecture x86_64Operating system linux3. I copied files over from the other server, and I copied the database over. Any users or permissions contained within those would have transferred. The only exception is information in the configuration file, which I edited to reflect the new install, especially the new database name and database user. In setting up the new database, I gave that new user full permissions.I just re-read the installation instructions and note the following paragraph:“In one of the first screens to be displayed, you will be instructed to modify the ‘permissions’ of several of the folders that were created in step 3 above. Each folder you will need to modify will be clearly indicated. The permissions needed are ’777′. Do NOT set all of the folders and files to these permissions, just the few files and folders indicated on the screen.”Folders I had set to 777 in the original install got changed to 755 when transferred. I just went into FTP and changed those folders back to 777.This has not resolved the problem.
-
Thanks for your reply!
I transferred the files again, but the problem remains.
There was a domain name change about 2 months before the transfer. I was able to edit the configuration file, so nothing broke. When I transferred to the new server, the new domain name was preserved. But that is when this problem arose.
I am wondering if that old domain name change might be related. In particular, maybe the install is expecting the configuration file to have a different name. I tried renaming it in a few obvious ways to reflect the new and old domain names, without luck.
Is there any way I can find out the precise name of the configuration file the install is looking for?
Or is there something else I should be focused on?
-
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 atrevive-adserver/var/riskexpertise.com.conf.phpI 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 atI am redirected towhich displays a lengthy error message, the first few lines of which areMESSAGE: Assigning the return value of new by reference is deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/HTML/QuickForm.phpLINE: 597DEBUG 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 deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/HTML/QuickForm.phpLINE: 1701DEBUG 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 defaultRenderer17051706 // }}}MESSAGE: Assigning the return value of new by reference is deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/HTML/QuickForm.phpLINE: 1858DEBUG INFO:1853 * @return array of form contents1854 */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 toArray18621863 // }}}MESSAGE: Assigning the return value of new by reference is deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/Config.phpLINE: 79DEBUG INFO:74 *75 * @access public76 */77 function Config()78 {79 $this->container =& new Config_Container('section', 'root');80 } // end constructor8182 /**83 * Returns true if container is registered84 *MESSAGE: Assigning the return value of new by reference is deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/Config.phpLINE: 165DEBUG 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 deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/Config/Container.phpLINE: 107DEBUG INFO:102 * @param object $target needed if you choose 'before' or 'after' for where103 * @return object reference to new item or Pear_Error104 */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 &createItem111112 /**MESSAGE: Assigning the return value of new by reference is deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/MDB2.phpLINE: 390DEBUG INFO:385 $err = MDB2::loadClass($class_name, $debug);386 if (PEAR::isError($err)) {387 return $err;388 }389390 $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 deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/MDB2.phpLINE: 1880DEBUG 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 module1884 // needs to be loaded with a different version if the server1885 // version changed in between connectsMESSAGE: Assigning the return value of new by reference is deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/MDB2.phpLINE: 2634DEBUG 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 deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/MDB2.phpLINE: 2657DEBUG 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 }26612662 // }}}MESSAGE: Assigning the return value of new by reference is deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/MDB2.phpLINE: 3002DEBUG 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 }30063007 // }}}MESSAGE: Declaration of MDB2_Driver_Common::raiseError() should be compatible with that of PEAR::raiseError()TYPE: StrictFILE: /home/glynextr/public_html/revive-adserver/lib/pear/MDB2.phpLINE: 3378DEBUG INFO:3373 $result->free();3374 return $all;3375 }33763377 // }}}3378 }33793380 // }}}3381 // {{{ class MDB2_Result33823383 /**MESSAGE: Redefining already defined constructor for class XML_ParserTYPE: StrictFILE: /home/glynextr/public_html/revive-adserver/lib/pear/XML/Parser.phpLINE: 206DEBUG INFO:201 * @param string $mode how this parser object should work, "event" for202 * startelement/endelement-type events, "func"203 * to have it call functions named after elements204 * @param string $tgenc a valid target encoding205 */206 function __construct($srcenc = null, $mode = 'event', $tgtenc = null)207 {208 $this->PEAR('XML_Parser_Error');209210 $this->mode = $mode;211 $this->srcenc = $srcenc;MESSAGE: Assigning the return value of new by reference is deprecatedTYPE: DeprecatedFILE: /home/glynextr/public_html/revive-adserver/lib/pear/XML/Parser.phpLINE: 591DEBUG INFO:586 * @return XML_Parser_Error587 **/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 }594595 // }}}596 // {{{ funcStartHandler()
Problem Transferring To A New Server
in Managing Revive Adserver
Posted
Thanks!
I checked the configuration file and found that I had already updated the path. So the problem remained unfixed.
I have uninstalled and reinstalled Revive, so I will start again from scratch. The new installation appears to be working fine.
Thanks everyone for responding to this thread!