Are wordpress blogs able to run as flat files? If not, can I store my blog inside the database containing my phpbb3 forums? My host only allows me to have one database.
@NogDogJun 29.2008 — #It looks like Wordpress prefixes each of its table names with "wp_", so if you look at the table names in your PHPBB database and none of them start with "wp_", you should be OK. Below are the table names in my WP installation:
@bobaljauthorJun 30.2008 — #Okay cool. I was able to install it on the database. I have a problem though. When I'm using my blog, I always get this error whenever trying to save, delete, publish, etc:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/www/nexusoftheinternet.com/wp-includes/widgets.php on line 60
Warning: Cannot modify header information - headers already sent by (output started at /home/www/nexusoftheinternet.com/wp-includes/widgets.php:60) in /home/www/nexusoftheinternet.com/wp-includes/pluggable.php on line 694
Also, this this thing always appears at the top of every page on my blog:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/www/nexusoftheinternet.com/wp-includes/widgets.php on line 60
@NogDogJun 30.2008 — #A little googling indicates this has been a problem due to a change in PHP5. If making sure you have the latest version of WordPress as well as any plugins/templates does not fix it, then the kludge is to edit the offending line, type-casting the parameter to an array: [code=php] array_merge((array)$arg1, (array)$arg2); [/code]
@NogDogJun 30.2008 — #Don't insert the line I provided, that was just an example. [i]Change[/i] the line that is causing the error so that each of its arguments for the array_merge() function is cast to an array type via the [b](array)[/b] expression preceding each variable in the argument list.