brand new WordPress site -- create network -- insufficient permissions

I installed wordpress and got things out of order -- plugins before creating network.  So I started over.

I installed wordpress again with a new database.  I created a network, using network.php and making the changes it said to wp-config.php and .htaccess.

Now going to I get "You do not have sufficient permissions to access this page."

Most places say to deactivate all the plugins first.  But on this new installation, no plugins were active.  I'm following the simple steps verbatim.  What am I failing to understand?


P.s.  it's Wordpress 4.1.1.  I've tried the hack of the theme's functions.php to make me a superadmin:
include(ABSPATH . 'wp-admin/includes/ms.php');
$user = get_userdatabylogin('YOUR_USERNAME');

Open in new window

all to no avail
LVL 32
Daniel WilsonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Peter HartCommented:
I think its the rewrite rules in the .htaccess file
you need to modify the .htaccess file

details here:
Daniel WilsonAuthor Commented:
Thanks for the suggestion, but that is EXACTLY what I have in .htaccess.

I wonder ... if maybe I need to look at the Apache configuration ...
Daniel WilsonAuthor Commented:
Here's the Apache file for it:

<VirtualHost *:80>
DocumentRoot /wp_data/wordpress
<Directory "/wp_data/wordpress">
allow from all
Options None
Options FollowSymLinks
Require all granted
ErrorLog /wp_data/logs/
LogLevel emerg
CustomLog /wp_data/logs/ "combined"

Open in new window

C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Peter HartCommented:
is the .htaccess file just called .htaccess
or does it have an extension?
try renaming it and see what happens (just to narrow down the problem)
Daniel WilsonAuthor Commented:
As it turned out, I put the enabling of the network too far down in wp-config.php

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Peter HartCommented:
ah cool. make your answer as the solution.
Daniel WilsonAuthor Commented:
Thanks for you assistance, chilternPC!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.