WordPress › Support » How-To and Troubleshooting wp-activate.php, WP_INSTALLN
-
Hi all
I’ve just run into a problem that I’m hoping can be resolved.
I’ve setup a site running WP and installed quite a few plugins, some of which are needed for the site headers. Now the problem I ran into in when a user is added to the blog as an author or similar role. That new user is then sent an email asking them to confirm if they want to accept.
In the email is a link to http://mysite.com/wp-activate?key=352524
However, when the page loads, I get an error moaning about a missing function. This function is declared in a plugin which is usually loaded during the running of wp-settings.php.
But in the first line of wp-activate.php, WP_INSTALLING is set. With this varible set, the wp-settings.php file does not go through the wp-content/plugins and load all the plugins listed there. Which is where my problem lies.
Simply commenting out define( “WP_INSTALLING”, true ); in wp-activate.php fixes my problem. However, I’m assuming that line of code is there for a reason. What are the consequnces of me commenting out that line in wp-activate and should it even be declared if the site is actually already installed?
IE change it to:
if (!is_blog_installed()) define( “WP_INSTALLING”, true );
and moved to somewhere later in the code, where is_blog_installed() will run.Any help?
Syn
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
- The topic ‘WordPress › Support » How-To and Troubleshooting wp-activate.php, WP_INSTALLN’ is closed to new replies.