• eCommerce
  • Social and Community Suite
  • Content Management
  • RSS Extensions
  • VirtueMart Extensions
Follow us on Twitter   Join The Factory on the New Digg  
(0) | Login | Register | Lost Password?
Username: Password:  
Home
Our Products
Joomla 1.7.x  (23) & J!1.6.x
Joomla 1.5.x (28)
Joomla 1.0.x (17)
Factory Club Extensions (7)
Drupal, Elxis, MODx (6)
Windows Gadgets for J! (11)
Free Templates (4)
All Products (92)
Documentation
Tweets
Forum
Contact Us
Terms & Conditions
How to Buy Guide
Customers FAQ's
Updates & Upgrades
About Us
The Factory Demo Server for Joomla Extensions
Money Back Guarantee
Payment Methods for Joomla Extensions
Follow us on Facebook

Latest Tweets

  • Join us at the Joomladay UK!
  • The Factory Extensions Joomla Compatibility Chart
  • Love Factory 2.4 for Joomla 1.7
  • Love Factory - Memberships [VIDEO]
  • Love Factory - Custom Fields Integration [VIDEO]
  • Love Factory - Google Maps Integration [VIDEO]
  • Love Factory - Administrator Guide [VIDEO]
  • Love Factory - Memberships
  • Collection Factory for Joomla 1.6 with CB support
  • Reverse Auction Factory 1.5.9
 
   Home   Help Search Login Register  
The Factory > Forum > Social & Community Factory Suite for Joomla CMS. > HOT or NOT Deluxe Factory > Fatal error: Call to undefined function: str_ireplace()
Pages: [1]
« previous next »
  Print  
Author Topic: Fatal error: Call to undefined function: str_ireplace()  (Read 2280 times)
dermaglow
Newbie
*
Posts: 9


View Profile
Fatal error: Call to undefined function: str_ireplace()
« on: December 04, 2009, 10:20:31 pm »

Fatal error: Call to undefined function: str_ireplace() in /homepages/**/**********/htdocs/*************/administrator/components/com_hotornot/models/image.php on line 379

This error appears when approving images in admin. It does NOT appear when un-approving them.

I have set PHP5 using my .htaccess file.

What's UP?!
Logged
alex.d
The Factory Staff
Hero Member
*
Posts: 1469


Senior Developer


View Profile WWW
Re: Fatal error: Call to undefined function: str_ireplace()
« Reply #1 on: December 07, 2009, 10:28:45 am »

Hello!

Please edit:
- [Joomla dir]/administrator/components/com_hotornot/models/image.php and change lines:
379 from
Quote
$subject = str_ireplace($search, $replace, $subject);
to
Quote
$subject = str_replace($search, $replace, $subject);

and 380 from
Quote
$message = str_ireplace($search, $replace, $message);
to
Quote
$message = str_replace($search, $replace, $message);

- [Joomla dir]/components/com_hotornot/models/comment.php and change lines:
114 from
Quote
$subject = str_ireplace($search, $replace, $subject);
to
Quote
$subject = str_replace($search, $replace, $subject);

and 115 from
Quote
$message = str_ireplace($search, $replace, $message);
to
Quote
$message = str_replace($search, $replace, $message);

Just make sure that the notification messages and subjects contain the replacement tags exactly as written in the legend box (don't change the letter case).
Logged

The Factory's Development Team member.
Pages: [1]
  Print  
« previous next »
 
Jump to:  

Loading...
Joomla Extension - RSS Factory Manager  Joomla Extension - EBook Factory  Joomla Extension - Briefcase Factory  Joomla Extension - Auctions Factory  Joomla Module - RSS Contextual  Joomla Module - Exchange Factory (Europe / EURO)  Joomla Module - Exchange Factory (Romania/ RON)  Joomla Custom Extensions Development   Free Joomla Extensions  Joomla Extension - RSS Factory Pro (Enhanced Version)  Joomla Virtuemart Payment Plugin - Gecad (EPayment.ro)  Joomla Module - Mosimage / Image Module  Joomla Extension - Reverse Auction Factory (Lowest Bidder Auctions)  Joomla Extension - Article Factory Manager  Joomla Module - Lavalamp Menu  Joomla Module - RSS Image Extractor  Joomla Module - Exchange Factory (Europe / EURO) for Joomla 1.0.15  Joomla Module - Exchange Factory (Romania / RON) for Joomla 1.0.15  Joomla Module - Top Movies (IMDB)   Joomla Module - EBay Latest Auctions  Auction Factory Standalone PHP script