Re: Warning: array_merge()



"Oli Filth" <catch@xxxxxxxxxxxxxx> wrote in message
news:3V_Ze.13$K62.6@xxxxxxxxxxxxxxxxxxxxxxx
> mark said the following on 26/09/2005 22:46:
>> I recently moved all my files onto a new machine, groing from XP Home to
>> XP Pro.
>>
>> On my old machine, I had wamp installed and my site ran fine locally,
>> however, when moving to this new machine using exactly the same install
>> of wamp, and the same site files I keep getting:
>>
>> Warning: array_merge() [function.array-merge]: Argument #1 is not an
>> array in
>>
>> when running PHP5, yet the same files didn't produce this error when
>> running PHP5 on my old machine and they also run fine remotely on my
>> server with PHP5. Any ideas?
>
> It sounds as if argument #1 is not an array! (Sorry to repeat the
> obvious... ;) ) What is the code (mimimal) leading up to the array_merge()
> call, i.e. where/how is argumeny #1 created?
>
> As for the error, did you have error reporting disabled on the old
> server(s)?

No, I didnt change anything. Either in my php files or in wamp, I keep the
same install file. I just can't understand why these errors didn't appear on
my old machine but do on this.


.



Relevant Pages

  • mod_python fails to load under wamp
    ... Am using WAMP5 and python 2.4.3. ... I tried to install mod_python 3.2.5 ... When i tried starting wamp, ...
    (comp.lang.python)
  • Re: Local webserver for testing, needed
    ... WAMP you were in fact running a full-blown webserver. ... Apache is a webserver, ... On Debian Etch you would need to install apache2, php5, ...
    (Debian-User)
  • Re: new to PHP -- basic questions...
    ... Erwin Moller wrote: ... A few ready-to-go installers can be found to install the whole shebang ... I do want to make db-connections (already have MySQL installed and make connections to it from both Tomcat and stand-alone java classes.. ... so WAMP doesn't make much sense for me does it? ...
    (comp.lang.php)