Jump to content

 

Metatech

Member Since 19 Sep 2006
Offline Last Active Feb 12 2008 07:01 PM
-----

Posts I've Made

In Topic: Google Sitemap Generator

18 April 2007 - 01:49 PM

I removed the 'n' and still got the same error :(

In Topic: Google Sitemap Generator

18 April 2007 - 06:10 AM

// process categories 
foreach ($categories as $category) {
$link = utf8_encode(htmlentities("$http_location/$index_script?$target_name=categories&category_id=$category"));
echo <<<LINKS
<url>
<loc>$link</loc>
<lastmod>$lastmod</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url>\n
LINKS;
}


I think the problem is this section of code. But I'm not sure :confused:

In Topic: Google Sitemap Generator

17 April 2007 - 01:52 PM

Try coding EVERYTHING in notepad, most editors will add a few spaces where they don't belong and so you recieve a few errors. I can't guarantee that this is the case but I can't seem to think of anything else.


I did code it all in notepad :(

I even re-coded it and uploaded it all again, but still got the same error.

In Topic: Google Sitemap Generator

17 April 2007 - 10:26 AM

Hi,

I followed the steps exactly, got this error:

Parse error: syntax error, unexpected T_SL in d:\InetPub\wwwroot\metatech.co.za\html\cart\include\customer\google_sitemap.php on line 22

Sitemap URL:

http://www.metatech....=google_sitemap

Any help would be appreciated.

In Topic: MOD: Form Image Verification (CAPTCHA)

17 April 2007 - 08:19 AM

Fixed it.

Thanks so much zardos!! :)