Page 1 of 2

Sitemap error

Posted: Fri Apr 17, 2015 1:27 am
by evilfx
This page contains the following errors:

error on line 1 at column 242203: xmlParseEntityRef: no name
Below is a rendering of the page up to the first error.

Sitemap URL: http://teste.pekenada.com/sitemap.xml

help?

Re: Sitemap error

Posted: Fri Apr 17, 2015 4:01 am
by OSWorX
Seems something is wrong with your language.
Is it your main language or an additional?

Re: Sitemap error

Posted: Fri Apr 17, 2015 5:13 am
by evilfx
it happens regardless of the language :(

Re: Sitemap error

Posted: Fri Apr 17, 2015 6:36 pm
by evilfx
anyone ???

Re: Sitemap error

Posted: Tue Apr 28, 2015 6:14 pm
by evilfx
still having this problem. will anyone help me please?

Re: Sitemap error

Posted: Tue Apr 28, 2015 9:58 pm
by pm-netti
evilfx wrote:still having this problem. will anyone help me please?
You need install all your site languages.

Ps. You change to template `default`

Re: Sitemap error

Posted: Wed Apr 29, 2015 2:16 am
by OSWorX
In addition to pmnetti: did you install admin and catalog files or only one?
Looks like the catalog files are missing - or at least (had this at some customers) - the translation of an extension.

Re: Sitemap error

Posted: Wed Apr 29, 2015 11:29 pm
by evilfx
Hi, if i use the default template and english language the error is still there.
I installed an additional language, but if i select english it still won't work...

Re: Sitemap error

Posted: Thu Apr 30, 2015 12:43 am
by pm-netti
evilfx wrote:Hi, if i use the default template and english language the error is still there.
I installed an additional language, but if i select english it still won't work...
You go to database in cpanel > phpmyadmin.
See table language, what it read in column `code`?

Re: Sitemap error

Posted: Thu Apr 30, 2015 6:17 am
by evilfx
It reads: en

Re: Sitemap error

Posted: Thu Apr 30, 2015 5:23 pm
by pm-netti
evilfx wrote:It reads: en
Notice: Undefined index: en in /home/battlefi/public_html/teste/index.php on line 173
What read in file index.php line 173?

Re: Sitemap error

Posted: Sun May 03, 2015 7:24 pm
by evilfx

Code: Select all

$config->set('config_language_id', $languages[$code]['language_id']);

Re: Sitemap error

Posted: Sun May 03, 2015 8:04 pm
by pm-netti
evilfx wrote:

Code: Select all

$config->set('config_language_id', $languages[$code]['language_id']);
index.php, original line 132 ( your line about 135 ):

Code: Select all

$query = $db->query("SELECT * FROM `" . DB_PREFIX . "language` WHERE status = '1'");
What is your languages status? Disabled?
You see admin > Setting > Localisation > Language

Re: Sitemap error

Posted: Sun May 03, 2015 10:24 pm
by evilfx

Code: Select all

$query = $db->query("SELECT * FROM `" . DB_PREFIX . "language` WHERE status = '1'");
the language is enabled

Re: Sitemap error

Posted: Mon May 04, 2015 12:00 am
by pm-netti
evilfx wrote:

Code: Select all

$query = $db->query("SELECT * FROM `" . DB_PREFIX . "language` WHERE status = '1'");
the language is enabled
Sorry, see you this in Admin page?

Re: Sitemap error

Posted: Mon May 04, 2015 7:00 am
by evilfx
Yes it is enablen in the admin page

Re: Sitemap error

Posted: Mon May 04, 2015 6:28 pm
by pm-netti
evilfx wrote:Yes it is enablen in the admin page
Now this your front is work.
Your sitemap is not work, because image filename or title text is incorrect marks, eg. '&'

Re: Sitemap error

Posted: Tue May 05, 2015 5:46 pm
by evilfx
that was it, thanks!

Re: Sitemap error

Posted: Tue May 05, 2015 5:54 pm
by OSWorX
General valid for all image names, NEVER use:
1. no special chars, e.g.: !"§$%&/()=?
2. no Umlauts: äöüÄÖÜß
3. no spaces
Use either _ or -

That should everybody know, just common sense!

Operating a webshop is not only knowing his business.
The shopowner should also know the basics of a webserver and how to do some!
If not, hire a professional.
Fact.

Re: Sitemap error

Posted: Wed May 06, 2015 9:56 pm
by landonwiggs
I was having an issue with this as well thanks for posting!