Delete don't work

Permalink Browser Info Environment
Hi,

I trying to delete products using xml file and get error "Error reading XML file. Check log for details." Logs dont say anything but same generic message .

My xml file snippet

<?xml version="1.0" encoding="UTF-8"?>
<products>
  <product>
    <name><![CDATA[ Sviezias Testas4sem]]></name>
  </product>
  <product>
    <name><![CDATA[ Sviezias Testas2]]></name>
  </product>
  <product>
    <name><![CDATA[ Sviezias Testas]]></name>
  </product>
  <product>
    <name><![CDATA[1160]]></name>
  </product>
</products>


also tried without CDATA

Type: Pre-Sale
Status: In Progress
vadimas53994
View Replies:
tbcrowe replied on at Permalink Reply
tbcrowe
I tested your XML file. I don't see anything wrong with it. Import recognized four products in the file and attempted to delete them as it should have (they didn't exist on my test system so no products were actually deleted, of course).

There will be a different error in your concrete5 log. The error "Error reading XML file. Check log for details." will not be output to that log. There may be similar error, though; either 1) "Import Error: Invalid XML file. Check the following errors:", or 2) "Import Error: error parsing XML file."

As I can't reproduce the problem and the XML file appears correct, I only have two suggestions 1) verify that the file is not encoded in some unusual encoding that might be tripping up the XML parser, and 2) double check the concrete5 logs to confirm that there isn't another error there that explains more about what the problem is.

concrete5 Environment Information

# concrete5 Version
5.6.3.3

# concrete5 Packages
eCommerce (2.8.15), eCommerce Import (2.4.11), Picmonkey Image Editor (1.01).

# concrete5 Overrides
blocks/page_list, blocks/autonav, elements/files, helpers/whomedeco.png, helpers/mail.php, languages/sl_SI, languages/ja_JP, languages/nl_NL, languages/de_DE, languages/fi_FI, languages/fa_IR, languages/it_IT, languages/pt_PT, languages/es_ES, languages/es_AR, languages/ru_RU, languages/ro_RO, languages/sk_SK, languages/zh_TW, languages/tr_TR, languages/da_DK, languages/nb_NO, languages/es_PE, languages/es_MX, languages/ar, languages/el_GR, languages/sv_SE, languages/vi_VN, languages/fr_FR, languages/cs_CZ, languages/lt_LT, themes/whomedeco

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.12

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, phalcon, Phar, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib.

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 300
max_input_vars - 10000
memory_limit - 256M
post_max_size - 64M
sql.safe_mode - Off
upload_max_filesize - 64M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.