-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning Icon - start - Icon (). Error while rendering: We can't get the icon path. Error: The icon (mdi:vector-combine) could not be downloaded. #112
Comments
Hy cctv18! Sorry for that. Man. vector-combine The error in php is here:
Php uses the getaddrinfo to detect the IP server from the server _media This errors:
are because you get not a javascript but a HTML error page I presume. |
I created a test page without any rewrite. |
Thank you! /#:90 [Intervention]Images loaded lazily and replaced with placeholders. Load events are deferred. See https://go.microsoft.com/fwlink/?linkid=2048113 and when I refresh the page again, the index bar and some of the font display in the page appeared to be abnormal: |
The error is here TypeError: Cannot read properties of undefined (reading 'Modal') combo.min.js is a wrapper around bootstrap js to create modals. It means that bootstrap JavaScript was not loaded. Combostrap is already on cdn since a couple of years long before dokuwiki implemented it. As specified here: For the warnings, Combostrap detects every xml tag in a page for performance reason. https://combostrap.com/docs/combostrap-styling-marki-language-31meei51 If you want br, p tag to be printed you need to escape them with 2 percentage characters before and after them. |
Environment: Windows 10 Professional + Apache 2.4.39 + PHP 7.4.5, installed necessary php extensions (pdo_sqlite, mbstring, openssl, intl & gd2) and newest dokuwiki sqlite plugin, having set upload_max_filesize and post_max_size to 300M
Just when I installed Combo plugin and activated it, all content pages started to display abnormally, with a line of red text like this:
Icon (). Error while rendering: We can't get the icon path. Error: The icon (mdi:vector-combine) could not be downloaded. Error: (We couldn't find the icon vector-combine) from the library mdi. Error: fopen(): php_network_getaddresses: getaddrinfo failed: ����������Ч�������Ҳ����������͵���ݡ� .. (ie media or icon name attribute is mandatory).
and when I disable Combo plugin, everything returns to normal. Here's the log messages in the console tool of Edge:
combo.min.js:1 Uncaught SyntaxError: Unexpected token '<'
cache.js:1 Uncaught SyntaxError: Unexpected token '<'
metadata.js:1 Uncaught SyntaxError: Unexpected token '<'
combo-search-box.js:1 Uncaught SyntaxError: Unexpected token '<'
(索引):549 Uncaught TypeError: Cannot read properties of undefined (reading 'create')
at (索引):549:10
and the error log of Dokuwiki:
2024-06-07T10:29:33+08:00 - error - ComboStrap - event - Sqlite is mandatory for asynchronous event - 127.0.0.1 - start
2024-06-07T10:29:38+08:00 - error - ComboStrap - event - Sqlite is mandatory for asynchronous event - 127.0.0.1 - start
2024-06-07T10:30:20+08:00 - error - ComboStrap - event - Sqlite is mandatory for asynchronous event - 127.0.0.1 - start
2024-06-07T10:30:28+08:00 - error - ComboStrap - event - Sqlite is mandatory for asynchronous event - 127.0.0.1 - start
2024-06-07T10:30:33+08:00 - error - ComboStrap - event - Sqlite is mandatory for asynchronous event - 127.0.0.1 - start
2024-06-07T10:30:46+08:00 - error - ComboStrap - event - Sqlite is mandatory for asynchronous event - 127.0.0.1 - start
2024-06-07T10:31:02+08:00 - error - ComboStrap - event - Sqlite is mandatory for asynchronous event - 127.0.0.1 - start
2024-06-07T10:31:07+08:00 - warning - ComboStrap - icon - Icon (). Error while rendering: We can't get the icon path. Error: The icon
2024-06-11T03:46:06+08:00 - warning - ComboStrap - icon - Icon (). Error while rendering: We can't get the icon path. Error: The icon (mdi:vector-combine) could not be downloaded. Error: (We couldn't find the icon vector-combine) from the library mdi. Error: fopen(): php_network_getaddresses: getaddrinfo failed: ����������Ч�������Ҳ����������͵���ݡ� .. (ie media or icon name attribute is mandatory). - 127.0.0.1 - start
2024-06-11T03:46:06+08:00 - warning - ComboStrap - icon - Icon (). Error while rendering: We can't get the icon path. Error: The icon (mdi:vector-combine) could not be downloaded. Error: (We couldn't find the icon vector-combine) from the library mdi. Error: fopen(): php_network_getaddresses: getaddrinfo failed: ����������Ч�������Ҳ����������͵���ݡ� .. (ie media or icon name attribute is mandatory). - 127.0.0.1 - start
2024-06-11T03:46:28+08:00 - warning - ComboStrap - icon - Icon (). Error while rendering: We can't get the icon path. Error: The icon (mdi:vector-combine) could not be downloaded. Error: (We couldn't find the icon vector-combine) from the library mdi. Error: fopen(): php_network_getaddresses: getaddrinfo failed: ����������Ч�������Ҳ����������͵���ݡ� .. (ie media or icon name attribute is mandatory). - 127.0.0.1 - start
2024-06-11T03:46:28+08:00 - warning - ComboStrap - icon - Icon (). Error while rendering: We can't get the icon path. Error: The icon (mdi:vector-combine) could not be downloaded. Error: (We couldn't find the icon vector-combine) from the library mdi. Error: fopen(): php_network_getaddresses: getaddrinfo failed: ����������Ч�������Ҳ����������͵���ݡ� .. (ie media or icon name attribute is mandatory). - 127.0.0.1 - start
2024-06-11T04:12:22+08:00 - warning - ComboStrap - icon - Icon (). Error while rendering: We can't get the icon path. Error: The icon (mdi:vector-combine) could not be downloaded. Error: (We couldn't find the icon vector-combine) from the library mdi. Error: fopen(): php_network_getaddresses: getaddrinfo failed: ����������Ч�������Ҳ����������͵���ݡ� .. (ie media or icon name attribute is mandatory). - 127.0.0.1 - start
2024-06-11T04:12:22+08:00 - warning - ComboStrap - icon - Icon (). Error while rendering: We can't get the icon path. Error: The icon (mdi:vector-combine) could not be downloaded. Error: (We couldn't find the icon vector-combine) from the library mdi. Error: fopen(): php_network_getaddresses: getaddrinfo failed: ����������Ч�������Ҳ����������͵���ݡ� .. (ie media or icon name attribute is mandatory). - 127.0.0.1 - start
Meanwhile, I noticed the error information in the console tool of Edge, which the path of JS files was shown like this:
![image](https://private-user-images.githubusercontent.com/85936817/338342478-b87152c9-661e-4f69-8ced-1fd51d251777.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2NjAwNjksIm5iZiI6MTcxOTY1OTc2OSwicGF0aCI6Ii84NTkzNjgxNy8zMzgzNDI0NzgtYjg3MTUyYzktNjYxZS00ZjY5LThjZWQtMWZkNTFkMjUxNzc3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDExMTYwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmYTU2MDcyOGMxMmI2YmM0YzJjYTc3ZmMwYTRkNmE1MmU4MTM0ZmZjNTAyOGEwMzhkMjdmYTQ1MWEyYmUxMWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.zw0p4t8IVOAOAcFUP6upvhtyGmvAEonB6zoWLYTYduU)
http://127.0.0.1/_media/library/combo/combo.min.js?drive=combo&fetcher=raw&tseed=1717952350
http://127.0.0.1/_media/snippet/js/cache.js?drive=combo&fetcher=raw&tseed=1717952350
http://127.0.0.1/_media/snippet/js/metadata.js?drive=combo&fetcher=raw&tseed=1717952350
http://127.0.0.1/_media/snippet/js/combo-search-box.js?drive=combo&fetcher=raw&tseed=1717952350
however, there's not a single directory named "_media" under the root directory of my website. Is it a problem caused by path reference, a bug or anything else?
The text was updated successfully, but these errors were encountered: