11
phppp
Re: Bug in NewBB (2.0.7 core) - Unable to edit or preview messages
  • 2004/6/23 20:24

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Quote:

Dave_L wrote:
Which newbb version are you talking about here?


He must be using the March 29 version, I guess

12
phppp
Re: Bug in NewBB (2.0.7 core) - Unable to edit or preview messages
  • 2004/6/23 20:26

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Kerjin,
I need register to test your forum?

13
WarDick
Re: Bug in NewBB (2.0.7 core) - Unable to edit or preview messages
  • 2004/6/23 20:39

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Quote:

phppp wrote:
I thought you were talking about the same thing, aren't you?


I believe we are talking about the same problem.

I tried you function but it generated this error message.
Cannot redeclare settype() in /home/xxxxxxx/modules/newbb/class/class.forumpost.php

14
Kerjin
Re: Bug in NewBB (2.0.7 core) - Unable to edit or preview messages
  • 2004/6/23 21:47

  • Kerjin

  • Just popping in

  • Posts: 48

  • Since: 2004/3/10


No, we're talking about different things, I had a different error from PHPDebug.

And I've finally tracked mine down. Mine came from the Flash/Real addon at this url


There's apparently a problem with the replacement xoopscode.php in the includes directory.



<?php
// $Id: xoopscodes.php,v 1.10 2003/10/02 09:35:38 okazu Exp $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                       <https://xoops.org/>                             //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
// Author: Kazumi Ono (AKA onokazu)                                          //
// URL: https://xoops.org/ http://www.xoopscube.jp/  http://www.myweb.ne.jp/  //
// Project: The XOOPS Project (https://xoops.org/)                        //
// ------------------------------------------------------------------------- //



Replacing that with the stock xoopscodes.php that came with the 2.0.7 core returned my editing fuinctions to me!

Now, if someone with more experience in php tham me could figure out what's going on here....

Login

Who's Online

223 user(s) are online (160 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits