From: Manuel V. <man...@gm...> - 2005-09-29 15:04:21
|
Hello, I modified the CreateToc wiki again because it was produsing lot's of errors (with double quote, with wiki text, ...). How do you wish I contribute my modif ? * Against CVS version ? * Inculding my old patch that allow a automatic counter usage ? * Throught patch manager ? Moreover, I still have problems with links inside title like: !! test http://toto.com !! test ma...@to... Because TransformInline function (I still coding against 1.3.10 :/) doesn't transform such text to html. Regards, Manuel |
From: Manuel V. <man...@gm...> - 2005-10-06 08:58:39
|
2005/9/29, Manuel Vacelet <man...@gm...>: > Hello, > > I modified the CreateToc wiki again because it was produsing lot's of > errors (with double quote, with wiki text, ...). I made a patch against v 1.3.11-p1 (I guess it's the same than CVS): http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1314668&group_= id=3D6121&atid=3D306121 Some examples of toc issues are viewable here: http://phpwiki.sourceforge.net/phpwiki/CreateTocIssuesExample One problem remain with 'http' addresses and I have -yet- no ideas to fix i= t. |
From: John K. <jo...@ke...> - 2005-10-06 18:52:13
|
Hi, I installed a wiki for someone ages ago (2 years?) and it's worked fine ever since. Two days ago their admininstrator upgraded to php 4.4.0 and their wiki started spewing 50+ 'Notice' error messages at the bottom of every page! Is there a way to fix this? I don't want to upgrade him to the latest & greatest phpwiki cos he's got an installed user-base of aged professors who took 2 years to learn wiki syntax and will hit the roof if he tells them they have to learn it all again! He's happy with the system he has - is there a quick fix? They've reverted back to the previous version of php for now, but his sysadmin wants to stay current. Any ideas? John. -- ------------------------------------------------------------------- T:01274 581519 / M:07944 755613 www.kershaw.org jo...@ke... skype:johnmkershaw AIM:johnkershaw MSN:joh...@ho... |
From: Matt B. <ma...@ma...> - 2005-10-06 20:48:21
Attachments:
phpwiki-nonotices.patch
|
On Thu, 2005-10-06 at 19:51 +0100, John Kershaw wrote: > Is there a way to fix this? I don't want to upgrade him to the latest > & greatest phpwiki cos he's got an installed user-base of aged > professors who took 2 years to learn wiki syntax and will hit the > roof if he tells them they have to learn it all again! He's happy > with the system he has - is there a quick fix? It is due to a change in how PHP handles reference variables. 1.3.11p1 fixes *most* of these errors, but as you say you don't want to upgrade yet. I use the attached patch in the Debian package for 1.3.10 to suppress these error messages. Use at your own risk as it may also hide other legitimate errors, but in my experience the chance of that is low. I can't guarantee that the patch will apply to anything other than 1.3.10 but it should give you an idea of how to hack around this problem. HTH Regards -- Matt Brown ma...@ma... Mob +64 275 611 544 www.mattb.net.nz |
From: Reini U. <rei...@gm...> - 2005-10-08 06:54:33
|
You have to add some flags to error_reporting (in lib/prepend.php) or turn off DEBUG in config.ini. for php4 e.g.: error_reporting(E_ALL & ~E_NOTICE); http://cvs.sourceforge.net/viewcvs.py/phpwiki/phpwiki/lib/prepend.php?view= =3Dauto On 10/6/05, John Kershaw <jo...@ke...> wrote: > I installed a wiki for someone ages ago (2 years?) and it's worked > fine ever since. > > Two days ago their admininstrator upgraded to php 4.4.0 and their > wiki started spewing 50+ 'Notice' error messages at the bottom of > every page! > > Is there a way to fix this? I don't want to upgrade him to the latest > & greatest phpwiki cos he's got an installed user-base of aged > professors who took 2 years to learn wiki syntax and will hit the > roof if he tells them they have to learn it all again! He's happy > with the system he has - is there a quick fix? > > They've reverted back to the previous version of php for now, but his > sysadmin wants to stay current. -- Reini Urban |