I have a fresh install, after creating a product, when I click on the product list it keeps loading but doesn’t show.
Here is the google chrome error console:
jquery-2.0.3.min.js:6 GET http://admin.jmautostudio.com/admin/products/modal_view/1 500 (Internal Server Error) send @ jquery-2.0.3.min.js:6 ajax @ jquery-2.0.3.min.js:6 x.fn.load @ jquery-2.0.3.min.js:6 b @ bootstrap.min.js:9 (anonymous) @ bootstrap.min.js:9 each @ jquery-2.0.3.min.js:4 each @ jquery-2.0.3.min.js:4 a.fn.modal @ bootstrap.min.js:9 (anonymous) @ core.js:1338 dispatch @ jquery-2.0.3.min.js:5 y.handle @ jquery-2.0.3.min.js:5
Also in Pos invoices doesn’t load.
jquery-2.0.3.min.js:6 GET http://admin.jmautostudio.com/admin/pos/view/2/1 500 (Internal Server Error) send @ jquery-2.0.3.min.js:6 ajax @ jquery-2.0.3.min.js:6 x.fn.load @ jquery-2.0.3.min.js:6 b @ bootstrap.min.js:9 (anonymous) @ bootstrap.min.js:9 each @ jquery-2.0.3.min.js:4 each @ jquery-2.0.3.min.js:4 a.fn.modal @ bootstrap.min.js:9 (anonymous) @ core.js:1393 dispatch @ jquery-2.0.3.min.js:5 y.handle @ jquery-2.0.3.min.js:5
Your help will be very much appreciated.
thanks
- MSAnswered
Hello,
Please check your server php error logs and let me know the details so that I can suggest.
You can try to enable app logs by changing the
log_threshold
to 1 inapp/config/config.php
and the visit the page again to produce error. Lastly check latest error logs file in theapp/logs/
folder.Thank you
- JHAnswered
Hey Mian,
the last 2 errors belongs to the products list preview and the pos/sales preview.
Here is the app/logs/log: ERROR - 2021-06-13 21:01:54 --> Could not find the language line “username” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “password” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “first_name” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “last_name” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “username” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “email” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “phone” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “company” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “gender” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “password” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “confirm_password” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “first_name” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “last_name” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “username” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “email” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “phone” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “company” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “gender” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “product_code” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “product_name” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “cname” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “barcode_symbology” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “product_unit” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “product_price” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “contact_person” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “company” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “email_address” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “address” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “city” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “phone” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “first_name” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “last_name” ERROR - 2021-06-13 21:01:54 --> Could not find the language line “email” ERROR - 2021-06-13 21:02:14 --> Severity: error --> Exception: Call to undefined function BaconQrCode\Encoder\iconv() /home/jmautost/public_html/admin/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php 595 ERROR - 2021-06-13 21:04:46 --> Severity: error --> Exception: Call to undefined function BaconQrCode\Encoder\iconv() /home/jmautost/public_html/admin/vendor/bacon/bacon-qr-code/src/Encoder/Encoder.php 595
any clue?
- MSAnswered
Hello,
Do you have the iconv library installed on your server?
If no then please install it.
-
Please try to download the latest file and then replace the
vendor
folder with latest. -
Please edit the
app/config/config.php
and look around line no 134. Thecomposer_autoload
should look as follwoing
$config['composer_autoload'] = FCPATH . 'vendor/autoload.php';
If not as above then you can change the line and try again.
Please try above suggestions and let me know the results.
Thank you
-
- MSAnswered
Hello,
Please check with your server admin about iconv library.
Thank you
- Login to Reply