This happens in multiple tables, so I’m using List Products as an example.
I’m running the latest SMA downloaded from CodeCanyon a few days ago. The only modifications are those made during install and setup (as best I can tell, that’s in config.php and database.php) PHP version 7.3
I have tested with latest of both FireFox and Chrome, in both normal and incognito modes, and it makes no difference.
Here is what happens.
Modal view
Select “List Products”
Click on a line item
The 4 activity indicator bars cycle, but the detail view never pops up.
If I click the mouse, the activity indicator goes away and the List Products view is active again. The detail view is never displayed.
Console log
After the first click above, the console log shows:
VM146:1 GET https://vbox/aplus/sma/admin/products/modal_view/639 500 (Internal Server Error) (anonymous) @ VM146:1 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:1309 dispatch @ jquery-2.0.3.min.js:5 y.handle @ jquery-2.0.3.min.js:5
Actions, Product Details
Select the Actions dropdown
Click Product Details
An unstyled and incomplete product details page loads.
Console log
After click Product Details above, the console log shows:
GET https://vbox/aplus/sma/admin/products/view/639 500 (Internal Server Error) 639:73
GET https://vbox/aplus/sma/admin/misc/barcode/02710301/code128/74/0 500 (Internal Server Error)
contentscript.js:25 [Violation] Added synchronous DOM mutation listener to a ‘DOMNodeInserted’ event. Consider using MutationObserver to make the page more responsive. qc @ contentscript.js:25 oc @ contentscript.js:24 (anonymous) @ contentscript.js:175
- SSAnswered
SMA log file
$ cat log-2020-08-23.php
Click on line item for detail view
DEBUG - 2020-08-23 09:55:14 --> UTF-8 Support Enabled DEBUG - 2020-08-23 09:55:14 --> Global POST, GET and COOKIE data sanitized DEBUG - 2020-08-23 09:55:14 --> Total execution time: 0.0617 DEBUG - 2020-08-23 09:55:14 --> UTF-8 Support Enabled DEBUG - 2020-08-23 09:55:14 --> Global POST, GET and COOKIE data sanitized DEBUG - 2020-08-23 09:55:15 --> Total execution time: 0.1533 DEBUG - 2020-08-23 09:55:17 --> UTF-8 Support Enabled DEBUG - 2020-08-23 09:55:17 --> Global POST, GET and COOKIE data sanitized ERROR - 2020-08-23 09:55:17 --> Severity: error --> Exception: Class ‘Endroid\QrCode\QrCode’ not found /home/e-smith/files/ibays/aplus/html/sma/app/libraries/Tec_qrcode.php 22
Click on Actions, Product Details
DEBUG - 2020-08-23 09:56:31 --> UTF-8 Support Enabled DEBUG - 2020-08-23 09:56:31 --> Global POST, GET and COOKIE data sanitized ERROR - 2020-08-23 09:56:32 --> Severity: error --> Exception: Class ‘Endroid\QrCode\QrCode’ not found /home/e-smith/files/ibays/aplus/html/sma/app/libraries/Tec_qrcode.php 22 DEBUG - 2020-08-23 09:56:32 --> UTF-8 Support Enabled DEBUG - 2020-08-23 09:56:32 --> Global POST, GET and COOKIE data sanitized ERROR - 2020-08-23 09:56:32 --> Severity: error --> Exception: Class ‘Laminas\Barcode\Barcode’ not found /home/e-smith/files/ibays/aplus/html/sma/app/libraries/Tec_barcode.php 45
- MSAnswered
Hello,
The php packages
Endroid\QrCode\QrCode
&Laminas\Barcode\Barcode
are not being loaded. It might be due to missing files or due to wrong config.-
Please download the latest file and then replace the
vendor
folder with latest. -
Please check
composer_autoload
inapp/config/config.php
it should be as following
$config['composer_autoload'] = FCPATH.'vendor/autoload.php';
If not, you can correct it.
Thank you
-
- SSAnswered
That line in config.php was:
$config[‘composer_autoload’] = FALSE;
Changing it as directed solved it.
That’s nothing I had manually changed, so it must be that is how it’s getting set during install.
- RTAnswered
I am experiencing exactly the same issue and I
- Replaced the vendor folder files
- And checked $config[‘composer_autoload’] = FCPATH.‘vendor/autoload.php’;
But the initial problem still happens: The 4 activity indicator bars cycle, but the detail view never pops up.
- RTAnswered
After some try changing php version to 7.4 solves the problem.
- MSAnswered
Hello,
Scott Smith Installer will replace the config file after you provide the details.
Roland Tollas Might be due to php version of some config issue.
I am glad to know that it’s resolved.
Thank you
- Login to Reply