BLOG:CMS :: Support Forum

Support Forum for BLOG:CMS

You are not logged in.

#1 10.03.2005 04:46

jackfreund3
newbie...
Registered: 24.02.2005
Posts: 6

Bug with /wiki/media.php

Looks like there is a naming problem with the file /wiki/media.php.  The function call on line 36:

Code:

35 <body>
36  <?phphtml_msgarea()?>
37   <h1><?php echo $lang['mediaselect']?></h1>

refers to a function that does not exist.  The require_once on line 7:

Code:

7 require_once("inc/html.php");

is the file where this function exists, however here it's named html_msgarea().

Changing the name of the function in the media.php to

Code:

36  <?html_msgarea()?>

resolves the problem.  You will experience a function not defined error when you clicked on the "Add images and other files" button when editing a wiki page if you don't make this change.

Offline

 

#2 10.03.2005 10:35

Radek Hulán
Site Admin
From: Prague, Czech Republic
Registered: 17.03.2004
Posts: 2509
Website

Re: Bug with /wiki/media.php

Thank you. You can also report Dokuwiki bugs at http://wiki.splitbrain.org/wiki:dokuwiki


--= BLOG:CMS developer =--

Offline

 

#3 10.03.2005 15:30

hcgtv
BLOG:CMS PhD
From: Charlotte, NC
Registered: 09.07.2004
Posts: 234
Website

Re: Bug with /wiki/media.php

That's been fixed, 2005-02-18 has these lines:

Code:

<body>
  <?html_msgarea()?>
  <h1><?=$lang['mediaselect']?></h1>

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

TOPlist