Module: Search Engine Friendly URL's
Posted by Martijn van Maasakkers
Re: Module: Search Engine Friendly URL's February 25, 2009 09:32PM |
Registered: 15 years ago Posts: 3 |
Martin, I'm having problems with this module. When I use it as is, I get this error:
I have since surrounded the following code as a "comment" (i.e. /* */ ) until I know how to fix it:
So far, no issues after having done so, although I must admit my PHP knowledge is extremely limited. Any ideas as to what I should do?
Quote
[ Warning: Invalid argument supplied for foreach() in
/home/drumpler/public_html/philosophicaldebate/phorum/mods/sef_urls/sef_urls.php on line 399
Warning: Cannot modify header information - headers already sent by
(output started at /home/drumpler/public_html/philosophicaldebate/phorum/mods/
sef_urls/sef_urls.php:399) in
/tmp/tpl-pdebate-header-586a80df63279987aead7c42e28097ea.php-stage2 on line 5 ]
I have since surrounded the following code as a "comment" (i.e. /* */ ) until I know how to fix it:
Language: PHPforeach($PHORUM[';DATA';][';BREADCRUMBS';] as $intID => $arrBreadCrumb) { if($arrBreadCrumb[';TYPE';] == "forum") { $PHORUM[';DATA';][';BREADCRUMBS';][$intID][';URL';] = str_replace(';_name_';, sef_urls_convert($arrBreadCrumb[';TEXT';]), $arrBreadCrumb[';URL';]); } }
So far, no issues after having done so, although I must admit my PHP knowledge is extremely limited. Any ideas as to what I should do?
March 04, 2009 09:21AM |
Registered: 16 years ago Posts: 31 |
March 04, 2009 09:33AM |
Registered: 16 years ago Posts: 31 |
March 04, 2009 09:43AM |
Registered: 16 years ago Posts: 31 |
March 04, 2009 09:47AM |
Registered: 16 years ago Posts: 31 |
March 04, 2009 09:54AM |
Registered: 16 years ago Posts: 31 |
Re: Module: Search Engine Friendly URL's March 08, 2009 03:47AM |
Registered: 15 years ago Posts: 3 |
March 08, 2009 06:04AM |
Registered: 16 years ago Posts: 31 |
Re: Module: Search Engine Friendly URL's March 09, 2009 10:51AM |
Registered: 16 years ago Posts: 6 |
March 09, 2009 11:06AM |
Registered: 16 years ago Posts: 31 |
Sorry, only registered users may post in this forum.