Difference between revisions of "Help"

From Entopedia
Jump to: navigation, search
(Created page with "== Batch import == Within ~/wiki/maintenance/ run, eg.: php importImages.php /tmp/wiki_images_backup --user=Webmaster --comment="Batch imported media" php --help importI...")
 
Line 7: Line 7:
 
  php --help importImages.php
 
  php --help importImages.php
  
This does not work, because PHP on command line needs to be updated.
+
Causes error when old GoogleMaps extension is active.
  
  PHP 5.3.18 (cli) (built: Nov 30 2012 03:10:43)  
+
<pre>
  Copyright (c) 1997-2012 The PHP Group
+
php importImages.php /tmp/wiki_images_backup --user=Webmaster --comment="Batch imported media"
  Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
+
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
 +
</pre>
 +
 
 +
Temporarily block:
 +
# 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:10, 18 July 2016

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" );


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