Joomla 2.4 Error in Banners.php

This forum is for issues with installing Joomla! 2.5 (All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5.) on IIS webservers.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
arman_erfani
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jun 17, 2012 4:02 pm

Joomla 2.4 Error in Banners.php

Post by arman_erfani » Sun Jun 17, 2012 4:21 pm

hi,
I installed joomla2.4 on my own computer, browsing the home page I face this error
PHP Notice: Array to string conversion in C:\inetpub\wwwroot\diid\components\com_banners\models\banners.php on line 44
PHP Notice: Array to string conversion in C:\inetpub\wwwroot\diid\components\com_banners\models\banners.php on line 45
here are some info that might be useful:

OS:windows7, IIS7
php 5.4.4
db: mysql5, char-set: utf8

FYI:I had another problem in saving configuration file that was solved with patches (strict_config.patch,28536.patch ).

Please let me know if it's related to my server setting or the code itself.
Thank you in advanced
Last edited by humvee on Sun Jun 17, 2012 5:58 pm, edited 1 time in total.
Reason: Marked Resolved

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Joomla 2.4 Error in Banners.php

Post by humvee » Sun Jun 17, 2012 5:37 pm

This is primarily an issue with a PHP Bug in the 5.4.x series of releases.
Suggest you step the PHP version back to 5.3.x as at the moment there do not seem to be any concrete solutions to this.

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Joomla 2.4 Error in Banners.php

Post by humvee » Sun Jun 17, 2012 5:37 pm

[Mod note: Moved from General Forum to IIS Installation Forum;]

arman_erfani
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jun 17, 2012 4:02 pm

Re: Joomla 2.4 Error in Banners.php

Post by arman_erfani » Sun Jun 17, 2012 5:53 pm

[Solved!]
I downgrade the php to 5.3.14 as you said and the problem solved.

Thank you so much

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Joomla 2.4 Error in Banners.php

Post by humvee » Sun Jun 17, 2012 5:58 pm

arman_erfani wrote:[Solved!]
I downgrade the php to 5.3.14 as you said and the problem solved.

Thank you so much
You are more than welcome. Glad it worked out quickly for you.


Locked

Return to “Joomla! 2.5 on IIS webserver”