Odd that it doesn't show up on my PHP 4.3.10 sites. Perhaps it's a PHP 5 thing since you're using xampp (which I also have, but I haven't done multipage searches on localhost with it).
In search.php change
array_merge($postvarslist, $getvarslist);
to
if (is_array($postvarslist)) $varslist = array_merge($postvarslist, $getvarslist); else $varslist = $getvarslist;
Comments on Search multipage problem
Beginner
Usergroup: Customer
Joined: Feb 19, 2005
Total Topics: 4
Total Comments: 8
Hi !
When i do a search and have multiple pages and then click on one of the next pages, i am always getting the following error:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in C:\Programme\apachefriends\xampp\htdocs\jewelry\search.php on line 44
Warning: Invalid argument supplied for foreach() in C:\Programme\apachefriends\xampp\htdocs\jewelry\search.php on line 45
The same message comes when i click on the number of links or comments in the user profile (then a search for all comments should come up)
Any help would be greatly appreciated
Thank you !
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Odd that it doesn't show up on my PHP 4.3.10 sites. Perhaps it's a PHP 5 thing since you're using xampp (which I also have, but I haven't done multipage searches on localhost with it).
In search.php change
to
Beginner
Usergroup: Customer
Joined: Feb 19, 2005
Total Topics: 4
Total Comments: 8
Yep, that did the job. Thanks, Paul - you rocks !