Mysterious Error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Mysterious Error

Charlie Sellew
Sorry if this is the wrong place for this – if so, please direct me to a
more appropriate list/site.

My MediaWiki software (version 1.3.0beta2) has been buzzing along fine for a
long time, but then suddenly a few days ago all pages started displaying
this error:

//QUOTE

Warning:
_loadcachedcode(/tmp/tpl_0_7_0_1ea1690d778636860620e7d464dd8938.php): failed
to open stream: Permission denied in
/home/allalias/public_html/guide/PHPTAL-NP-0.7.0/libs/PHPTAL/Template.php on
line 430

Warning: _loadcachedcode(): Failed opening
'/tmp/tpl_0_7_0_1ea1690d778636860620e7d464dd8938.php' for inclusion
(include_path='/home/allalias/public_html/guide/includes:/home/allalias/public_html/guide/languages:.:/usr/lib/php:/usr/local/lib/php')
in /home/allalias/public_html/guide/PHPTAL-NP-0.7.0/libs/PHPTAL/Template.php
on line 430

[pear_error: message="Template function
'tpl_0_7_0_1ea1690d778636860620e7d464dd8938' not found (template source :
/home/allalias/public_html/guide/templates/xhtml_slim.pt" code=0 mode=return
level=notice prefix="" info=""]

//ENDQUOTE


I looked at the section it seems to be referring to,
/PHPTAL-NP-0.7.0/libs/PHPTAL/Template.php
lines 428-432:

//QUOTE

    function _loadCachedCode()

    {

        include_once($this->_codeFile);

        $this->_code = "#loaded";

    }


//ENDQUOTE


Any ideas on what might be going wrong, how I can fix it, or where I should
look to solve this problem?


Thanks in advance for any help,
Charlie Sellew
[hidden email]
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Mysterious Error

Brion Vibber
Charlie Sellew wrote:
> My MediaWiki software (version 1.3.0beta2) has been buzzing along fine for a
> long time, but then suddenly a few days ago all pages started displaying
> this error:

For the love of all that is good, upgrade immediately! There's a boatload of
security issues with a version that old. No one, anywhere, should be using it.
You're putting your users, your data, and possibly your server at risk.

(Also, later versions don't use the fragile PHPTAL system, so should solve your
problem.)

> Warning:
> _loadcachedcode(/tmp/tpl_0_7_0_1ea1690d778636860620e7d464dd8938.php): failed
> to open stream: Permission denied in
> /home/allalias/public_html/guide/PHPTAL-NP-0.7.0/libs/PHPTAL/Template.php on
> line 430

Check the file permissions.

-- brion vibber (brion @ pobox.com)


_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

signature.asc (257 bytes) Download Attachment