Post by Buzzerboy » 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

New member

Posts

Joined
Wed Jun 15, 2011 5:36 pm

Post by butte » Wed Aug 07, 2013 12:47 pm

Well, only 0:22-0:24 later in Firefox 22 in North America what I am seeing works just fine, the girls and toys are still there. Try flushing both vqmod's cache and your browser cache. You can also shut down "php.ini" of your own within OC (just rename it, such as to off_php.ini), so that there is no interference. Server folks basically said don't mess with it; and it works anyway. You're seeing 500, meaning server confused, and I'm seeing website, meaning server unconfused.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Buzzerboy » Wed Aug 07, 2013 2:33 pm

Hi Butte

You star....that worked.

Why all the crap from the server folk?

What is the PHP.ini file? any idea why they are complaining about it.....will everything still work as it should if i rename it?

Many Thanks

Tim

New member

Posts

Joined
Wed Jun 15, 2011 5:36 pm

Post by butte » Wed Aug 07, 2013 10:35 pm

There is an executable file, php.exe, which comes in several versions. There is a parameter initializing file, php.ini, which has arrays of settings in it. There is for the server, down below all accounts, a master php.exe and a master php.ini governing, together, all that php essentially does for everyone (shared, everyone, unshared, one). On many shared servers you can change SOME of the server's overall default php.ini settings by adding your own php.ini file(s), and on some of those servers you can moreover choose your version of php.exe for your account, sometimes even for particular domains even with shared hosting. (Remember win.ini, etc.? Same deal, a .ini file.) If you rename your own php.ini file(s), then the server will not see them as php.ini files and the support folks will not be able to blame anything on that any more.

Then so long as everything is stable, let it be.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am
Who is online

Users browsing this forum: Bing [Bot] and 8 guests