WPMU -> WP Rewrite Errors
-
Hello!
So, I totally screwed up a site for a client and they have an event this weekend. Allow me to explain the story. I did a website for a client and built it in wordpress. The client then bought a new domain. So I wanted to have that domain point to a subfolder on the root hosting. So, I tried doing a manual install of wordpress on the subfolder. Problem with that was the client was on a windows server and it inherited all the parent settings for the web.config file. So, for some reason if I tried to change the permalinks it would bring up 404 errors, and if I deleted the web.config file it would do 404 errors on the root site. So I got the idea at that point to install wpmu on the root (1st) site. That didn’t end up working. So then I tried to clear out the subfolder and do a wordpress install through godaddy. That didn’t work either and then I started tinkering with the domains, thinking I could put both sites in subfolders on the hosting. Lots of tinkering later, I come back this morning and the url is now wanting to setup wordpress on the first main site. Fail.I was however able to backup the db and the wp-content folder. After many chat discussions with godaddy we were able to install wp for the main site. Yay! Wrong. It would work, and then I would try to restore the db and would then get lines of errors about the wp-includes and rewriting errors. Which is pretty much where I’m at now. I’ve gone into the db that is linked to the site and dropped these:
wp_blogs
wp_blog_versions
wp_registration_log
wp_signups
wp_site
wp_sitemetaHave also restored the .htaccess to this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressBut I continue to get the errors
Warning: strpos() expects parameter 1 to be string, array given in D:\Hosting\11794816\html\wp-includes\rewrite.php on line 2079
Warning: substr() expects parameter 1 to be string, array given in D:\Hosting\11794816\html\wp-includes\rewrite.php on line 2079
Warning: preg_match() expects parameter 2 to be string, array given in D:\Hosting\11794816\html\wp-includes\rewrite.php on line 785
Warning: substr() expects parameter 1 to be string, array given in D:\Hosting\11794816\html\wp-includes\rewrite.php on line 2089
Warning: preg_match() expects parameter 2 to be string, array given in D:\Hosting\11794816\html\wp-includes\rewrite.php on line 2092
Warning: trim() expects parameter 1 to be string, array given in D:\Hosting\11794816\html\wp-includes\rewrite.php on line 274
Warning: trim() expects parameter 1 to be string, array given in D:\Hosting\11794816\html\wp-includes\rewrite.php on line 274
Warning: trim() expects parameter 1 to be string, array given in D:\Hosting\11794816\html\wp-includes\rewrite.php on line 274
Warning: trim() expects parameter 1 to be string, array given in D:\Hosting\11794816\html\wp-includes\rewrite.php on line 274
Warning: timezone_open() expects parameter 1 to be string, array given in D:\Hosting\11794816\html\wp-includes\functions.php on line 3618
Fatal error: Unsupported operand types in D:\Hosting\11794816\html\wp-includes\update.php on line 622
Any help on this would be GREATLY, GREATLY appreciated. Thank you!
- The topic ‘WPMU -> WP Rewrite Errors’ is closed to new replies.