00669: Index.php gives error

Summary: Index.php gives error
Created: 2006-02-12 16:02
Status: Closed - not a bug (no response)
Category: Bug
From: Kenneth?
Assigned:
Priority: 5
Version: 2.1.beta25
OS: Linux 9.3, php 4.3

Description: The index.php page gives following message: <?php

  include('pmwiki.php');

//?>

Fatal error: Call to undefined function: resolvepagename() in /home/httpd/vhosts/therapeuticumaquamarijn.nl/httpdocs/wiki/scripts/stdconfig.php on line 21

In a previous version it worked OK.


I'm betting that when you upgraded, the actual pmwiki.php file wasn't upgraded at the same time.

Usually this happens when the admin has renamed pmwiki.php to index.php, and then does an upgrade but forgets to copy the new pmwiki.php into index.php. However, since you seem to be using the (highly recommended) <?php include('pmwiki.php') index.php file to get access to pmwiki.php, I'd suggest making sure that the pmwiki.php file it's loading is indeed the latest version.

If that's not the case, let me know the size of your pmwiki.php file so I can compare it with mine (60411 bytes).

Pm