Question: Cant View A Products

Cant View A Products

I have a problem when viewing a product after new update. It just give me a loading icon, also i have lost to all buttons after submiting a pos sale. Cant view a sale too https://i.imgur.

EH

Einnlleinhatt Ha

Asked
I have a problem when viewing a product after new update. It just give me a loading icon, also i have lost to all buttons after submiting a pos sale. Cant view a sale too


https://i.imgur.com/Ad8RZ9G.png
  • EH

    Einnlleinhatt Ha

    Answered
    My products view.
  • MS

    Mian Saleem

    Answered
    Hello,

    May I know your old version that you have updated to latest?

    You can enable app logs by changing the `log_threshold` to 1 in `app/config/config.php` and then visit the pages again to produce errors. Lastly check the latest log file in `app/logs/` folder.

    Thank you
  • EH

    Einnlleinhatt Ha

    Answered
    I revert back to the previous version now. Not sure what caused the bug, i alrd did the update procedure as the documentation.
  • MS

    Mian Saleem

    Answered
    I am not sure what caused this. Can you let me know your version so that I can check. Thank you
  • EH

    Einnlleinhatt Ha

    Answered
    **[Mian Saleem](/u/saleem)** From version 3.4.43 to latest version.
  • MS

    Mian Saleem

    Answered
    Hello,

    v4.4.43 is the latest version. There is no need to update :(

    I have seen `Class 'Endroid\QrCode\QrCode' not found` errors, please make sure that the `vendor` folder is complete upload and `composer_autoload` line in `app/config/config.php` is correctly set. It should be

    ```
    $config['composer_autoload'] = FCPATH.'vendor/autoload.php';
    ```

    Thank you
  • EH

    Einnlleinhatt Ha

    Answered
    **[Mian Saleem](/u/saleem)** Since there is an email about the new update so i just downloaded the new version and replace everything. Also i dont quite understand about the "vendor" folder thing, what do you mean by complete upload ?

    I do have a vendor folder located at www/mywebsite/vendor. I checked my old version and the line is same as you mention above. I will check the new one later.
  • EH

    Einnlleinhatt Ha

    Answered
    Im still waiting for a reply.
  • MS

    Mian Saleem

    Answered
    You said `I will check the new one later`.

    If the `composer_autoload` is set correctly and `vendor` folder is updated then there should be such errors. May be you can replace the vendor folder from latest download.

    Thank you
  • EH

    Einnlleinhatt Ha

    Answered
    **[Mian Saleem](/u/saleem)** My bad, i tho i alrd sent a reply for the other day turn out i wasnt. Last time i remember when downloading the new update inside the folder version was 3.4.44. Since i dont save the prev downloaded folder i try to download it again and extract it but the folder version was 3.4.43.

    Im not sure what happend tho. I will try to redo everthing tonight.
  • Login to Reply