Has anyone been successfull installing Data Transfer on fresh-ish installation: MediaWiki https://www.mediawiki.org/ 1.27.1 PHP https://php.net/ 5.6.26 (apache2handler) MySQL https://www.mysql.com/ 5.5.52 ICU http://site.icu-project.org/ 50.1.2 SMW 2.4.1
Trying to install Data Transfer, tried both 0.6.2 and dev-master. It breaks the wiki and when I try to run update.php i'm getting:
*PHP Notice: Undefined variable: wgScriptPath in /var/www/html/tfadvss.tsadra.org-site/extensions/DataTransfer/DataTransfer.php on line 64*
*PHP Warning: include_once(/languages/DT_LanguageEn.php): failed to open stream: No such file or directory in /var/www/html/tfadvss.tsadra.org-site/extensions/DataTransfer/DataTransfer.php on line 109*
*PHP Warning: include_once(): Failed opening '/languages/DT_LanguageEn.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/tfadvss.tsadra.org-site/extensions/DataTransfer/DataTransfer.php on line 109*
*PHP Fatal error: Class 'DT_LanguageEn' not found in /var/www/html/tfadvss.tsadra.org-site/extensions/DataTransfer/DataTransfer.php on line 113*
Any clues?
Thanks much,
Hi Jeremi,
It looks like the real issue is the first one - that it can't find the global variable $wgScriptPath. I don't know why that's happening. Are you using Composer?
On the other hand, you don't actually need to call update.php, since Data Transfer doesn't make any changes to the database... though of course, you'll need to call update.php again at some point.
-Yaron
On Fri, Nov 4, 2016 at 11:27 AM, Jeremi Plazas keisuru@gmail.com wrote:
Has anyone been successfull installing Data Transfer on fresh-ish installation: MediaWiki https://www.mediawiki.org/ 1.27.1 PHP https://php.net/ 5.6.26 (apache2handler) MySQL https://www.mysql.com/ 5.5.52 ICU http://site.icu-project.org/ 50.1.2 SMW 2.4.1
Trying to install Data Transfer, tried both 0.6.2 and dev-master. It breaks the wiki and when I try to run update.php i'm getting:
*PHP Notice: Undefined variable: wgScriptPath in /var/www/html/tfadvss.tsadra.org-site/extensions/ DataTransfer/DataTransfer.php on line 64*
*PHP Warning: include_once(/languages/DT_LanguageEn.php): failed to open stream: No such file or directory in /var/www/html/tfadvss.tsadra.org-site/extensions/ DataTransfer/DataTransfer.php on line 109*
*PHP Warning: include_once(): Failed opening '/languages/DT_LanguageEn.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/tfadvss.tsadra.org-site/extensions/ DataTransfer/DataTransfer.php on line 109*
*PHP Fatal error: Class 'DT_LanguageEn' not found in /var/www/html/tfadvss.tsadra.org-site/extensions/ DataTransfer/DataTransfer.php on line 113*
Any clues?
Thanks much,
--
[image: Tsadra Foundation] https://htmlsig.com/t/000001C1QAGY
Jeremi Plazas / Assistant Director of Research jeremi@tsadra.org
Tsadra Foundation www.tsadra.org
[image: Twitter] https://htmlsig.com/t/000001C0EJDS [image: Facebook] https://htmlsig.com/t/000001C7A26X [image: Google +] https://htmlsig.com/t/000001C8GCJY [image: LinkedIn] https://htmlsig.com/t/000001C41CGG [image: Instagram] https://htmlsig.com/t/000001C6EAVP [image: Skype] https://htmlsig.com/t/000001C0QFPM
[image: Tsadra Banner] http://www.tsadra.org/ _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I was trying with composer yes. My script path varial in localsettings.php is $wgScriptPath = "/tfadvss.tsadra.org-site"; There shouldn't be a trailing slash right?
Actually just tried WITHOUT using composer and it works fine. Just cloned with git. I guess composer isn't always the working option, huh.
Thanks for the help!
On Fri, Nov 4, 2016 at 10:16 AM Yaron Koren yaron@wikiworks.com wrote:
Hi Jeremi,
It looks like the real issue is the first one - that it can't find the global variable $wgScriptPath. I don't know why that's happening. Are you using Composer?
On the other hand, you don't actually need to call update.php, since Data Transfer doesn't make any changes to the database... though of course, you'll need to call update.php again at some point.
-Yaron
On Fri, Nov 4, 2016 at 11:27 AM, Jeremi Plazas keisuru@gmail.com wrote:
Has anyone been successfull installing Data Transfer on fresh-ish installation: MediaWiki https://www.mediawiki.org/ 1.27.1 PHP https://php.net/ 5.6.26 (apache2handler) MySQL https://www.mysql.com/ 5.5.52 ICU http://site.icu-project.org/ 50.1.2 SMW 2.4.1
Trying to install Data Transfer, tried both 0.6.2 and dev-master. It
breaks
the wiki and when I try to run update.php i'm getting:
*PHP Notice: Undefined variable: wgScriptPath in /var/www/html/tfadvss.tsadra.org-site/extensions/ DataTransfer/DataTransfer.php on line 64*
*PHP Warning: include_once(/languages/DT_LanguageEn.php): failed to open stream: No such file or directory in /var/www/html/tfadvss.tsadra.org-site/extensions/ DataTransfer/DataTransfer.php on line 109*
*PHP Warning: include_once(): Failed opening '/languages/DT_LanguageEn.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/tfadvss.tsadra.org-site/extensions/ DataTransfer/DataTransfer.php on line 109*
*PHP Fatal error: Class 'DT_LanguageEn' not found in /var/www/html/tfadvss.tsadra.org-site/extensions/ DataTransfer/DataTransfer.php on line 113*
Any clues?
Thanks much,
--
[image: Tsadra Foundation] https://htmlsig.com/t/000001C1QAGY
Jeremi Plazas / Assistant Director of Research jeremi@tsadra.org
Tsadra Foundation www.tsadra.org
[image: Twitter] https://htmlsig.com/t/000001C0EJDS [image: Facebook] https://htmlsig.com/t/000001C7A26X [image: Google +] https://htmlsig.com/t/000001C8GCJY [image: LinkedIn] https://htmlsig.com/t/000001C41CGG [image: Instagram] https://htmlsig.com/t/000001C6EAVP [image: Skype] https://htmlsig.com/t/000001C0QFPM
[image: Tsadra Banner] http://www.tsadra.org/ _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- WikiWorks · MediaWiki Consulting · http://wikiworks.com _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org