Jump to content

holtong

Approved members
  • Content Count

    5
  • Joined

  • Last visited

  1. 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!
  2. 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.
  3. Thanks for your response! 1. The version, both before and after the transfer, is 3.0.5. 2. Before the transfer, I had Apache version 2.2.27 PHP version 5.4.28 MySQL version 5.5.37-cll Architecture x86_64 Operating system linux After the transfer, I have Apache version 2.2.24 PHP version 5.3.26 MySQL version 5.5.31-30.3-log Architecture x86_64 Operating system linux 3. 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.
  4. 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?
  5. 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. I’ve been maintaining my business’ websites for 20 years, but strictly as an amature. When I try to access the install’s 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()
×
×
  • Create New...