I was on a Performance 2 plan and, seeing the price increase announced by email, I just switched to the Performance plan… as a result my site is no longer accessible and I get this message:
Warning: main(_DIR_/config.php) function.main: failed to open stream: No such file or directory in /home/xxxx/domaine/xxxx/inclusions/_debut.php on line 6
Fatal error: main() function.require: Failed opening required '_DIR_/config.php' (include_path='.:/usr/local/lib/php') in /home/xxx/domaine/xxx/inclusions/_debut.php on line 6
Line 6 of the _debut.php file contains
require_once _DIR_. '/config.php';
I have created ticket no. CS15807977
In the meantime, if a kind soul could enlighten me
Thank you Gaston and Fritz for taking the time to look into my problem.
There are no hard‑coded addresses.
I didn't perform any verification after changing the plan; when I upgraded the plan a few years ago there were no problems, and I thought it would be the same, especially with the message received from OVH "The plan change of your hosting xxx to the hosting‑performance‑1 plan is effective.
Your site remains accessible during this hosting change."
I kept my hosting by reducing its capacity.
I will try to perform the checks you mention.
For privacy reasons I have replaced the name of my site with x's, but I can share it with you in a private message if you wish.
I am surprised that after 10 years of messages on the various OVH forums that have come and gone, today my messages need to be moderated before publication.
My answer above was written yesterday afternoon around 6 p.m., but moderation means it was only published this morning ...
I have always kept an older PHP version (5.4) on my hosting because I have an old forum that is no longer maintained by its developer; this is the version shown in the general information of my hosting, but when I checked the installed PHP version I was surprised to see version 4. I edited the ovhconfig file and my site reappeared. I suppose the problem came from there, unless there was another intervention by support, but what is certain is that I didn’t put that version 4.
In my checks I am also surprised by the A record of my primary domain, which points to 46.1205.204.5, which does not match the IPv4 I have in Hosting / General information (all the A records of my other domains correctly point to the IPv4).
Should I modify the A record?
At first glance I would say yes, but please confirm (I’m also surprised that my site shows up with the A record set like that).
Indeed, the vast majority of visitors come from France.
If I change field A and disable the CDN, will that have an immediate impact on the site’s visibility?