Jump to content

mod_fcgid: stderr: PHP Warning: Constant already defined (PS8.1)


Recommended Posts

Hi,
recently I noticed that server log it's full of alerts like these:

mod_fcgid: stderr: PHP Warning: Constant _PS_SSL_PORT_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 41
mod_fcgid: stderr: PHP Warning: Constant _THEME_NAME_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 121
mod_fcgid: stderr: PHP Warning: Constant _PARENT_THEME_NAME_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 122
mod_fcgid: stderr: PHP Warning: Constant __PS_BASE_URI__ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 124
mod_fcgid: stderr: PHP Warning: Constant _PS_PRICE_DISPLAY_PRECISION_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 135
mod_fcgid: stderr: PHP Warning: Constant _PS_PRICE_COMPUTE_PRECISION_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 140
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_CHEQUE_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 284
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_PAYMENT_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 285
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_PREPARATION_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 286
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_SHIPPING_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 287
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_DELIVERED_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 288
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_CANCELED_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 289
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_REFUND_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 290
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_ERROR_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 291
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_OUTOFSTOCK_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 292
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_OUTOFSTOCK_PAID_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 293
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_OUTOFSTOCK_UNPAID_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 294
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_BANKWIRE_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 295
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_PAYPAL_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 296
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_WS_PAYMENT_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 297
mod_fcgid: stderr: PHP Warning: Constant _PS_OS_COD_VALIDATION_ already defined in /var/www/vhosts/mywebsite.com/httpdocs/config/config.inc.php on line 298

What I don't understand it's how to find from where these duplicated definitions come from.

Any idea?

Link to comment
Share on other sites

Yes, I had assumed that. The problem is that I can't find an easy way to find out which is the module doing that.
I have dozen of third party module and since it's a production website I cannot disable them one at a time.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...