Skip to content
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

XAMPP Windows, cannot load extension files #14

Open
electronum opened this issue Mar 16, 2023 · 1 comment
Open

XAMPP Windows, cannot load extension files #14

electronum opened this issue Mar 16, 2023 · 1 comment

Comments

@electronum
Copy link

Trying to run with MediaWiki 1.35.3 in XAMPP (Windows 10), however extension files cannot be loaded, seems the path part extensions\Highlightjs_Integration is omitted(?).
Is there anything I can adjust?

Apache error.log:

[Thu Mar 16 12:10:53.189761 2023] [php:warn] [pid 10668:tid 1916] [client ::1:56357] PHP Warning:  md5_file(C:\\xampp\\htdocs\\wiki/highlight/highlight.min.js): Failed to open stream: No such file or directory in C:\\xampp\\htdocs\\wiki\\includes\\OutputPage.php on line 3993, referer: http://localhost/wiki/Template:Code_block?debug=true
[Thu Mar 16 12:10:53.189761 2023] [php:warn] [pid 10668:tid 1916] [client ::1:56357] PHP Warning:  OutputPage::transformFilePath: Failed to hash C:\\xampp\\htdocs\\wiki/highlight/highlight.min.js [Called from OutputPage::transformFilePath in C:\\xampp\\htdocs\\wiki\\includes\\OutputPage.php at line 3995] in C:\\xampp\\htdocs\\wiki\\includes\\debug\\MWDebug.php on line 430, referer: http://localhost/wiki/Template:Code_block?debug=true
[Thu Mar 16 12:10:53.190758 2023] [php:warn] [pid 10668:tid 1916] [client ::1:56357] PHP Warning:  md5_file(C:\\xampp\\htdocs\\wiki/init.js): Failed to open stream: No such file or directory in C:\\xampp\\htdocs\\wiki\\includes\\OutputPage.php on line 3993, referer: http://localhost/wiki/Template:Code_block?debug=true
[Thu Mar 16 12:10:53.190758 2023] [php:warn] [pid 10668:tid 1916] [client ::1:56357] PHP Warning:  OutputPage::transformFilePath: Failed to hash C:\\xampp\\htdocs\\wiki/init.js [Called from OutputPage::transformFilePath in C:\\xampp\\htdocs\\wiki\\includes\\OutputPage.php at line 3995] in C:\\xampp\\htdocs\\wiki\\includes\\debug\\MWDebug.php on line 430, referer: http://localhost/wiki/Template:Code_block?debug=true
[Thu Mar 16 12:10:53.192769 2023] [php:warn] [pid 10668:tid 1916] [client ::1:56357] PHP Warning:  md5_file(C:\\xampp\\htdocs\\wiki/custom.css): Failed to open stream: No such file or directory in C:\\xampp\\htdocs\\wiki\\includes\\OutputPage.php on line 3993, referer: http://localhost/wiki/Template:Code_block?debug=true
[Thu Mar 16 12:10:53.192769 2023] [php:warn] [pid 10668:tid 1916] [client ::1:56357] PHP Warning:  OutputPage::transformFilePath: Failed to hash C:\\xampp\\htdocs\\wiki/custom.css [Called from OutputPage::transformFilePath in C:\\xampp\\htdocs\\wiki\\includes\\OutputPage.php at line 3995] in C:\\xampp\\htdocs\\wiki\\includes\\debug\\MWDebug.php on line 430, referer: http://localhost/wiki/Template:Code_block?debug=true
[Thu Mar 16 12:10:53.192769 2023] [php:warn] [pid 10668:tid 1916] [client ::1:56357] PHP Warning:  md5_file(C:\\xampp\\htdocs\\wiki/highlight/styles/vs2015.min.css): Failed to open stream: No such file or directory in C:\\xampp\\htdocs\\wiki\\includes\\OutputPage.php on line 3993, referer: http://localhost/wiki/Template:Code_block?debug=true
[Thu Mar 16 12:10:53.192769 2023] [php:warn] [pid 10668:tid 1916] [client ::1:56357] PHP Warning:  OutputPage::transformFilePath: Failed to hash C:\\xampp\\htdocs\\wiki/highlight/styles/vs2015.min.css [Called from OutputPage::transformFilePath in C:\\xampp\\htdocs\\wiki\\includes\\OutputPage.php at line 3995] in C:\\xampp\\htdocs\\wiki\\includes\\debug\\MWDebug.php on line 430, referer: http://localhost/wiki/Template:Code_block?debug=true
@Nicolas01
Copy link
Owner

Hello,
I am surprised to see the following path in your error.log file: C:\\xampp\\htdocs\\wiki/highlight/highlight.min.js
I would have expected something like: C:\\xampp\\htdocs\\wiki\\extensions\\Highlightjs_Integration\\highlight\\highlight.min.js
So could you first check you have well downloaded and copied the Highlightjs_Integration folder to the following path C:\\xampp\\htdocs\\wiki\\extensions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants