Jump to content

Errors after server move


Recommended Posts

Hi,

We have recently moved our hosting. 

After hosting is moved, it was noticed that we are unable to access our adserver.

We have moved our database also to new location and also, configurations are updated based on new server.

This always lead us to install.php file, where following errors are received.

---


MESSAGE: Non-static method Date_TimeZone::isValidID() should not be called statically
TYPE: Deprecated
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/pear/Date/TimeZone.php
LINE: 3642
DEBUG INFO:

3637 Date_TimeZone::setDefault($_DATE_TIMEZONE_DEFAULT);
3638 } elseif (getenv('PHP_TZ') && Date_TimeZone::isValidID(getenv('PHP_TZ'))) {
3639 Date_TimeZone::setDefault(getenv('PHP_TZ'));
3640 } elseif (getenv('TZ') && Date_TimeZone::isValidID(getenv('TZ'))) {
3641 Date_TimeZone::setDefault(getenv('TZ'));

3642 } elseif (Date_TimeZone::isValidID(date('T'))) {


3643 Date_TimeZone::setDefault(date('T'));
3644 } else {
3645 Date_TimeZone::setDefault('UTC');
3646 }
3647 //

 

 



MESSAGE: Non-static method Date_TimeZone::setDefault() should not be called statically
TYPE: Deprecated
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/pear/Date/TimeZone.php
LINE: 3643
DEBUG INFO:

3638 } elseif (getenv('PHP_TZ') && Date_TimeZone::isValidID(getenv('PHP_TZ'))) {
3639 Date_TimeZone::setDefault(getenv('PHP_TZ'));
3640 } elseif (getenv('TZ') && Date_TimeZone::isValidID(getenv('TZ'))) {
3641 Date_TimeZone::setDefault(getenv('TZ'));
3642 } elseif (Date_TimeZone::isValidID(date('T'))) {

3643 Date_TimeZone::setDefault(date('T'));


3644 } else {
3645 Date_TimeZone::setDefault('UTC');
3646 }
3647 //
3648 // END

 

 



MESSAGE: Non-static method Date_TimeZone::isValidID() should not be called statically
TYPE: Deprecated
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/pear/Date/TimeZone.php
LINE: 153
DEBUG INFO:

148 * @param string $id the time zone id to use
149 */
150 function setDefault($id)
151 {
152 global $_DATE_TIMEZONE_DEFAULT;

153 if(Date_TimeZone::isValidID($id)) {


154 $_DATE_TIMEZONE_DEFAULT = $id;
155 }
156 }
157
158 /**

 

 



MESSAGE: Trying to access array offset on value of type bool
TYPE: Notice
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/max/Delivery/remotehost.php
LINE: 57
DEBUG INFO:

52 */
53 function MAX_remotehostProxyLookup()
54 {
55 $conf = $GLOBALS['_MAX']['CONF'];
56 // Should proxy lookup conversion be performed?

57 if ($conf['logging']['proxyLookup']) {


58 OX_Delivery_logMessage('checking remote host proxy', 7);
59 // Determine if the viewer has come via an HTTP proxy
60 $proxy = false;
61 if (!empty($_SERVER['HTTP_VIA']) || !empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
62 $proxy = true;

 

 



MESSAGE: Trying to access array offset on value of type null
TYPE: Notice
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/max/Delivery/remotehost.php
LINE: 57
DEBUG INFO:

52 */
53 function MAX_remotehostProxyLookup()
54 {
55 $conf = $GLOBALS['_MAX']['CONF'];
56 // Should proxy lookup conversion be performed?

57 if ($conf['logging']['proxyLookup']) {


58 OX_Delivery_logMessage('checking remote host proxy', 7);
59 // Determine if the viewer has come via an HTTP proxy
60 $proxy = false;
61 if (!empty($_SERVER['HTTP_VIA']) || !empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
62 $proxy = true;

 

 



MESSAGE: Trying to access array offset on value of type bool
TYPE: Notice
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/max/Delivery/remotehost.php
LINE: 132
DEBUG INFO:

127 function MAX_remotehostReverseLookup()
128 {
129 // Is the remote host name already set?
130 if (empty($_SERVER['REMOTE_HOST'])) {
131 // Should reverse lookups be performed?

132 if ($GLOBALS['_MAX']['CONF']['logging']['reverseLookup']) {


133 $_SERVER['REMOTE_HOST'] = @gethostbyaddr($_SERVER['REMOTE_ADDR']);
134 } else {
135 $_SERVER['REMOTE_HOST'] = $_SERVER['REMOTE_ADDR'];
136 }
137 }

 

 



MESSAGE: Trying to access array offset on value of type null
TYPE: Notice
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/max/Delivery/remotehost.php
LINE: 132
DEBUG INFO:

127 function MAX_remotehostReverseLookup()
128 {
129 // Is the remote host name already set?
130 if (empty($_SERVER['REMOTE_HOST'])) {
131 // Should reverse lookups be performed?

132 if ($GLOBALS['_MAX']['CONF']['logging']['reverseLookup']) {


133 $_SERVER['REMOTE_HOST'] = @gethostbyaddr($_SERVER['REMOTE_ADDR']);
134 } else {
135 $_SERVER['REMOTE_HOST'] = $_SERVER['REMOTE_ADDR'];
136 }
137 }

 

 



MESSAGE: Non-static method Language_Loader::load() should not be called statically
TYPE: Deprecated
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/OX/Extension/authentication/authentication.php
LINE: 20
DEBUG INFO:

15 require_once 'Date.php';
16 require_once MAX_PATH . '/lib/max/language/Loader.php';
17 require_once MAX_PATH . '/lib/pear/HTML/QuickForm/Rule/Email.php';
18 require_once MAX_PATH . '/lib/OA/DB/AdvisoryLock.php';
19

20 Language_Loader::load('settings');


21
22 /**
23 * Plugins_Authentication is a parent class for Authentication plugins
24 *
25 * @package OpenXPlugin

 

 



MESSAGE: Undefined index: action
TYPE: Notice
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/OX/Admin/UI/Install/InstallController.php
LINE: 80
DEBUG INFO:

75 * Called before any action gets executed
76 */
77 protected function init()
78 {
79 // No upgrade file? No installer! Unless the user is in the last step

80 if (!file_exists(MAX_PATH . '/var/UPGRADE') && 'finish' != $_REQUEST['action']) {


81 header("Location: index.php");
82 exit();
83 }
84 @set_time_limit(0);
85

 

 



MESSAGE: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/max/ErrorHandler.php:134)
TYPE: Warning
FILE: /var/www/vhosts/studentpages.biz/httpdocs/adserve/lib/OX/Admin/UI/Install/InstallController.php
LINE: 81
DEBUG INFO:

76 */
77 protected function init()
78 {
79 // No upgrade file? No installer! Unless the user is in the last step
80 if (!file_exists(MAX_PATH . '/var/UPGRADE') && 'finish' != $_REQUEST['action']) {

81 header("Location: index.php");


82 exit();
83 }
84 @set_time_limit(0);
85
86 // load translations for installer

 

 


 

Can any one help me for this?

 

Thank you in advance.

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...