From: Steve W. <sw...@wc...> - 2001-01-09 17:13:09
|
This gentleman has been trying to install a DBM based PhpWiki on a Red Hat system. I am fairly certain he's using version 1.1.9. I'm stumped at this point as to why he cannot get it to work... initially it looked like he didn't compile DBM support into PHP, which he then did, but it still gives him a blank page. Perhaps there is something in PHP4.04 we don't know about... perhaps you can see something I'm overlooking. thx ~swain ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |
From: Pablo R. R. <pr...@cl...> - 2001-01-09 17:30:30
|
Hi Steve, Just to say two things, maybe this man must ensure exactly of what version of php he has, he just says php 4.0 , we at myphportal have noticed some errors from people running php 4.0 Beta 2. This man must do a phpinfo() for seeing his version. The message sent out to the browser "Just before OpenDataBase" is not at phpwiki code, maybe he has modified some code or this is a server message. Finally let me introduce myself, I am part of a web portal system we are developing called myphportal, is a software based on phpNuke with more than 90 bugs fixed, you can see in action at: http://proca.nexen.net I hope I have enough time to collaborate with phpwiki project. But don't add me cause by now I can't promise any time. Best, Pablo Roca (pr...@cl...) La Coruna - Espana myPHPortal Team http://sourceforge.net/projects/myphportal > -----Mensaje original----- > De: php...@li... > [mailto:php...@li...]En nombre de Steve > Wainstead > Enviado el: martes, 09 de enero de 2001 18:13 > Para: php...@li... > Asunto: [Phpwiki-talk] Arno, I need a little help... > > > > This gentleman has been trying to install a DBM based PhpWiki on a Red Hat > system. I am fairly certain he's using version 1.1.9. I'm stumped at this > point as to why he cannot get it to work... initially it looked like he > didn't compile DBM support into PHP, which he then did, but it still > gives him a blank page. Perhaps there is something in PHP4.04 we don't > know about... perhaps you can see something I'm overlooking. > > thx > ~swain > > > > ...............................ooo0000ooo................................. > Hear FM quality freeform radio through the Internet: http://wcsb.org/ > home page: www.wcsb.org/~swain > |
From: Pablo R. R. <pr...@cl...> - 2001-01-09 17:37:33
|
Hi Steve, I am trying to integrate phpwiki with myphportal software we are doing, all pages we render are in the following format: anypage.php <?php if (!isset($mainfile)) { include("mainfile.php"); } include("header.php"); ?> Here goes the HTML code as normal. <?php include("footer.php"); ?> I have looked at your code (not much till now), and I didn't saw how to incorporate the HTML you generate in a php like we do, I digged into lib\stdlib.php and I'm figuring that this is done in the GeneratePage function. Am I right? Or must I do in another way saying to phpWiki to render mainfile.php , header.php and footer.php we do? Thanks, Pablo Roca (pr...@cl...) La Coruna - Espana myPHPortal Team http://sourceforge.net/projects/myphportal |
From: Arno H. <aho...@xm...> - 2001-01-09 18:18:17
|
Pablo, > I have looked at your code (not much till now), and I didn't saw how to > incorporate the HTML you generate in a php like we do, I digged into > lib\stdlib.php and I'm figuring that this is done in the GeneratePage > function. Am I right? Or must I do in another way saying to phpWiki to > render mainfile.php , header.php and footer.php we do? If you like to have complete control over the other things, then just wri= te=20 your own GeneratePage() function. The parameters are straight forward. # GeneratePage() -- takes $content and puts it in the template $templa= te # $template ... name of the template (see config.php for list of names= ) # $content ... html content to put into the page # $name ... page title # $hash ... if called while creating a phpwiki page, $hash points to # the $pagehash array of that page. function GeneratePage($template, $content, $name, $hash) Basically, $content contains the bare rendered phpwiki page without the fluff added by the template. Grep for GeneratePage to see where it gets=20 called from and to understand how it is used. /Arno |
From: Pablo R. R. <pr...@cl...> - 2001-01-09 17:38:48
|
Me again, What are the future enhacement plans for phpWiki? Pablo Roca (pr...@cl...) La Coruna - Espana myPHPortal Team http://sourceforge.net/projects/myphportal > -----Mensaje original----- > De: php...@li... > [mailto:php...@li...]En nombre de Steve > Wainstead > Enviado el: martes, 09 de enero de 2001 18:13 > Para: php...@li... > Asunto: [Phpwiki-talk] Arno, I need a little help... > > > > This gentleman has been trying to install a DBM based PhpWiki on a Red Hat > system. I am fairly certain he's using version 1.1.9. I'm stumped at this > point as to why he cannot get it to work... initially it looked like he > didn't compile DBM support into PHP, which he then did, but it still > gives him a blank page. Perhaps there is something in PHP4.04 we don't > know about... perhaps you can see something I'm overlooking. > > thx > ~swain > > > > ...............................ooo0000ooo................................. > Hear FM quality freeform radio through the Internet: http://wcsb.org/ > home page: www.wcsb.org/~swain > |
From: Pablo R. R. <pr...@cl...> - 2001-01-09 17:54:06
|
Just curious if I EditText a page the myPhPortal word or mySadlyNewsSoon don't get recognised as a new link, it's likely if I began with my the word is not recognized as a new link. Pablo Roca (pr...@cl...) La Coruna - Espana myPHPortal Team http://sourceforge.net/projects/myphportal > -----Mensaje original----- > De: php...@li... > [mailto:php...@li...]En nombre de Steve > Wainstead > Enviado el: martes, 09 de enero de 2001 18:13 > Para: php...@li... > Asunto: [Phpwiki-talk] Arno, I need a little help... > > > > This gentleman has been trying to install a DBM based PhpWiki on a Red Hat > system. I am fairly certain he's using version 1.1.9. I'm stumped at this > point as to why he cannot get it to work... initially it looked like he > didn't compile DBM support into PHP, which he then did, but it still > gives him a blank page. Perhaps there is something in PHP4.04 we don't > know about... perhaps you can see something I'm overlooking. > > thx > ~swain > > > > ...............................ooo0000ooo................................. > Hear FM quality freeform radio through the Internet: http://wcsb.org/ > home page: www.wcsb.org/~swain > |
From: Arno H. <aho...@xm...> - 2001-01-09 18:09:01
|
Pablo, > Just curious if I EditText a page the myPhPortal word or mySadlyNewsSoo= n > don't get recognised as a new link, it's likely if I began with my the > word is not recognized as a new link. the word has to start with an uppercase letter. I.e. noLinkHere is not linked (first letter is lowercase), but AnAwesomeL= ink is recognized (first letter is uppercase). If you need you pagenames starting with lowercase letters then put them=20 into square brackets like this: [myPHPortal] [mySadlyNewsSoon] /Arno |
From: Pablo R. R. <pr...@cl...> - 2001-01-09 18:40:19
|
Thanks Arno, that works Pablo Roca (pr...@cl...) La Coruna - Espana myPHPortal Team http://sourceforge.net/projects/myphportal > -----Mensaje original----- > De: php...@li... > [mailto:php...@li...]En nombre de Arno > Hollosi > Enviado el: martes, 09 de enero de 2001 19:09 > Para: php...@li... > Asunto: Re: [Phpwiki-talk] Arno, I need a little help... > > > > Pablo, > > > Just curious if I EditText a page the myPhPortal word or mySadlyNewsSoon > > don't get recognised as a new link, it's likely if I began with my the > > word is not recognized as a new link. > > the word has to start with an uppercase letter. > I.e. noLinkHere is not linked (first letter is lowercase), but > AnAwesomeLink > is recognized (first letter is uppercase). > > If you need you pagenames starting with lowercase letters then put them > into square brackets like this: [myPHPortal] [mySadlyNewsSoon] > > /Arno > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > http://lists.sourceforge.net/mailman/listinfo/phpwiki-talk |
From: Steve W. <sw...@wc...> - 2001-01-09 18:35:30
|
On Tue, 9 Jan 2001, Pablo Roca Rozas wrote: > Just curious if I EditText a page the myPhPortal word or mySadlyNewsSoon > don't get recognised as a new link, it's likely if I began with my the word > is not recognized as a new link. Links have to start with a capital letter, so MyPhPortal would link but myPhPortal would not... is that what you meant? ~swain > > Pablo Roca (pr...@cl...) > La Coruna - Espana > myPHPortal Team > http://sourceforge.net/projects/myphportal > > > > -----Mensaje original----- > > De: php...@li... > > [mailto:php...@li...]En nombre de Steve > > Wainstead > > Enviado el: martes, 09 de enero de 2001 18:13 > > Para: php...@li... > > Asunto: [Phpwiki-talk] Arno, I need a little help... > > > > > > > > This gentleman has been trying to install a DBM based PhpWiki on a Red Hat > > system. I am fairly certain he's using version 1.1.9. I'm stumped at this > > point as to why he cannot get it to work... initially it looked like he > > didn't compile DBM support into PHP, which he then did, but it still > > gives him a blank page. Perhaps there is something in PHP4.04 we don't > > know about... perhaps you can see something I'm overlooking. > > > > thx > > ~swain > > > > > > > > ...............................ooo0000ooo................................. > > Hear FM quality freeform radio through the Internet: http://wcsb.org/ > > home page: www.wcsb.org/~swain > > > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > http://lists.sourceforge.net/mailman/listinfo/phpwiki-talk > ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |
From: Pablo R. R. <pr...@cl...> - 2001-01-09 18:50:39
|
Yes, thanks Pablo Roca (pr...@cl...) La Coruna - Espana myPHPortal Team http://sourceforge.net/projects/myphportal > -----Mensaje original----- > De: php...@li... > [mailto:php...@li...]En nombre de Steve > Wainstead > Enviado el: martes, 09 de enero de 2001 19:36 > Para: php...@li... > Asunto: RE: [Phpwiki-talk] Arno, I need a little help... > > > On Tue, 9 Jan 2001, Pablo Roca Rozas wrote: > > > Just curious if I EditText a page the myPhPortal word or mySadlyNewsSoon > > don't get recognised as a new link, it's likely if I began with > my the word > > is not recognized as a new link. > > Links have to start with a capital letter, so MyPhPortal would link but > myPhPortal would not... is that what you meant? > > ~swain > > > > > > Pablo Roca (pr...@cl...) > > La Coruna - Espana > > myPHPortal Team > > http://sourceforge.net/projects/myphportal > > > > > > > -----Mensaje original----- > > > De: php...@li... > > > [mailto:php...@li...]En nombre de Steve > > > Wainstead > > > Enviado el: martes, 09 de enero de 2001 18:13 > > > Para: php...@li... > > > Asunto: [Phpwiki-talk] Arno, I need a little help... > > > > > > > > > > > > This gentleman has been trying to install a DBM based PhpWiki > on a Red Hat > > > system. I am fairly certain he's using version 1.1.9. I'm > stumped at this > > > point as to why he cannot get it to work... initially it > looked like he > > > didn't compile DBM support into PHP, which he then did, but it still > > > gives him a blank page. Perhaps there is something in PHP4.04 we don't > > > know about... perhaps you can see something I'm overlooking. > > > > > > thx > > > ~swain > > > > > > > > > > > > > ...............................ooo0000ooo................................. > > > Hear FM quality freeform radio through the Internet: http://wcsb.org/ > > home page: www.wcsb.org/~swain > > > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > http://lists.sourceforge.net/mailman/listinfo/phpwiki-talk > ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain _______________________________________________ Phpwiki-talk mailing list Php...@li... http://lists.sourceforge.net/mailman/listinfo/phpwiki-talk |
From: Pablo R. R. <pr...@cl...> - 2001-01-10 10:36:33
|
Hi, I saw that the locale in spanish is rather American Spanish that real spanish, and I think is incomplete I would like to do a locale spanish, but I need some things: 1. How to fix the spanish locale? Wich files are affected? 2. How install the spanish locale for testing? Tnx Pablo Roca (pr...@cl...) La Coruna - Espana myPHPortal Team http://sourceforge.net/projects/myphportal |
From: Pablo R. R. <pr...@cl...> - 2001-01-10 10:49:57
|
Ah, I almost forget this. Now phpWiki can work inside a web portal system. I have done the integration with phpNuke & myphportal successfully, you can see this in action at: http://proca.nexen.net In main menu is Wiki (test2) Pablo Roca (pr...@cl...) La Coruna - Espana myPHPortal Team http://sourceforge.net/projects/myphportal |
From: Arno H. <aho...@xm...> - 2001-01-10 14:14:41
|
> 1. How to fix the spanish locale? Wich files are affected? Files affected are locale/es/templates/* locale/es/pgsrc/* locale/po/es.po > 2. How install the spanish locale for testing? in lib/config.php set your language to "es" If you have modified es.po you need to run translate.sh first (from the main directory like locale/translate.sh) Also, modified files in pgsrc won't show up unless you start your wiki wi= th=20 an empty database. /Arno |
From: Pablo R. R. <pr...@cl...> - 2001-01-10 15:55:52
|
Ok, thanks Arno Pablo Roca (pr...@cl...) La Coruna - Espana myPHPortal Team http://sourceforge.net/projects/myphportal > -----Mensaje original----- > De: php...@li... > [mailto:php...@li...]En nombre de Arno > Hollosi > Enviado el: miercoles, 10 de enero de 2001 15:15 > Para: php...@li... > Asunto: Re: [Phpwiki-talk] doing / fixing spanish locale > > > > > 1. How to fix the spanish locale? Wich files are affected? > > Files affected are > > locale/es/templates/* > locale/es/pgsrc/* > locale/po/es.po > > > 2. How install the spanish locale for testing? > > in lib/config.php set your language to "es" > If you have modified es.po you need to run translate.sh first > (from the main directory like locale/translate.sh) > Also, modified files in pgsrc won't show up unless you start your > wiki with > an empty database. > > /Arno > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > http://lists.sourceforge.net/mailman/listinfo/phpwiki-talk |
From: Arno H. <aho...@xm...> - 2001-01-09 17:55:20
|
cc'ed to phpwiki-talk as it might be of interest to others as well .... (sorry Steve, you receive it twice) ------------ Hi Richard, I'm Arno, one of the developers of phpwiki. Steve asked me to help him tr= y=20 to figure out what your problem is. =46rom the emails Steve sent me, it seems the problem is either very mund= ane=20 or pretty sophistcated. To ensure that everything is going as it should b= e, please make the following steps and send us the results. - which version of phpwiki are you using? I suggest downloading the nightly tarball from ftp://phpwiki.sourceforge.net/pub/phpwiki/phpwiki.nightly.tar.gz Untar it and try it out, still no page? - send us the result from a call to phpinfo() The following assumes a fresh install from the nightly tarball. - in config.php line 4: change error_reporting(E_ALL ^ E_NOTICE); to error_reporting(E_ALL); - in dbmlib.php line 35 remove the "@" in front of dbmopen()=20 - if you have time add the following prints to OpenDataBase() in dbmlib.p= hp: (lines marked with ###########) function OpenDataBase($dbname) { global $WikiDB; // hash of all the DBM file names print "entered OpenDataBase($dbname)\n"; flush(); ############ reset($WikiDB); while (list($key, $file) =3D each($WikiDB)) { print "trying db -$key-, file -$file-\n"; flush(); ########## while (($dbi[$key] =3D dbmopen($file, "c")) < 1) { print "result was -$dbi[$key]-\n"; flush(); ############ $numattempts++; if ($numattempts > MAX_DBM_ATTEMPTS) { ExitWiki("Cannot open database '$key' : '$file', giving=20 up."); } sleep(1); } print "final key is -$dbi[$key]-\n"; flush(); ########### } print "leaving OpenDataBase()\n"; flush(); ############### return $dbi; } - look at index.php again, do a "View HTML source" in your browser and send us what you see there (byte for byte) This should give us a good clue, what is happening. I'm concentrating on OpenDataBase(), because in one of your emails you wr= ote that you see the print before, but not the print directly after=20 OpenDataBase() Btw, have you made sure that all files *and* directories are readable by Apache? This includes lib/*, template/*, and pgsrc/* Thanks for helping us debugging phpwiki /Arno |