Show Posts


Messages - naturessa

Pages: [1] 2
1
Support / Re: How to Import database from old installation to a new one.
« on: October 11, 2015, 04:44:13 PM »
I've tried to install version 1.1.9 didn't work,
system/logs/error.txt  showed error:

Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/store/system/cache/

Folder "cache" was 777 with right group and user-owner, accessible for writing for all users - 100%.

Tried many times with different folder permissions, didn't work.

Then I realized that I have a new php version, (had already this issue on my server before, Dmitriy fixed it)
and I changed in core/lib/cache.php

$cache_files = glob( DIR_CACHE. '*/*', GLOB_NOSORT);
if(!is_array($cache_files)

to

$cache_files = glob( DIR_CACHE. '*/*', GLOB_NOSORT);
if(!is_array($cache_files) || !is_writeable(DIR_CACHE))

And then installation completed successfully!

Imported all data from old sql, transferred pictures folders and storefront.
And now my old site is up again!

Had problem with additional languages, but also fixed them..

Thx webdevmerc for advises.
Thx abolabo for fixing "cache" problem

2
Support / Re: How to Import database from old installation to a new one.
« on: October 11, 2015, 11:57:02 AM »
core/version.php

<?php
define('MASTER_VERSION', '1');
define('MINOR_VERSION', '1');
define('VERSION_BUILT', '9');

I guess it means I had version 1.1.9

3
Support / Re: How to Import database from old installation to a new one.
« on: October 11, 2015, 11:45:32 AM »
I haven't tried it myself, but assuming you have access to PhpMyadmin, a way I would do this is install the new Abantecart version with sample data...export the data...Look at how the columns are setup.

Afterwards, get my old data from the old system, convert all the table data to what the new system wants, re-import.

This doesn't really install anything from the old set and is time consuming, but it's what I'd do since importing and having constant errors is a worst situation IMO than taking the painstaking time to clean up the old data.

Another method of course is to install your previous version of Abantecart.  Import all the data in that version, then slowly upgrade every version that was missed to the latest spec.  This might be easier and probably worth a look as well since as your system isn't live, if it doesn't work, it may save you a lot of time depending on how much conversion you'd have to do with the 1st method above.

Thank you, I like the second method you mention.
I would try it. I have PhpMyadmin, so I'll import all data with the right prefix from old database.

Where to find which version I had before? :)

4
Support / How to Import database from old installation to a new one.
« on: October 11, 2015, 05:00:27 AM »
Just wondering is it anyway to restore store from old abantecart database.
I had a store a year ago, I have all files saved from server + SQL database.
Can I import this database somehow to a new store on a new domain?
I have config file from old store with old details.
The old domain is not exist. Prefix was ab_ in db before, now abc_.

Ive tried to import old database to a new one and to change prefix to old one ab_ , but this method doesn't work for me, shows critical errors.

I can not do a backup in old store, as its not live anymore. I have just files + database from it.
Thanks in advance.

5
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: October 08, 2015, 02:51:03 PM »

 made them 777 www-data or root for user and group.
Nothing helps..


folder "cache" and "system" 777 www-data, as I already tried before, doesn't help.

Nothing stops PHP to create folder "settings" and three files inside.

6
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: October 08, 2015, 11:00:54 AM »
I've sent details in PM
Thank you.

7
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: October 07, 2015, 06:34:11 AM »
Nothing changed...

Still can not enable cache option... in settings
no error shows, as usual: looks like saved successfully, but after page refresh shows not saved again.

what change is that no "index.html" file anymore (as I deleted everything in cache as you asked), folder "settings" was recreated with three files inside.

When clearing configuration cache shows as usual:


Message status:
    critical

Date:
    10/07/2015 01:31:07 PM

Number of repetitions:
    2

Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back.

8
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: October 06, 2015, 01:13:14 PM »
in admin panel
system/settings/system
Cache enabled (Can't make "ON") saved successfully as "ON", but after page refresh doesn't show as saved.

all other settings are saved correctly.

9
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: October 06, 2015, 01:06:48 PM »
May be I cant explain perfectly, not sure why you can't get what I mean.

I already wrote this folders are 777 and all subfolders.
folder cache/settings/ has files inside and they are update automatically everyday.


"Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back."
which shows when I clean cache for "Configuration"  - System and store configurations

Set 0777 for system/cache/ directory and subdirectories

The QUESTION IS THE SAME:

Does anyone knows, why just [cache enabled] "ON" doesn't want to be saved? For all other settings, changes are saving correctly...

folders are 777 and subfolders too.

10
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: October 03, 2015, 10:52:55 AM »
Does anyone knows, why just [cache enabled] "ON" doesn't want to be saved? For all other settings, changes are saving correctly...

I can not change it to "ON", after page refresh show "OFF".

I think this is a reason for error:
"Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back."
which shows when I clean cache for "Configuration"  - System and store configurations

P.S.: I've updated the helper file, thx.

11
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: September 28, 2015, 01:52:19 AM »
So, no help at all?
no one knows, why just cache enabled "ON" doesn't want to be saved? For all other settings, changes are saving correctly...

eCommerce Core, thank you, but what you write is obvious, It's first thing I've done 4 days ago, and this was checked hundreds times already by me, I need real solution. I've read the installation instruction by myself.


After that set below directories and all files/dirs under to read/write/execute (777)

system/cache
system/logs
system/cache
image
image/thumbnails
download
extensions (only if you plane to install extensions)
resources
admin/system/backup


1. why would you write:
image
image/thumbnails

"all files/dirs under to read/write/execute"
if all files/dirs under "image" would be 777, means image/thumbnails already 777...

2. Following installation guide, it should be just directories 777,
then why /image/thumbnails/index.html all the sudden required to be 777?
this file there just to hide the directory from a user access.

12
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: September 25, 2015, 09:03:38 AM »
When I try to enable cache enable to switch to "on" shows: Saved successfully, but if I update the page, shows old value "off", like it was not saved.

So it's not saving the option cache enable "on" in settings.
Where this configuration is kept? Which file? May be I should check permission for it.

Thank you.

13
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: September 25, 2015, 08:49:25 AM »
Found out, which cache return error when I try to clean it.
 Error return just by one of them:

Configuration    System and store configurations

14
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: September 25, 2015, 08:44:51 AM »
Made cache enable in settings, didnt help. Shows critical error, when clearing all cash.

15
General Support / Re: Just installed 1.2.4 Thumbnail images error.
« on: September 25, 2015, 08:42:05 AM »
Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back.

I've set chmod 777 for files
    
/system/cache/index.html
/system/logs/index.html

But it didn't help...

What does it mean? "enable setting back" How, I can do it.
The error shows, when I clean all cash data, folders and sub-folders are 777..

Pages: [1] 2

Powered by SMFPacks Social Login Mod