Topic on Extension talk:DynamicPageList (Wikimedia)

Jump to navigation Jump to search

Error 500 on install. Details follow:

6 (talkcontribs)

Mediawiki 1.34

PHP Version: 7.3.6

I downloaded and installed DynamicPageList exactly as described, using wfLoadExtension( 'intersection' );, and get a 500 error immediately. PHP Error Log:

Fatal error: Uncaught Exception: Unable to open file /home/redacted/public_html/extensions/intersection/extension.json: filemtime(): stat failed for /home/redacted/public_html/extensions/intersection/extension.json in /home/redacted/public_html/includes/registration/ExtensionRegistry.php:136 Stack trace: #0 /home/redacted/public_html/includes/GlobalFunctions.php(52): ExtensionRegistry->queue('/home/mediawiki...') #1 /home/redacted/public_html/LocalSettings.php(134): wfLoadExtension('intersection') #2 /home/redacted/public_html/includes/Setup.php(124): require_once('/home/mediawiki...') #3 /home/redacted/public_html/includes/WebStart.php(81): require_once('/home/mediawiki...') #4 /home/redacted/public_html/index.php(41): require('/home/mediawiki...') #5 {main} thrown in /home/redacted/public_html/includes/registration/ExtensionRegistry.php on line 136

Can anyone point me in correct direction please? Thank you.

K894 (talkcontribs)

Figured it out. The installation instructions say:

wfLoadExtension( 'intersection' );

But to solve the problem, they need to say:

wfLoadExtension( 'Intersection' );

The difference is an upper-case I instead of lower-case i.

Ciencia Al Poder (talkcontribs)

Thanks for noticing the error. Docs fixed!

Bawolff (talkcontribs)

its lowercase i in the git repo, i think maybe it depends on how you download it

K894 (talkcontribs)

@Bawolff Thanks for the clarification. Should it be standard across either download? I can see that difference causing issues. Thanks for your work on this extension. It is exactly what I wanted!

K894 (talkcontribs)

@Bawolff I suggest standardization because Git directs people here for install instructions and the case difference may cause headaches.

Reply to "Error 500 on install. Details follow:"