Question: the POS keeps loading forever when i select

the POS keeps loading forever when i select

Hi, when I select a product in the POS or try to lookup in the search space the page keeps loading forever and won't show any result, I checked the requisites and i have them all, with all t

TN

Teofilo NH

Asked
Hi, when I select a product in the POS or try to lookup in the search space the page keeps loading forever and won't show any result, I checked the requisites and i have them all, with all the specifications and I can't find a solution yet.

Thank for your help
  • MS

    Mian Saleem

    Answered
    Hello,

    If you have already checked the server requirements and MySQL only_full_group_by mode then you need to check your server error logs and let me know the error details so that I can suggest.

    You can enable app logs by changing the `log_threshold` to 1 in `app/config/config.php` and then visit the page again to reproduct the error. Lastly check the latest log in the `app/logs/` folder.

    Thank you
  • TN

    Teofilo NH

    Answered
    HI there, these are the error codes I get

    ERROR - 2020-04-26 12:48:45 --> Severity: Warning --> Invalid argument supplied for foreach() /home/pranamexico/public_html/huevosanona.com/app/themes/default/admin/views/pos/add.php 476
    ERROR - 2020-04-26 12:51:04 --> Severity: Warning --> Invalid argument supplied for foreach() /home/pranamexico/public_html/huevosanona.com/app/themes/default/admin/views/pos/add.php 476
    ERROR - 2020-04-26 12:51:31 --> Severity: Warning --> Invalid argument supplied for foreach() /home/pranamexico/public_html/huevosanona.com/app/themes/default/admin/views/products/edit.php 122
    ERROR - 2020-04-26 12:52:17 --> Could not find the language line "brand_name"
    ERROR - 2020-04-26 12:52:17 --> Severity: Warning --> file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
    error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed /home/pranamexico/public_html/huevosanona.com/app/app/models/Site.php 993
    ERROR - 2020-04-26 12:52:17 --> Severity: Warning --> file_get_contents(): Failed to enable crypto /home/pranamexico/public_html/huevosanona.com/app/app/models/Site.php 993
    ERROR - 2020-04-26 12:52:17 --> Severity: Warning --> file_get_contents(https://huevosanona.com/app/themes/default/admin/assets/js/modal.js): failed to open stream: operation failed /home/pranamexico/public_html/huevosanona.com/app/app/models/Site.php 993
    ERROR - 2020-04-26 12:52:31 --> Could not find the language line "brand_name"
  • MS

    Mian Saleem

    Answered
    Please check with your server admin/host why are you getting `file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed`
  • TN

    Teofilo NH

    Answered
    Besides that my website doesn't have a SSL certificate already, and i attribute that error to that, do I have any other error regarding the language ?
  • MS

    Mian Saleem

    Answered
    No. Language error won't cause any issue as it will fallback to key if it's missing in language file. Only English language is up to date. Thank you
  • TN

    Teofilo NH

    Answered
    I checked the SSL certificate, it is now installed.

    I still have the same issue, even that I fixed the SSL error.

    The errors i get are these:

    ```
    ERROR - 2020-04-26 14:09:54 --> Could not find the language line "today"
    ERROR - 2020-04-26 14:09:54 --> Could not find the language line "today_profit"
    ERROR - 2020-04-26 14:09:54 --> Could not find the language line "comment"
    ERROR - 2020-04-26 14:09:54 --> Could not find the language line "ordered"
    ERROR - 2020-04-26 14:09:54 --> Could not find the language line "adjust_subtotal"
    ERROR - 2020-04-26 14:09:54 --> Could not find the language line "nearest_subtotal"
    ERROR - 2020-04-26 14:09:54 --> Could not find the language line "merchant_copy"
    ERROR - 2020-04-26 14:09:55 --> Could not find the language line "today"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "today"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "shop"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "toggle_alignment"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "quantity_alerts"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "today_profit"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "promos"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "list_printers"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "add_printer"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "expense_categories"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "backups"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "front_end"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "shop_settings"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "slider_settings"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "list_pages"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "add_page"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "sms_settings"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "send_sms"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "sms_log"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "ordered"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "due"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "transferring"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "download"
    ERROR - 2020-04-26 14:09:56 --> Could not find the language line "required_invalid"
    ERROR - 2020-04-26 14:10:02 --> Could not find the language line "today"
    ERROR - 2020-04-26 14:10:02 --> Could not find the language line "today_profit"
    ERROR - 2020-04-26 14:10:02 --> Could not find the language line "comment"
    ERROR - 2020-04-26 14:10:02 --> Could not find the language line "ordered"
    ERROR - 2020-04-26 14:10:02 --> Could not find the language line "adjust_subtotal"
    ERROR - 2020-04-26 14:10:02 --> Could not find the language line "nearest_subtotal"
    ERROR - 2020-04-26 14:10:02 --> Could not find the language line "merchant_copy"
    ERROR - 2020-04-26 14:10:03 --> Could not find the language line "today"
    ```
  • MS

    Mian Saleem

    Answered
    Nothing in app log. I have notices the url, why you have `index.php?` in the url? You shouldn't add index_page in config but resolve the issue with `.htacess` Changing the url structure could cause errors.
  • TN

    Teofilo NH

    Answered
    Because im hosted in a GODADDY APP and i did what the documentation manual said
  • MS

    Mian Saleem

    Answered
    Docs never say any thing about the index_page config. Please leave it empty and resolve godaddy hosting issue with .htaccess
  • TN

    Teofilo NH

    Answered
    What code do I have to write on the .htaccess in order to get this working straight? im lost.

    On your documentation makes a reference to a github code that its supposed to help, but in my case wont work
  • Login to Reply