Question: Error After Installing V7

Error After Installing V7

I was trying to update v6 to v7, it didn't work. So I overwrite with new v7 files. then the portal starts as a fresh installation. I continued the installation and completed it, but when I t

R

Raees

Asked
I was trying to update v6 to v7, it didn't work. So I overwrite with new v7 files. then the portal starts as a fresh installation. I continued the installation and completed it, but when I tried to install demo data, again an error. I finished the installation without demo data.

After login, I create an account and location. Then tried to install the eCommerce module, after entering the eCommerce modules purchase code, the process terminated unsuccessfully and after that admin page is also not accessible. Tried twice with fresh files and the same thing happened.

This page isn’t working
mps.xxxxxxxx.xxx redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
  • MS

    Mian Saleem

    Answered
    Hello,

    I didn't check the installer for demo data yet. I will fix it in next update.

    Can you please check the log from latets file in `storage/logs/` folder. Let me know the error details so that I can suggest.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    Thank you very much for sharing the log. The error is caused due to notification changes in previous version. I will fix this in next week's update. The demo data is failing as system can't find `storage/app/demo.sql` Can you please help me check this file exists. If yes, you can try to import it on your database. If no, let me know.

    Thanks again and sorry for the trouble in update :(
  • R

    Raees

    Answered
    demo.sql still exist in the specified folder

    When I tried to import demo.sql, it gives an error as below

    Error
    SQL query:


    INSERT INTO `category_promotion` (`category_id`, `promotion_id`) VALUES
    ('db7156c6-28d3-4f93-b97d-fb1e495c302a', '10fbf0a0-6547-4ef4-b0f5-305de84a848d'),
    ('ef36a643-c0b1-485b-b2c4-589207f7d115', 'ced918cb-0c28-461a-9162-6de750bfa18e')
    MySQL said: Documentation

    #1452 - Cannot add or update a child row: a foreign key constraint fails (`ghiyath_mps`.`category_promotion`, CONSTRAINT `category_promotion_promotion_id_foreign` FOREIGN KEY (`promotion_id`) REFERENCES `promotions` (`id`))
  • MS

    Mian Saleem

    Answered
    Hello, thank you for the update. I will check this and fix in next update.
  • HR

    Hector Rojas

    Answered
    Good night perfect but how to correct the error:

    This page isn’t working
    xxxxxxxx.xxx redirected you too many times.
    Try clearing your cookies.
    ERR_TOO_MANY_REDIRECTS
  • MS

    Mian Saleem

    Answered
    Hello,

    Mostly this is caused due to server/php errors. You can check the server log to check error details.

    Thank you
  • Login to Reply