[Mediawiki-l] After config, "Failed opening '/tmp/tpl_0_7_0_7... .php' for inclusion".
Erik Hermansen
erikh at caravelgames.net
Mon Dec 13 00:35:00 UTC 2004
I copied MediaWiki 1.3.8 files over to my web-accessible dir. I created a
MySQL database and user. I ran the Config\index.php page and it reported
back with no errors. I looked at the new database and it is populated with
tables from the config script. Everything looked good at that point. Then
I browsed to the top-level page of the wiki, and got this error:
Warning: Failed opening
'/tmp/tpl_0_7_0_7d90f7cef16f0e547fab72ff18d4b4a1.php' for inclusion
(include_path='.:/home/httpd/vhosts/mydomain.com/httpdocs/mediawiki:/home/httpd/vhosts/mydomain.com/httpdocs/mediawiki/includes:/home/httpd/vhosts/mydomain.com/httpdocs/mediawiki/languages')
in
/home/httpd/vhosts/mydomain.com/httpdocs/mediawiki/PHPTAL-NP-0.7.0/libs/PHPTAL/Template.php
on line 430
[pear_error: message="Template function
'tpl_0_7_0_7d90f7cef16f0e547fab72ff18d4b4a1' not found (template source :
/home/httpd/vhosts/mydomain.com/httpdocs/mediawiki/templates/xhtml_slim.pt"
code=0 mode=return level=notice prefix="" info=""]
The file that it complains about is in fact present at
"/tmp/tpl_0_7_0_7d90f7cef16f0e547fab72ff18d4b4a1.php". And I'm not sure
how MediaWiki works, but this file must have been created by running the
PHPs since I didn't put it there. This leads me to believe that the PHP
should have permissions to read from that file. So what's wrong here?
I apologize if I am asking something that has come up before. I tried to
find an existing answer to this, since I am not doing anything very unusual
and it seems like it must be something that lots of people would run
into. But unfortunately I couldn't find anything on it.
-Erik
More information about the MediaWiki-l
mailing list