[Wikitech-l] maintenance.php files in symlinks context problem

Jefsey jefsey at jefsey.com
Thu Jan 8 17:51:00 UTC 2015


Hi!
I access as a system root.

I have loaded 1.23 in /wiki
I have symlinked it in my /home/wiki-site/www directories. It works 
without problem. However, when I try

 > "php maintenance/sqlite.php (or other .php files) --conf 
/home/wiki-site/www/LocalSettings.php (or without this -conf addition)

I get the same response:

Warning: require_once(__DIR__/Maintenance.php): failed to open 
stream: No such file or directory in /wiki/maintenance/sqlite.php on line 24
Fatal error: require_once(): Failed opening required 
'__DIR__/Maintenance.php' (include_path='.:/usr/local/php5/lib/php') 
in /wiki/maintenance/sqlite.php on line 24

-

I also installed some wikis without sysmlink.
I such a case if I enter

 > php maintenance/dumpBackup.php --full > xxxx.xml

I get:
Access denied for user 'root'@'localhost' (using password: NO)

The same if I enter
 > php maintenance/dumpBackup.php --dbuser user --dbpass 
pass  --full > xxxx.xml

Thank you for the help.
jefsey




More information about the Wikitech-l mailing list