ranoo Posted December 18, 2005 Posted December 18, 2005 Hello I have instaled several times the Rss feed and i receive the folowing error: Fatal error: Call to undefined function: iconv() in /home/hotcomp/public_html/rss.php on line 153 please can you tell me how can i fix this? I will paste here some part of the code from line 153: // Encodage en UTF-8$store_name = iconv('ISO-8859-15', 'UTF-8', $store_name); $rss_title = iconv('ISO-8859-15', 'UTF-8', $rss_title); $weblink = iconv('ISO-8859-15', 'UTF-8', $weblink); $description = iconv('ISO-8859-15', 'UTF-8', $description); $email_address = iconv('ISO-8859-15', 'UTF-8', $email_address); Thanks a lot
Guest Posted December 18, 2005 Posted December 18, 2005 what server your store is on? Windows or Linux? and what PHP version are you using. There some o/s dependencies for iconv functions.
ranoo Posted December 19, 2005 Author Posted December 19, 2005 Hello. Thanks for answer me. I use Linux and PHP Version 4.4.1 Do you know what else can i use, or how can i mak this rss to work? Thanks and regards Razvan
mylane Posted December 19, 2005 Posted December 19, 2005 same problem i got here... i actually got two errors one in the index page and the rss.php in the index page: Warning: reset(): Passed variable is not an array or object in /home/sapphire/public_html/carb/index.php on line 32 Warning: Variable passed to each() is not an array or object in /home/sapphire/public_html/carb/index.php on line 33 in the rss feed Fatal error: Call to undefined function: iconv() in /home/sapphire/public_html/carb/rss.php on line 153 im used linux and PHP version 4.3.10 Birds with same feathers, are same birds.
Guest Posted December 19, 2005 Posted December 19, 2005 Go to your osc admin panel->Tools->Server Info Search if the iconv library is installed. You should see something like: iconv iconv support enabled If not ask your host about it if there is an equivalent library supporting this.
mylane Posted December 20, 2005 Posted December 20, 2005 thanks mark, I already informed my webhosting company about this....seems that its not supported or enabled. Birds with same feathers, are same birds.
Guest Posted December 20, 2005 Posted December 20, 2005 I have the same issue. Is there any way around this? Any help would be GREATLY appreciated!!! Thanks in advance! Have a great day! Heather
ranoo Posted December 20, 2005 Author Posted December 20, 2005 hi try to speak with your hosting company to install h iconv module i have fixed mine
mylane Posted December 30, 2005 Posted December 30, 2005 hi guys... I already fixed my problem regarding iconv.... my problem now is i'm having errors in the index page once the store categories has been clicked... this is the error.... Warning: reset(): Passed variable is not an array or object in /home/sapphire/public_html/carb/index.php on line 30 Warning: Variable passed to each() is not an array or object in /home/sapphire/public_html/carb/index.php on line 31 Where exactly I should put this: 6. Add to the HTML header, at least on the index.php file: <?php reset($lng->catalog_languages); while (list($key, $value) = each($lng->catalog_languages)) { echo '<link rel="alternate" type="application/rss+xml" title="' . STORE_NAME . ' ' . BOX_INFORMATION_RSS . ' ' . $value['name'] . '" href="' . FILENAME_RSS . '?language=' . $key . '" />'; } ?> I inserted it after the <head>.... Please help. thanks guys.... Birds with same feathers, are same birds.
mylane Posted December 30, 2005 Posted December 30, 2005 i got it guys....thanks anyway :D Birds with same feathers, are same birds.
rubygirl Posted January 16, 2006 Posted January 16, 2006 i got it guys....thanks anyway :D getting the same errors on the index.php page - where did you end up putting this code? <?php reset($lng->catalog_languages); while (list($key, $value) = each($lng->catalog_languages)) { echo '<link rel="alternate" type="application/rss+xml" title="' . STORE_NAME . ' ' . BOX_INFORMATION_RSS . ' ' . $value['name'] . '" href="' . FILENAME_RSS . '?language=' . $key . '" />'; } ?> thanks!
mrgtec Posted February 5, 2006 Posted February 5, 2006 RubyGirl, You put the code in your catalog/includes/header.php. Before the last one of these: <?php } ?> Michael Michael
arames Posted May 22, 2006 Posted May 22, 2006 I have a strange T_String error, althouht there is NO ' in these lines. Here is the Error I get Parse error: parse error, unexpected T_STRING in /homepages/41/d6914/htdocs/shop/rss.php on line 30 and here is the line 27 to 34 // If the default of your catalog is not what you want in your RSS feed, then// please change this three constants: // Enter an appropriate title for your website define(MyDomain Shopping News, MyDomain Online Shopping Mall); // Enter your main shopping cart link define(www.MyDomain.com/shop/account.php, www.MyDomain.com); // Enter a description of your shopping cart define(Add to your Shopping Cart, MyDomain Shopping Mall); Thank you a million time in advance for your help. Regards, Arames T.
mikey boy Posted September 3, 2006 Posted September 3, 2006 I used this contrib rigt out of the box & it worked fine, even with my SEO URLs, but there is a BIG problem. It only covers the 20 or so items I have on my index page, not the 3,000+ other products in my site's database. Am I missing something? Am I doing somethign wrong? Or is there a way to set this up to cover them all. Isn't that what RSS is supposed to do? Confused! Help! Need water, whiskey & ice, GASP! Mikey boy. I have a strange T_String error, althouht there is NO ' in these lines. Here is the Error I get Parse error: parse error, unexpected T_STRING in /homepages/41/d6914/htdocs/shop/rss.php on line 30 and here is the line 27 to 34 Thank you a million time in advance for your help. Regards, Arames T.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.