Jump to content

AlwaysSkint

Members
  • Posts

    53
  • Joined

  • Last visited

  • Days Won

    1

Status Replies posted by AlwaysSkint

  1. Hello @AlwaysSkint,
     

    Could you try this : upload and install the latest commit 

    Include this files inside the good directory ImportDataBase

     

    Step :

    Start on a fresh installation (normal) without data
    remove the French language in language

    Make a migration

     

    Everything seems to be migrated (for me)
    Not work for moment manufacturers_info in comment

    sql error on administration menu description (but the data are imported)  - All administration menu are in english for other language

     

    There is a litle work again.

    Try and tell me.

     

    I will stop for a moment to focus now on my next step.

     

    https://www.clicshopping.org/images/osCmax20.txt 

     

    1. AlwaysSkint

      AlwaysSkint

      I remember that one of the missing $data above is in Customers table.

       

      This seemed to work fine - I can try with a different client database:

      //******************************************
      //manufacturers_info
      //******************************************
            $QmanufacturersInfo = $mysqli->query('select *
                                                  from ' . $this->PrefixTable . 'manufacturers_info
                                                ');

            echo '<hr>';
            echo '<div>table_manufacturers_info</div>';
            echo '<div>' . CLICSHOPPING::getDef('text_number_of_item') . ' : ' . $QmanufacturersInfo->num_rows . '</div>';
            echo '<hr>';

            while ($data = $QmanufacturersInfo->fetch_assoc()) {

      // to do
              foreach ($clicshopping_languages as $languages) {
                echo $data['manufacturers_id'] . '<br />';

                $sql_data_array = [
                  'manufacturers_id' => (int)$data['manufacturers_id'],
                  'languages_id' => $languages['languages_id'],
                  'manufacturers_url' => $data['manufacturers_url'],
                  'url_clicked' => (int)$data['url_clicked'],
                  'date_last_click' => $data['date_last_click']
                ];

                $this->db->save('manufacturers_info', $sql_data_array);
              }
      //
            }

       

      Why are you running copyAdministrationMenu ?

       

      The Import/Export Menu item isn't getting created in Admin - remind me of the URL to do this, please.

      Additionally,  receive one error:

      PHP Warning:  file_get_contents(): Filename cannot be empty in /home/clic/public_html/includes/ClicShopping/Apps/Tools/EditLogError/Sites/ClicShoppingAdmin/Pages/Home/templates/edit.php on line 92

       

    2. (See 9 other replies to this status update)

  2. Hello @AlwaysSkint,
     

    Could you try this : upload and install the latest commit 

    Include this files inside the good directory ImportDataBase

     

    Step :

    Start on a fresh installation (normal) without data
    remove the French language in language

    Make a migration

     

    Everything seems to be migrated (for me)
    Not work for moment manufacturers_info in comment

    sql error on administration menu description (but the data are imported)  - All administration menu are in english for other language

     

    There is a litle work again.

    Try and tell me.

     

    I will stop for a moment to focus now on my next step.

     

    https://www.clicshopping.org/images/osCmax20.txt 

     

    1. AlwaysSkint

      AlwaysSkint

      Two typos is that osCmax20.php

      Missing $data for two fields. ;)

    2. (See 9 other replies to this status update)

  3. Hello @AlwaysSkint,
     

    Could you try this : upload and install the latest commit 

    Include this files inside the good directory ImportDataBase

     

    Step :

    Start on a fresh installation (normal) without data
    remove the French language in language

    Make a migration

     

    Everything seems to be migrated (for me)
    Not work for moment manufacturers_info in comment

    sql error on administration menu description (but the data are imported)  - All administration menu are in english for other language

     

    There is a litle work again.

    Try and tell me.

     

    I will stop for a moment to focus now on my next step.

     

    https://www.clicshopping.org/images/osCmax20.txt 

     

    1. AlwaysSkint

      AlwaysSkint

      Finally got it to install..

      install/includes/application.php

      define('DEFAULT_LANGUAGE','en');
        use ClicShopping\OM\CLICSHOPPING;
        use ClicShopping\OM\HTML;

       

      install_4.php

      //  use ClicShopping\OM\Language;

      ..

      //  $CLICSHOPPING_Language = new Language();
      //  Registry::set('Language', $CLICSHOPPING_Language);

       

      That bloody .htaccess!!!

      Removed the first three lines from ClicShoppingAdmin .htaccess

       

      Error Log:

      PHP Warning:  file_put_contents(/home/clic/public_html/includes/ClicShopping/Sites/ClicShoppingAdmin/site_conf.php): failed to open stream: Permission denied in /home/clic/public_html/install/templates/pages/install_4.php on line 253

       

      It looks as though some code is changing this to 444 too soon. I began with 644, so I know it has been changed during the install process.

       

      Hope this helps you to narrow down the installation problems.

      Please, please, please remove or comment out those offending lines..

      #Options -Indexes
      #Options +FollowSymlinks
      #Options -MultiViews

       

    2. (See 9 other replies to this status update)

  4. Hello @AlwaysSkint,
     

    Could you try this : upload and install the latest commit 

    Include this files inside the good directory ImportDataBase

     

    Step :

    Start on a fresh installation (normal) without data
    remove the French language in language

    Make a migration

     

    Everything seems to be migrated (for me)
    Not work for moment manufacturers_info in comment

    sql error on administration menu description (but the data are imported)  - All administration menu are in english for other language

     

    There is a litle work again.

    Try and tell me.

     

    I will stop for a moment to focus now on my next step.

     

    https://www.clicshopping.org/images/osCmax20.txt 

     

    1. AlwaysSkint

      AlwaysSkint

      [16-Nov-2020 23:57:02 UTC] PHP Warning:  Use of undefined constant DEFAULT_LANGUAGE - assumed 'DEFAULT_LANGUAGE' (this will throw an Error in a future version of PHP) in /home/clic/public_html/includes/ClicShopping/OM/Language.php on line 85
      [16-Nov-2020 23:57:02 UTC] PHP Notice:  ClicShopping\OM\Language::set() - The language does not exist: DEFAULT_LANGUAGE in /home/clic/public_html/includes/ClicShopping/OM/Language.php on line 114
      [16-Nov-2020 23:57:02 UTC] PHP Fatal error:  Uncaught Error: Typed property ClicShopping\OM\Language::$language must not be accessed before initialization in /home/clic/public_html/includes/ClicShopping/OM/Language.php:120
      Stack trace:
      #0 /home/clic/public_html/includes/ClicShopping/OM/Language.php(99): ClicShopping\OM\Language->getCode()
      #1 /home/clic/public_html/includes/ClicShopping/OM/Language.php(93): ClicShopping\OM\Language->getLocale()
      #2 /home/clic/public_html/install/templates/pages/install_4.php(38): ClicShopping\OM\Language->__construct()
      #3 /home/clic/public_html/install/templates/main_page.php(60): require_once('/home/clic/publ...')
      #4 /home/clic/public_html/install/install.php(33): require_once('/home/clic/publ...')
      #5 {main}
        thrown in /home/clic/public_html/includes/ClicShopping/OM/Language.php on line 120

       

    2. (See 9 other replies to this status update)

  5. Hello @AlwaysSkint,
     

    Could you try this : upload and install the latest commit 

    Include this files inside the good directory ImportDataBase

     

    Step :

    Start on a fresh installation (normal) without data
    remove the French language in language

    Make a migration

     

    Everything seems to be migrated (for me)
    Not work for moment manufacturers_info in comment

    sql error on administration menu description (but the data are imported)  - All administration menu are in english for other language

     

    There is a litle work again.

    Try and tell me.

     

    I will stop for a moment to focus now on my next step.

     

    https://www.clicshopping.org/images/osCmax20.txt 

     

    1. AlwaysSkint

      AlwaysSkint

      Added php handler to top of .htaccess and step 4 loaded the above gre module but still stopped with 500 error.

       

    2. (See 9 other replies to this status update)

  6. Hello @AlwaysSkint,
     

    Could you try this : upload and install the latest commit 

    Include this files inside the good directory ImportDataBase

     

    Step :

    Start on a fresh installation (normal) without data
    remove the French language in language

    Make a migration

     

    Everything seems to be migrated (for me)
    Not work for moment manufacturers_info in comment

    sql error on administration menu description (but the data are imported)  - All administration menu are in english for other language

     

    There is a litle work again.

    Try and tell me.

     

    I will stop for a moment to focus now on my next step.

     

    https://www.clicshopping.org/images/osCmax20.txt 

     

    1. AlwaysSkint

      AlwaysSkint

      Started from a fresh copy of master.zip

      Commented out your bad .htacess settings: top 3 lines.

      Step 4 of installation getting blocked again with a 500 error.

      Console debug appears to stop at resource://gre/modules/ExtensionContent.jsm - doesn't load.

      Frustrating! Still trying to analyse.

       

    2. (See 9 other replies to this status update)

  7. Hello @AlwaysSkint,
     

    Could you try this : upload and install the latest commit 

    Include this files inside the good directory ImportDataBase

     

    Step :

    Start on a fresh installation (normal) without data
    remove the French language in language

    Make a migration

     

    Everything seems to be migrated (for me)
    Not work for moment manufacturers_info in comment

    sql error on administration menu description (but the data are imported)  - All administration menu are in english for other language

     

    There is a litle work again.

    Try and tell me.

     

    I will stop for a moment to focus now on my next step.

     

    https://www.clicshopping.org/images/osCmax20.txt 

     

    1. AlwaysSkint

      AlwaysSkint

      Thanks. I have been working on the server and tuning mariadb, which should help went it comes to migrating bigger databases.

      I'll try to test this soon.

       

      Regards,

      EJ

    2. (See 9 other replies to this status update)

×
×
  • Create New...

Important Information

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