csabessz Posted April 1, 2014 Report Posted April 1, 2014 Hi, I just tried to install Revive Adserver 3.0.3, but got a lot of error messages: MESSAGE: Assigning the return value of new by reference is deprecatedTYPE: DeprecatedFILE: /var/vhosts/www.gomorilap.sk/public_html/Revive/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 } More can be found here: http://pastebin.com/0XQFSvWN I have not found any useful information in the forum. I'm using PHP 5.3.10 and Ubuntu Server. The documentation says it works: PHP 5.1.4+, 5.2.x, 5.3.x, 5.4.20+, 5.5.2+ Is there any patch for this? How does this application work on PHP 5.3+? Thanks in advance Quote
Eliza0406 Posted April 2, 2014 Report Posted April 2, 2014 Hi, Currently no patch code is in access. In case if you are interesed, feel free to contact us here. We will provide you with custom support through our openxservices.com website. Quote
andrewatfornax Posted April 22, 2014 Report Posted April 22, 2014 Check your PHP settings - Revive Adserver tries to suppress these warnings, but it can't do so if your PHP config won't allow it. Quote
marcis Posted April 24, 2014 Report Posted April 24, 2014 You can get this error if your config file in ./var/*.conf.php isnt writable, change to 777 will fix it. Quote
scragglydoggames Posted April 29, 2014 Report Posted April 29, 2014 Hi I am also having a similar problem with lots of deprecated errors (see http://pastebin.com/AkmRKX3b) I tried to do marcis's suggestion You can get this error if your config file in ./var/*.conf.php isnt writable, change to 777 will fix it. But when I go into var, I don't have any .php files I'm installing from a brand new install, on a fresh server, so any help would be appreciated. Cheers Jamie Quote
andrewatfornax Posted April 29, 2014 Report Posted April 29, 2014 Try ensuring that all files, and subdirectories, underneath the Revive Adserver var/ directory are correctly set to be able to be written to by the webserver. Quote
nvcmedia Posted May 6, 2014 Report Posted May 6, 2014 I'm having the same issues. I've confirmed permissions are set to 777. The old conf file did not have a www. in front of it, so I added that (not sure if that makes any difference). Apache version 2.2.27 PHP version 5.4.27 MySQL version 5.5.37-log Architecture x86_64 Operating system linux Quote
andrewatfornax Posted May 8, 2014 Report Posted May 8, 2014 The only way I think I will ever be able to figure these reports out is if someone who has the problem is willing to give me login access to their server. I simply don't see these PHP warning issues, even with old versions of PHP, because the Revive Adserver code specifically tells PHP to not worry about these. So, there's something in people's setup that prevents this happening - but unfortunately, I have no idea what. Quote
opusuno Posted October 23, 2014 Report Posted October 23, 2014 The only way I think I will ever be able to figure these reports out is if someone who has the problem is willing to give me login access to their server. I simply don't see these PHP warning issues, even with old versions of PHP, because the Revive Adserver code specifically tells PHP to not worry about these. So, there's something in people's setup that prevents this happening - but unfortunately, I have no idea what. Andrew, if you want to re-create the error add parse_ini_file to your disable_functions. Quote
kpmedia Posted December 16, 2014 Report Posted December 16, 2014 I ran into several "deprecated" issues because I was using non-alphanumerics in my MySQL password. Apparently, a character in the password makes Revive go bananas. "My_P@ssW0rd" = did not work "MyPassW0rd" = works fine Hope that helps. Quote
andrewatfornax Posted February 8, 2016 Report Posted February 8, 2016 Andrew, if you want to re-create the error add parse_ini_file to your disable_functions. For me, this doesn't work. Revive Adserver has a file in its root directory called pre-check.php, and it looks for & tests all of the core PHP functions that it needs to run correctly - parse_ini_file is one of these.If I disable this function using PHP's disable_function option in the php.ini file, I get a nicely formatted error page from Revive Adserver, telling me: Sorry, but Revive Adserver cannot currently run on your machineDetected problem:The built in PHP function "parse_ini_file" is in the "disable_functions" list in your "php.ini" file. Quote
Recommended Posts
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.