wp-config, sometimes ok, sometimes not
-
Hello
First of all, thanks for developing such an awesome plugin. It really saves us all the time to copy an entire website from one place to another.
Moving to the problem, I’m experiencing some difficulties sometimes using the plugin. I searched through other topics to avoid posting a topic which is already known and solved. But none, as far as I searched and read, helped.
I’m running quite a number of websites in sub-folders of my domain. For some of those websites I tried using the plugin. Half of those sites I used the plugin on, were duplicated with no problem. But for the other half I kept receiving the following error after deployment was finished on the target site and when trying to view the site:
“Call to undefined function wp() …”I checked the generated wp-config file and it was empty (this was mentioned on some other topics I know)
But the thing is that, this happens only to some of my websites, not all. I manage to solve it manually each time by copying the codes from a raw wp-config-sample file, pasting them into wp-config file and replacing the default values with my database information.
Normally each time I download the created package from the 1st site, I delete the wp-config file (since I get an error at the first stage of deployment if I leave that file there). Sometimes I copy & paste a raw wp-config-sample file in the package (don’t know if that really makes a difference)
Good to mention that, when scanning in the first place, I get the warning about open_basedir. I’m using a shared hosting plan, and can’t do anything about that since the hosting dudes won’t change that for one single guy.
So the question is, why the wp-config file is generated with all required codes and information on some of the sites, while on some other it’s empty?
(all sites share the same hosting plan)
- The topic ‘wp-config, sometimes ok, sometimes not’ is closed to new replies.