Banner Mod Errors

Support for IntegraMOD 141

Moderator: Integra Moderator

Banner Mod Errors

PostAuthor: richiebgood » Sat Jan 03, 2009 6:11 am

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);
.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

Re: Banner Mod Errors

PostAuthor: Helter » Sat Jan 03, 2009 12:02 pm

"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Banner Mod Errors

PostAuthor: richiebgood » Sat Jan 03, 2009 2:33 pm

Checked all permissions, some were indeed not set correctly, but the error still persists. <img>

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

Re: Banner Mod Errors

PostAuthor: Helter » Sat Jan 03, 2009 2:56 pm

if the file permissions are now correct, delete your site caches, both in extreme styles and in IM Portal
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Banner Mod Errors

PostAuthor: richiebgood » Sat Jan 03, 2009 4:01 pm

"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.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

Re: Banner Mod Errors

PostAuthor: .QUACK.Major.Pain » Mon Jan 05, 2009 5:59 am

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.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Banner Mod Errors

PostAuthor: richiebgood » Mon Jan 05, 2009 7:07 am

".=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?

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

Re: Banner Mod Errors

PostAuthor: .QUACK.Major.Pain » Mon Jan 05, 2009 3:20 pm

Uploaded the entire file from a fresh download and replace it.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Banner Mod Errors

PostAuthor: richiebgood » Mon Jan 05, 2009 3:49 pm

".=QUACK=.Major.Pain" wrote:Uploaded the entire file from a fresh download and replace it.



Nope, that didnt work either <img>

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

Re: Banner Mod Errors

PostAuthor: Helter » Mon Jan 05, 2009 3:53 pm

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
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Banner Mod Errors

PostAuthor: richiebgood » Mon Jan 05, 2009 4:05 pm

"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.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]