Question: Some Pages Keep Loading

Some Pages Keep Loading

Hey, i have enable to https://, when i go to add an expenses or edit customer or when i go to close a register the page is keep loading. i checked with host provider they said there's no

M

meshan

Asked
Hey,
i have enable to https://, when i go to add an expenses or edit customer or when i go to close a register the page is keep loading. i checked with host provider they said there's no issue from their side. Please help!!!
  • MS

    Mian Saleem

    Answered
    Hello,

    Please let me know the installation url and owner account details in private reply.

    _You can add private reply by enabling the `PRIVATE for Staff only` at top right of reply section._

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    Please check your server's php error logs and let me know the error details.

    If you are not sure about server errors, then you can enable app logs by changing the `log_threshold` to 1 in `app/config/config.php` and then try to add/edit again. Lastly check the latest log file in the `app/logs/` folder.

    Thank you
  • M

    meshan

    Answered
    **[Mian Saleem](/u/saleem)** Hey, I already put screenshots of errors please check.
  • MS

    Mian Saleem

    Answered
    Hello,

    There is something wrong with your install. I am not sure what, please answer the following

    1. Is it fresh install or you have updated from previous versions?
    2. I can see the database error doe session and some data missing. If it's fresh install, did you add data as mentioned after install guide?
    3. I try to click add expense and it took 1 minute to load the modal. I suspect it's your server, can you try to test locally or any other server?
    4. I have seen db error for the companies and sessions. Are you sure that your database server is working fine?
    5. I have seen some expenses. How did you add those?
  • M

    meshan

    Answered
    **[Mian Saleem](/u/saleem)** Hello,
    1. i updated to the latest version. this isn't a fresh install. last i had V.48
    2. This isn't a fresh install, and this isn't my first update. always i update as introduction. it works well before.
    3. yeah it take lot time, even when we add payment it also same. But this happening only for some, putting a bill all working well. i don't have another server.
    4. The server is godaddy server, i asked from them they said there is no issue from their side. (software some are working well) even before this issue, the software worked well in this server.
    5. yes, this issue came last week, we was using the software well and it was working well before.

    If i took a database backup and did a fresh reinstall will it fix ? if ur suggesting it please tell me how to do it without loosing my data.
  • MS

    Mian Saleem

    Answered
    Hello,

    Please try to download the file again and replace the themes folder. I have seen a error for modal.js

    If still same, then we can try to restore backup or install latest with old database.

    Thank you
  • M

    meshan

    Answered
    **[Mian Saleem](/u/saleem)** Hey,
    i did as you said, now all the before issues are correct there is no loading, all working perfectly but there's a new issue,

    when we add the new POS register we can't close it, it says "The total Credit Card Slips field is required". here is the screenshot how i close the register and the error.
  • MS

    Mian Saleem

    Answered
    Hello,

    Please check the `close_register` method of `app/controllders/admin/Pos.php` The validations line should be

    ```
    $this->form_validation->set_rules('total_cash', lang('total_cash'), 'trim|required|numeric');
    $this->form_validation->set_rules('total_cheques', lang('total_cheques'), 'trim|numeric');
    $this->form_validation->set_rules('total_cc_slips', lang('total_cc_slips'), 'trim|numeric');
    ```

    You can comment the lines, if you need.

    Thank you
  • M

    meshan

    Answered
    **[Mian Saleem](/u/saleem)** Hey,
    now all problems are solved. Really Thanks for the after support you giving for this software. I recommend everyone to purchase his any products without any doubt. Again Thanks, Amazing customer support.
  • MS

    Mian Saleem

    Answered
    I am glad to know. Thank you for updating
  • Login to Reply