Difference between revisions of "Help"

From Entopedia
Jump to: navigation, search
Line 1: Line 1:
 +
== Current PHP version ==
 +
 +
php --version
 +
PHP 5.6.17 (cli) (built: Jan 12 2016 14:29:00)
 +
Copyright (c) 1997-2015 The PHP Group
 +
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
 +
 +
 
== Batch import ==
 
== Batch import ==
  
Line 17: Line 25:
 
Temporarily block:
 
Temporarily block:
 
  # require_once( "extensions/GoogleMaps/GoogleMaps.php" );
 
  # require_once( "extensions/GoogleMaps/GoogleMaps.php" );
 
 
php --version
 
PHP 5.6.17 (cli) (built: Jan 12 2016 14:29:00)
 
Copyright (c) 1997-2015 The PHP Group
 
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
 

Revision as of 22:12, 18 July 2016

Current PHP version

php --version
PHP 5.6.17 (cli) (built: Jan 12 2016 14:29:00) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies


Batch import

Within ~/wiki/maintenance/ run, eg.:

php importImages.php /tmp/wiki_images_backup --user=Webmaster --comment="Batch imported media"
php --help importImages.php

Causes error when old GoogleMaps extension is active.

php importImages.php /tmp/wiki_images_backup --user=Webmaster --comment="Batch imported media"
Warning: require(extensions/GoogleMaps/GoogleMaps.i18n.php): failed to open stream: No such file or directory in /usr/home/wiki/extensions/GoogleMaps/GoogleMaps.php on line 21
Fatal error: require(): Failed opening required 'extensions/GoogleMaps/GoogleMaps.i18n.php' (include_path='/usr/home/wiki/vendor/pear/pear_exception:/usr/home/wiki/vendor/pear/console_getopt:/usr/home/wiki/vendor/pear/pear-core-minimal/src:/usr/home/wiki/vendor/pear/mail_mime:/usr/home/wiki/vendor/pear/mail_mime-decode:/usr/home/wiki/vendor/pear/net_socket:/usr/home/wiki/vendor/pear/net_smtp:/usr/home/wiki/vendor/pear/mail:.:/usr/local/lib/php') in /usr/home/wiki/extensions/GoogleMaps/GoogleMaps.php on line 21

Temporarily block:

# require_once( "extensions/GoogleMaps/GoogleMaps.php" );