Server Error after PHP update
Posted: Wed Aug 07, 2013 12:23 pm
VERSION', '1.5.2.1'
All I did yesterday was update the PHP in my control panel as requested by the hosting company.
As soon as I did my store disappeared and all i get is "Server Error" I sent a ticket into the tech dept, and received the message below. I haven't touched the index.php file.....Could anyone explain what might have happened and how to rectify.
This appears to be a scripting issue with your website;
From /logs/cgierror.log
PHP Fatal error: require_once(): Failed opening required '/content/sites3/s/e/sex-toys-r-us.co.uk/web/store/system/startup.php' (include_path='.:/usr/share/pear:/usr/share/php') in /content/sites/s/e/sex-toys-r-us.co.uk/web/store/index.php on line 19
In addition to this we have noticed a php.ini file saved within your web space.
We do not allow the modification of the PHP.ini on our shared hosting cluster as this applies to all users on the cluster. If you require this level of flexibility we recommend that you migrate your services to a VPS or dedicated server platform.
Below is the code up to line 19 in the index.PHP folder
<?php
// Version
define('VERSION', '1.5.2.1');
// Configuration
require_once('config.php');
// Install
if (!defined('DIR_APPLICATION')) {
header('Location: install/index.php');
exit;
}
// VirtualQMOD
require_once('./vqmod/vqmod.php');
$vqmod = new VQMod();
// VQMODDED Startup
require_once($vqmod->modCheck(DIR_SYSTEM . 'startup.php'));
Many Thanks
Tim
All I did yesterday was update the PHP in my control panel as requested by the hosting company.
As soon as I did my store disappeared and all i get is "Server Error" I sent a ticket into the tech dept, and received the message below. I haven't touched the index.php file.....Could anyone explain what might have happened and how to rectify.
This appears to be a scripting issue with your website;
From /logs/cgierror.log
PHP Fatal error: require_once(): Failed opening required '/content/sites3/s/e/sex-toys-r-us.co.uk/web/store/system/startup.php' (include_path='.:/usr/share/pear:/usr/share/php') in /content/sites/s/e/sex-toys-r-us.co.uk/web/store/index.php on line 19
In addition to this we have noticed a php.ini file saved within your web space.
We do not allow the modification of the PHP.ini on our shared hosting cluster as this applies to all users on the cluster. If you require this level of flexibility we recommend that you migrate your services to a VPS or dedicated server platform.
Below is the code up to line 19 in the index.PHP folder
<?php
// Version
define('VERSION', '1.5.2.1');
// Configuration
require_once('config.php');
// Install
if (!defined('DIR_APPLICATION')) {
header('Location: install/index.php');
exit;
}
// VirtualQMOD
require_once('./vqmod/vqmod.php');
$vqmod = new VQMod();
// VQMODDED Startup
require_once($vqmod->modCheck(DIR_SYSTEM . 'startup.php'));
Many Thanks
Tim