|
|
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 ==
| |
− |
| |
− | 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.
| |
− |
| |
− | <pre>
| |
− | 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
| |
− | </pre>
| |
− |
| |
− | Temporarily block:
| |
− | # require_once( "extensions/GoogleMaps/GoogleMaps.php" );
| |
− |
| |
− | Chmod images 777 and possibly all following are needed within:
| |
− |
| |
− | <pre>
| |
− | drwxrwxrwx 2 practice wheel 2 Jul 18 22:06 archive
| |
− | drwxrwxrwx 2 practice wheel 2 Jul 18 22:06 lockdir
| |
− | drwxrwxrwx 2 practice wheel 2 Jul 18 22:44 temp
| |
− | drwxrwxrwx 106 practice wheel 106 Jul 18 22:46 thumb
| |
− | </pre>
| |