Array_merge error, only locally
Posted by: mark (---.plus.com)
Date: February 11, 2006 12:30PM

I used to run wampserver on my old XP Home machine, it run my site perfectly, almost identical to how it ran on my live server.

However, since moving to an XP pro machine, the search script I used doesn't work on wamp server. It keeps giving me this error.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in g:\wamp\www\site\search.php on line 147

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in g:\wamp\www\site\search.php on line 147

yet the same file, worked perfectly before, and works perfectly on the remote web server. Any ideas what I can do to fix the error? I didn't write the script but I can't understand why it doesn't work locally, but does remotely.

Options: ReplyQuote
Re: Array_merge error, only locally
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: February 16, 2006 05:23PM

are you running php 5, download the php 4 addin , and switch to php4 and try your script again.

Options: ReplyQuote


Sorry, only registered users may post in this forum.