Page 1 of 1

Banner Mod Errors

PostPosted: Sat Jan 03, 2009 6:11 am
Author: richiebgood
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/*****/admin/admin_banner.php on line 737

I get this error when adding or editing a banner on my site... but they still work.

The only problems I have with it is when I want a banner in a particular forum, that does not work unfortunately

Code: Select all
            message_die(GENERAL_ERROR, "Couldn't obtain forum list", "", __LINE__, __FILE__, $sql);           }  [color=#FF0000]*line 737*>[/color]       $forum_rows = array_merge($forum_rows,$db->sql_fetchrowset($result));           $db->sql_freeresult($result);
.

Re: Banner Mod Errors

PostPosted: Sat Jan 03, 2009 12:02 pm
Author: Helter

Re: Banner Mod Errors

PostPosted: Sat Jan 03, 2009 2:33 pm
Author: richiebgood
Checked all permissions, some were indeed not set correctly, but the error still persists. <img>

Re: Banner Mod Errors

PostPosted: Sat Jan 03, 2009 2:56 pm
Author: Helter
if the file permissions are now correct, delete your site caches, both in extreme styles and in IM Portal

Re: Banner Mod Errors

PostPosted: Sat Jan 03, 2009 4:01 pm
Author: richiebgood
"HelterSkelter" wrote:if the file permissions are now correct, delete your site caches, both in extreme styles and in IM Portal


Tried that, still nothing. I am currently uninstalling some mods that I added to IM that never use to see if they did it.

If it is any help, when adding a banner, at the banner placement section, I can see banner locations but the dropdown list for forums shows nothing.

Re: Banner Mod Errors

PostPosted: Mon Jan 05, 2009 5:59 am
Author: .QUACK.Major.Pain
Sounds like a corrupt file.
You would be looking for a file in your admin folder pertaining to banner posting.

File I can find is:

/admin/admin_banner.php

Also

/templates/{template}/admin/banner_edit_body.tpl

The last one I think is the file that works that page, but Helter may have another idea.

Re: Banner Mod Errors

PostPosted: Mon Jan 05, 2009 7:07 am
Author: richiebgood
".=QUACK=.Major.Pain" wrote:Sounds like a corrupt file.
You would be looking for a file in your admin folder pertaining to banner posting.

File I can find is:

/admin/admin_banner.php

Also

/templates/{template}/admin/banner_edit_body.tpl

The last one I think is the file that works that page, but Helter may have another idea.


thanks. what lines should I be looking at.... or just replace the files?

Re: Banner Mod Errors

PostPosted: Mon Jan 05, 2009 3:20 pm
Author: .QUACK.Major.Pain
Uploaded the entire file from a fresh download and replace it.

Re: Banner Mod Errors

PostPosted: Mon Jan 05, 2009 3:49 pm
Author: richiebgood
".=QUACK=.Major.Pain" wrote:Uploaded the entire file from a fresh download and replace it.



Nope, that didnt work either <img>

Re: Banner Mod Errors

PostPosted: Mon Jan 05, 2009 3:53 pm
Author: Helter
the only other thing I can think of that can cause errors with that mod is using broken js or html code as your banner image

Re: Banner Mod Errors

PostPosted: Mon Jan 05, 2009 4:05 pm
Author: richiebgood
"HelterSkelter" wrote:the only other thing I can think of that can cause errors with that mod is using broken js or html code as your banner image



Nope, even for the banners with the image link option, its the same.

Not to worry, though, its not a huge lose for me at the moment.