I'm using SimpleXml to parse xmls. Sadly I've approached XML zipped into tar.gz.
When i try to load this XML i get error
Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found in /home/
Is there any way to work on tared file? If not how can untar this and work on it (it's 12 MB tared file on outside server)?
Kindest regards
Related
I just install neo4j 3.2.3 on my windows notebook and I try to load csv file.
LOAD CSV WITH HEADERS FROM 'file:///test.csv' AS line
WITH toUpper(line.TEST_NAME) AS TEST_NAME
CREATE(TEST);
I got the following error:
Neo.ClientError.Statement.ExternalResourceFailed: Couldn't load the external resource at: file:/C:/Users/*****/Documents/Neo4j/default.graphdb/import/test.csv
I cannot locate the neo4j.conf or propriety files in the default.graphdb directories.
can someone help?
I'm on windows 10 neo4j 3.2.3.
I can load from url. but with the same file format, I failed to load from local.
LOAD CSV FROM "https://gist.githubusercontent.com/jexp/d788e117129c3730a042/raw/a147631215456d86a77edc7ec08c128b9ef05e3b/people_leading_empty.csv"
AS line
WITH line LIMIT 4
RETURN line
successful
with the same file save as .../Neo4j/default.graphdb/import/test1.csv
LOAD CSV WITH HEADERS FROM "file:///test1.csv" AS line
WITH line LIMIT 4
RETURN line
I got error:
Neo.ClientError.Statement.ExternalResourceFailed: Couldn't load the external resource at: file:/C:/Users/....../Documents/Neo4j/default.graphdb/import/test.csv
From the error message, it can locate the file. But cannot perform the LOAD from local.
I cannot locate the neo4j.conf or propriety files in the
default.graphdb directories.
According to the Neo4j docs, the neo4j.conf file is located in the directory <neo4j-home>\conf\neo4j.conf for zip packages and %APPDATA%\Neo4j Community Edition\neo4j.conf for desktop installation.
You should locate the configuration file and set the following line.
dbms.security.allow_csv_import_from_file_urls=true
The LOAD CSV operation in Neo4j can only load the UTF-8 format files, try to change the import file's format to UTF-8(save the .csv file as .csv(utf-8) type).
using everst theme and trying to upload megamenu extension and getting this error need help.....
CONNECT ERROR: Package file is invalid
Invalid package name, allowed: [a-zA-Z0-9_-] chars
Invalid version, should be like: x.x.x
Invalid stability
Invalid date, should be YYYY-DD-MM
Invalid channel URL
Empty authors section
Empty package contents section
what all you need to do is paste the extension key in link : http://freegento.com/ddl-magento-extension.php) and you can download the extension files. Than copy the extension files to root of the site
note : Take backup of files and database before doing any major changes
I'm using the Roo gem, and the following code:
Roo::Excel.new(file.path)
This raises the following exception:
Ole::Storage::FormatError: OLE2 signature is invalid
The file I'm using its a .xls, when I open it and re-saved it from LibreOffice it just works. Why is that?
I'm using mpdf in my codeigniter web app for converting one of my view as pdf and to attach it while sending email. I've downloaded and moved mpdf library to the library folder. But when i try to email the pdf, i'm getting the following warning:
A PHP Error was encountered
Severity: Warning
Message: require_once(/application/libraries/mpdf/includes/functions.php): failed to open stream: No such file or directory
Filename: mpdf/mpdf.php
Line Number: 55
But actually functions.php file is present in the `mpdf/includes/' folder. Can anyone find where am going wrong?
Use the APPPATH constant like this
require_once(APPATH."libraries/mpdf/includes/functions.php");
use this
require_once(APPPATH.'libraries/mpdf/includes/functions.php');
or
require_once(FCPATH.'application/libraries/mpdf/includes/functions.php');
The error is because Linux is case-sensitive in file names. Review that aspect in detail.
I just transferred my website to another server by using this guide: http://www.atwix.com/magento/moving-magento-to-another-server/
but when i access the it gives me this error. What does it means? what do i need to do to make it work?
Warning: include(Zend/Log.php) [function.include]: failed to open stream: No such file or directory in /var/www/site/lib/Varien/Autoload.php on line 93
Warning: include() [function.include]: Failed opening 'Zend/Log.php' for inclusion (include_path='/var/www/site/app/code/local:/var/www/site/app/code/community:/var/www/site/app/code/core:/var/www/site/lib:.:/usr/share/php:/usr/share/pear') in /var/www/site/lib/Varien/Autoload.php on line 93
Fatal error: Class 'Zend_Log' not found in /var/www/site/app/code/core/Mage/Core/functions.php on line 247
As far as i can see, it looks like the file in question can't be found at all. What to do is check the directory /www/work/newshop/lib/Zend and make sure the log file is within there. If not, double check your previous server and see if it's there as well. It's possible for you to have just missed it.
If it IS there, make sure permissions are set accordingly. eg; the log.php file should have it's permissions set to 644. (Read and Write for owner, Read for group and read for public)
did you remove the cache folder from Magento After moved your installation?
And wich PHP Version ist installed on the new Server?
Magento have already problem with php5.4 and php5.5 (reference: https://bugs.php.net/bug.php?id=62639)