This is a discussion on RSS Feed 0.1 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; From php 5.2 the function ereg() is deprecated. Using 2.2a my server reported this error several time. To fix it ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| To fix it replace on line 266 if(ereg('HTTP_(.+)',$h,$hp)){ with if(preg_match('/HTTP_(.+)/',$h,$hp)){ I also noticed the feed was not valid because the string is not generated on the top of the rss file If you notice that remove this line 306-307: echo '' . "n"; echo '' . "n"; Also on line 328 remove the © carachter from the tag Attached the modified file More...
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RSS Feed 0.1 | michael_s | New osCommerce Contributions | 0 | 08-02-2009 03:11 PM |
| RSS Feed 0.1 | michael_s | New osCommerce Contributions | 0 | 05-12-2008 11:00 AM |
| RSS Feed 0.1 | michael_s | New osCommerce Contributions | 0 | 02-09-2008 06:01 AM |
| RSS Feed 0.1 | michael_s | New osCommerce Contributions | 0 | 10-10-2007 08:36 AM |
| RSS Feed 0.1 | michael_s | New osCommerce Contributions | 0 | 08-04-2007 04:11 AM |