You are here: Re: Warning: array_merge() « All PHP « IT news, forums, messages
Re: Warning: array_merge()

Posted by mark on 09/27/05 17:19

"Oli Filth" <catch@olifilth.co.uk> wrote in message
news:3V_Ze.13$K62.6@newsfe1-win.ntli.net...
> 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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация