Show Posts


Messages - smallfish

Pages: 1 ... 3 4 [5] 6 7 ... 9
61
Support / Re: change language at backend which will open a blank page
« on: March 12, 2015, 01:57:50 AM »
Hi
I am using Chrome.
In my operations,
1. go to install spanish
2. go to system->localization->languages, setup status on and load missing data from english,
after that click language icon to change from english to spanish, then blank screen appear.

This time, I go to install russian with IE.
no blank screen, but the backend jump to storefront....


62
Support / change language at backend which will open a blank page
« on: March 12, 2015, 01:25:42 AM »
I have setup the spanish in the backend. When I click the language icon to change language from english to spanish.
Then it open a blank page....
I need to click the back button from the broswer to refresh the screen. Then it works properly again.
This is a bug, hope abantecart team can fix it.
I have tested this both on my server and the abantecart demo.


63
try to modify /core/lib/cache.php on line 53

change       
$cache_files = glob( DIR_CACHE. '*/*', GLOB_NOSORT);
to
$cache_files = glob( DIR_CACHE. '/', GLOB_NOSORT);

64
General Support / Re: Installaion Error
« on: February 19, 2014, 06:32:00 AM »
It seems that I have fixed the problem by removing character "*' in the following line.

modify    $cache_files = glob( DIR_CACHE. '*/*', GLOB_NOSORT);

to
   $cache_files = glob( DIR_CACHE. '/*', GLOB_NOSORT);

It works now.

Besides, after I have installed abantecart successfully. I also have found that there is missing "?>" in the /system/config.php file.
Please also fix it.


65
General Support / Re: Installaion Error
« on: February 19, 2014, 06:27:30 AM »
yes. cause is glob function result. But i can not to understand why it returns false. Can't to reproduce.. can you help me with that?

How can I help?

66
General Support / Re: Installaion Error
« on: February 19, 2014, 05:59:52 AM »
Yes! It is writeable.

But I have added this line. ( if(is_array($cache_files)) { )
It seems that the function glob() can't return the value (array) to the $cache_files.

It works for me to add the line : if(is_array($cache_files)) {

Thank you!

     public function __construct() {
      $this->registry = Registry::getInstance ();
      $cache_files = glob( DIR_CACHE. '*/*', GLOB_NOSORT);
      if(is_array($cache_files)) {
      foreach ($cache_files as $file) {
         //first of all check if file expired. delete it if needed
         $file_time = filemtime($file);
         if ( (time() - $file_time) > $this->expire ) {
            if (file_exists($file)) {
               unlink($file);
               continue;
            }
         }
         //build cache map as array {cache_file_name_without_timestamp=>expire_time}
         $ch_base = substr($file,0,-11);
         $this->cache_map[$ch_base] = $file_time + $this->expire;
      }
      }
     }

67
General Support / Re: Installaion Error
« on: February 19, 2014, 02:59:52 AM »
I also have this problem at installation screen step 3.

=======================
Sorry, but error occurred during installation:
OK: {"ret_code":50}
Name   Info
2::warning
Invalid argument supplied for foreach() in /var/www/core/lib/cache.php on line 52
=======================

I am using Debian 7.02 server with PHP-FPM Php 5.3.28

68
I also has this problem.

69
Customization help / Allow checkout currencies
« on: September 13, 2013, 02:34:12 AM »
I have setup 5 currencies, but I just want to allow 2 currencies can be checked out. The other 3 currencies are just for reference only.
How can I do it? Thank you!

70
Support / Re: about Data Listing block - custom category
« on: August 25, 2013, 05:12:39 PM »
I am not familiar with programming. In fact, I want abantecart to add this block.
Anyway, thank you for your instructions. I will try to do it myself later.
I think that I can copy the "latest block" and modify it to become the block which can fulfill my needs.
Thank you!

71
Support / Re: about Data Listing block - custom category
« on: August 22, 2013, 09:03:52 PM »
You can modify SQL to filter product by category in function getLatestProducts

file: storefront/model/catalog/product.php

Code: [Select]
public function getLatestProducts($limit) {
]]

I think that you misunderstand my question.
I want the data listing block (at front store) to show the products instead of just show the category name there when I choose the data source from the "custom category". For example, I want to show 8 rows (8 categories) and each category show 4 latest items at the front store.
How can I do it? Thank you!

72
Support / about Data Listing block - custom category
« on: August 22, 2013, 12:23:48 PM »
I would like to create a few custom category blocks to display the products under the specified category.
However, the block display the category in the block only but not the products in the specified category.
This is not the format which is requested by me.
I want to show all the latest products in each custom category. How can I do it?
Can abantecart modify the code to support this requirement (add an option there to display the products under the category, and only allow to display a limited no. of products only (ie, 4 to 8 products only)). Displaying the products  in the specified category is more useful than displaying a category.

73
Support / Re: Language Definitions bug
« on: August 14, 2013, 01:09:05 AM »
You can test it by create a new text and set it to Storefront. But it can't be save. The system will force it to save as "admin".
Besides, when change to other language and then back to the original language, the value of the default language will be cleared.

hmm..i created language definitions for storefront without any problems. Are you sure that you do not have duplicates?

Also... what is settings for language do you have? i mean system->settings->details: Autotranslate Status, Source language for translation, Text Translation Method

I have tested from abantecart demo again. The value was cleared (in edit mode) when I tried to change the section from "storefront" to "admin or via versa.
The demo can create a new text with "storefront" section. It seems work properly.
But abantecart cart should prompt a warning message if user change the section from admin to storefront or via versa and avoid system to clear the value.

74
Support / Re: Language Definitions bug
« on: August 12, 2013, 04:41:06 PM »
i think it's a bug of UI. You cannot to change section of definitions after creating of language definition.
Delete and recreate it for storefront section.
we'll consider this misunderstanding.
Thank you.

You can test it by create a new text and set it to Storefront. But it can't be save. The system will force it to save as "admin".
Besides, when change to other language and then back to the original language, the value of the default language will be cleared.

75
Support / Re: abantecart doesn't run properly under php 5.4
« on: August 12, 2013, 04:37:27 PM »
i found this bug.
fix here.
Thanks.

Good! Thank you!

Pages: 1 ... 3 4 [5] 6 7 ... 9

Powered by SMFPacks Social Login Mod