Shopping Cart Operations > Built-in Features
Data:Export: error AbanteCart core v.1.2.10 file_get_contents(): Filename
Bewitching:
Greetings!
Fresh install of v.1.2.10
Learning how everything works before I build a shop with it :)
(I've played with Zen Cart, Open Cart, Presta, so I kinda know my way around.)
I'm finding AbanteCart Cart to be very user friendly. I appreciate not having to mess with code or core files for simple changes
My issue:
I am assuming, perhaps wrongly, that when I do a data export, there should be a pop-up that lets me choose a folder on my computer to place the downloaded files.
I can access the file, but only by retrieving via FTP.
Within the system/data folder there is a tar file: export_02052017_113239.tar that contains a file: export_02052017_113239, but no extension to the file such as csv.. etc
And a file folder: export_02052017_113239 that DOES contain the csv file
These are the errors I found in the error.txt file:
2017-05-02 11:34:00 - warning:
AbanteCart core v.1.2.10 file_get_contents(): Filename cannot be empty in <b>/xxx/xxx/xxx/core/lib/targz.php</b> on line <b>168</b>
2017-05-02 11:34:00
App Error: AbanteCart core v.1.2.10 Error:
cannot to pack /xxx/xxx/xxx/xxx/system/data/export_02052017_113239.tar.gz in /xxx/xxx/xxx/xxx/core/lib/data.php on line 1568
2017-05-02 11:34:00 - warning: AbanteCart core v.1.2.10 file_get_contents(/xxx/xxx/xxx/system/data/export_02052017_113239.tar.gz): failed to open stream:
No such file or directory in <b>/hxxx/xxx/xxx/xxx/core/lib/data.php</b> on line <b>269</b>
Error: cannot to pack /xxx/xxx/xxx/xxx/system/data/export_02052017_120257.tar.gz
Any suggestions? I am comfortable editing files as long as I am told what to look for and what to replace/correct.
Thanks!
Kat
abolabo:
can you please check permissions for directory /public_html/admin/system and all it's subdirectories? it must be writable for php
Bewitching:
abolabo, thanks for the reply!
I haven't changed any of the folder/file permissions since I installed.
System and Data folders have 755 permissions.
Temp and backup folders have 777 permissions, as did the tar files within data folder before I downloaded and deleted them.
Those 777 permissions have me a bit concerned. Are they supposed to be that wide open and available? Seems like a security issue.
Thank again for your help,
Kat
abolabo:
--- Quote from: Bewitching on May 03, 2017, 09:12:29 AM --- Seems like a security issue.
--- End quote ---
what about security_mod for apache? Do you have it installed on your host?
Bewitching:
I'm Running PHP 7.0 CGI
output_buffering = 4096;
magic_quotes_gpc = Off;
register_globals = Off;
default_charset = UTF-8;
memory_limit = 128M;
max_execution_time = 18000;
upload_max_filesize = 100M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_cookies = On;
session.use_trans_sid = Off;
session.gc_maxlifetime = 12000000;
apc.enabled = 0;
Navigation
[0] Message Index
[#] Next page
Go to full version