Jump to content

Foster

Members
  • Posts

    86
  • Joined

  • Last visited

    Never
  • Days Won

    19

Posts posted by Foster

  1. It's weird,

    Do you tried on your local computer, because I tested the lastest release and I have no problem.

    Do you use Cpanel ? If yes you can install via Cpanel ClicShopping, it's automatic.

     

    Note . All the script is called on CDN, If you have no connection with internet, you wil have a problem. I suppose it's to reduce the code by the developers,

    Also, you can try something,

    Find this function and put in comment these elements, One time I used another software with a lot code line on the same domain and I have been a problem

     

        /**
         * Calculate the size of a directory by iterating its contents
         * @Access public
         * @Return size if the directory
         */
        Public Static function getDirSize(): string
        {
    /*
          $path = CLICSHOPPING::getConfig('dir_root', 'Shop');
          $path = rtrim(str_replace('\\', '/', $path), '/');
          $bytestotal = 0;
          $path = realpath($path);
    
          if ($path !== false && $path != '' && file_exists($path)) {
            foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path, \FilesystemIterator::SKIP_DOTS)) as $object) {
              $bytestotal += $object->getSize();
            }
          }
    */
          $bytestotal = '';
    
          return $bytestotal;
        }

     

     

     

  2. Hello @AlwaysSkint,

    I understand you point of view as service provider.

    But the php evolution has some bug fix and secure fix.You can say your server is secure after some years use the same php version. Maybe your code is secure, but not your php version.

    Also all the ClicShopping version updated fix some bugs identified in the time and at the moment all software need a break to follow the technology.
    Maintain some different solution for free is not relevant in my sense.

     

     

    • Like 1
  3. Hello,

    Yes congratulation to the team for this new release.

    The dashboard has a new script, very light and not use jQuery, It's better like that in my sense. Now all the browser can manage some function. The importance of Jquery start to decrease.

    FontAwesome has been removed also.

    Now just to have a bootstrap beta 2, I ask me question. It will no better to have the official release ?

     

  4. Hello,

     

    I am looking something allowing to check the number of character inside a textarea without jquery. There are some solution, but I like the code below because he is very short.

    It's for some people want to do create a form as contact, feedback, reviews, comment ... It can be useful

    If the number of character is not reach, a pop up appear on the screen.

     

      <form action="mango.php" method="post" id="form12" onsubmit="var text = document.getElementById('checkField').value; if(text.length < 80) { alert('put more info!'); return false; } return true;">
    <textarea rows="10" cols="80" maxlength="200" required id="checkField" > </textarea>
    </form>

     

    • Like 2
    • Thanks 2
  5. Hello,

     

    you can try this

     

          if ($data['customers_group_id'] > 0) {  
            $sql_data_array = [
              'customers_group_id' => (int)$data['customers_group_id'],
              'customers_group_name' => $data['customers_group_name'],
              'group_tax' => $data['customers_group_tax_exempt'],
              'group_order_taxe' => (int)$data['customers_group_show_tax']
            ];
          }

     

    • Thanks 1
  6. Hello,

     

    I understand you will have a infrastructure problem. Your experience will help some other !

    About maria Db 10.4, I am not installed and I am 10.3.x currently  (recommended for installation).

    The test are been on ubuntu and debian, use mariadb 10.3.x  by default if I remeber well.

     

    I make some mistake like that and  I do not understand why  a software can not work. If the infrastructure is too old not work, if you use something too new, also.

     

    About the index Undefined index: ... , it would be resolved on the next release. A big go work has been made on that to respect the strict mode of php. In this case it's better to include reduce that.

     

    Normally it's inside the code (includes/application_top.php) I think or change in php.ini

     

    If your experience can help to create a better documentation,it's good for everybody.

    .

    • Thanks 1
  7. The file config do not stay in 777, but 444. After every hoster has a specific configuration and for moment a software can be simple to use, another with some difficulties.

    For me, I tested ClicShopping under Ispconfig and Cpanel, ubuntu debian and there is no problem.

    As mentionned, there, https://www.clicshopping.org/forum/technical-information/ - ClicShopping  - ClicShopping has been tested on these environment.

     

     

  8. Hello,

     

    while ($data = $QproductDescriptions->fetch_assoc()) { ....

     Yes it was the line. but be careful check if all the data imported is the same that the original database. You can eventually have problem between products and products description inside your database (integrity) for example.

     

    About the last message, what you do, I do not understand exactly.

     

    Thank you.

     

     

     

     

  9. Hello

     

    It's long time I do not use this app.

    It's important to let the prefix table to be in concordance with ClicShopping Table

    About the installation : yes you must to to that.

     

    Could you make that :

    $this->db->save('products_description', $sql_data_array);

    by
     

    var_dump($sql_data_array);
    
    //$this->db->save('products_description', $sql_data_array);
    
           }
          }
    
    exit;

     

    What is the result ;

    Do you have 1 or 2 language or more ?

     

    Thank you.

    • Thanks 1
  10. Hello,

     

    Yes, you can. You must create a hook in ibnside the reviews apps.

     

    Lootk this code : SItes/ClicShoppingAdmin ... Dashboard .... main.php

    <?php echo $CLICSHOPPING_Hooks->output('DashboardShortCut', 'DashboardShortCut', null, 'display'); ?>

    Now look inside product you will see in Hooks directory a files called DashboardShortCut


    Reply the process inside Module/ClicShoppingAdmin/DashboardShortCut or inside the aps reviews.

     

    I do not explain all because I think you must look to understand the application but you have all the process.

     

    good code :)


    Regards
    Forster

     

     

  11. Yes you have, when you add a product in shopping cart, you can have a save product button, if you want a whishlist, just change the term  by save your wishlist.
    The customer  must create an account, like that when it come back, the products will be always in the basket.

  12. Hello griffou,

     

    Yes you can for every apps.  Generally you have

    - Default configuration
    - Option module

    The default configuration allow to manage all the module as password / login / private key ....

    The Option allow you to make different configurations.

     

    look paypal, it's a good example as Antispam.

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use