By DNM-1 on
I get these error on the install page when i go to the subdomain but they dont show when i go to the main domain
Warning: preg_match() expects parameter 2 to be string, array given in /home/dnm4ever/public_html/maindomain.com/includes/bootstrap.inc on line 670
Warning: Cannot modify header information - headers already sent by (output started at /home/dnm4ever/public_html/maindomain.com/includes/bootstrap.inc:670) in /home/dnm4ever/public_html/maindomain.com/includes/common.inc on line 141
any ideas?
Comments
weird i just uploaded
weird i just uploaded another blank settings file and it works fine. maybe i copied one that wasnt blank. there was one i was messing with maybe i uploaded the wrong one...
ok this happens every time i
ok this happens every time i change the prefixes array.
I doubt something is wrong with my code considering im just copying and pasting it from above.
is there something im missing. i have read the entire thing. i can install both multisites just fine without sharing databases just using one for sub and one for main but every time i modify it then try to install it does this.
Step by step this is what I did.
created subdomain with cpanel and pointed it to the main directory that domain is in.
1 Installed both seperatly(they worked fine)
2 I drop all the tables from the db and replace the settings.php files with fresh ones and tried to edit them to share the users.
Then i get this at the top of the install page...
Warning: preg_match() expects parameter 2 to be string, array given in /home/dnm/public_html/*.com/includes/bootstrap.inc on line 670
Warning: Cannot modify header information - headers already sent by (output started at /home/dnm/public_html/*.com/includes/bootstrap.inc:670) in /home/dnm/public_html/*.com/includes/common.inc on line 141
lines 666(ha) through 671 of bootstrap.inc
lines 134 through 145 of common.inc
well I guess I was doing
well I guess I was doing something wrong.
I keep updating this topic cause I searched for my problem and couldn't find it.
I simply added the login info and it installed automatically when I browsed to the install page.
ok I get how it works now.