[Pmwiki-users] URL Changes With Latest Update

Steven Leite steven_leite
Fri May 14 07:18:56 CDT 2004


This should be #1 on the FAQ list

8-)


----- Original Message ----- 
From: "Templier Antony" <antony.templier at wanadoo.fr>
To: "Patrick R. Michaud" <pmichaud at pobox.com>
Cc: <Pmwiki-users at pmichaud.com>; <leecdvm at direcway.com>
Sent: Friday, May 14, 2004 5:36 AM
Subject: Re: [Pmwiki-users] URL Changes With Latest Update


> A blank line...
> There was a blank on the first line of my config.php...
>
> When i'm thinking about wasting time with this stupid blank line, i'm
> ... grrr.
> Anyway, i've just put back the output_buffering variable to Off in the
> php.ini file and delete the blank line in the config.php : no more
error
> messages and all run smoothly...
>
> thank 's a lot Pm.
>
>
> Le jeu 13/05/2004 ? 17:46, Patrick R. Michaud a ?crit :
> > Just to make sure...can I ask you to verify that
> > there aren't any blank lines or spaces before the
> > <?php or after the ?> in your config.php file?
> > Seeing that the output was already sent on line 2 of
> > config.php makes me a bit suspicious here...
> >
> > Note that your error message is slightly different
> > from Lee's message--yours has an "output already
> > sent" message, whereas Lee's message indicates a
> > "parse error".
> >
> > Pm
> >
> > On Wed, May 12, 2004 at 04:15:25PM +0200, Templier Antony wrote:
> > > I 've experienced the same matter since the 0.6.13 PmWiki version.
> > >
> > > I got this php message in the top of all pages:
> > >
> > > Warning: Cannot modify header information - headers already sent
by
> > > (output started at /home/www/pmwiki/local/config.php:2) in
> > > /home/www/pmwiki/pmwiki.php on line 393
> > >
> > > After searching on Internet, I found a workaround :
> > > In the php.ini file, I changed the output_buffering variable Off
to On.
> > > (and all seem to work well at now with pretty URLs that look like
> > > 'http://phoenix.home.net/wiki/PmWikiFr/Aide' for instance).I
> > >
> > > I hope this will heplful to you (but i know anybody can't have
always
> > > access to the php.ini file configuration of the host server)
> > >
> > > Antony.
> > >
> > >
> > > Maybe useful infos for debugging ---------------------------
> > >
> > > This my configuration (on a home test server):
> > >
> > > pmwiki is in /home/www/pmwiki
> > >
> > > I use an alias in my Apache (2.0.48 with php 4.3.4) config file :
> > > Alias /wiki /home/www/pmwiki/pmwiki.php
> > >
> > > I put AcceptPathInfo on the .htaccess of /home/www/pmwiki/
directory
> > >
> > > This my local/config.php :
> > > [start config.php]
> > >
> > > $WikiTitle = 'Z3Lab';
> > >  $ScriptUrl = 'http://phoenix.home.net/wiki';
> > >  $PubDirUrl = 'http://phoenix.home.net/pmwiki/pub/';
> > >
> > >
> > >  $EnableUpload = 1;
> > >  $DefaultPasswords['upload'] = crypt('secret');
> > >
> > >
> > >  $EnableQATags=1;                         # Q: and A: Markup
(default on)
> > >  $EnableWikiTrails=1;    # WikiTrails (default on)
> > >                 # keep page history at least 30 days
> > >
> > > ###################
> > > ## Add by Antony ##
> > > ###################
> > >
> > > # En fran?ais...
> > > XLPage('fr','PmWikiFr.XLPage');
> > >
> > > # Groupe par d?faut
> > > $DefaultGroup='Home';
> > >
> > > # Changement de Skin
> > > $PageSkinTemplates = array(
> > >         'pmwiki' => 'pub/skins/pmwiki/pmwiki.tmpl',
> > >         'classic' => 'pub/skins/classic/classic.tmpl',
> > >         'jh' => 'pub/skins/jh/jh.tmpl',
> > > 'arndis' => 'pub/skins/arndis/cream-gold.tmpl',
> > > 'tom' => 'pub/skins/tom/tom.tmpl');
> > >
> > > include_once('local/skinchange.php')
> > > [end config.php]
> > >
> > > where phoenix.home.net is my home web server that have
DocumentRoot
> > > pointing to /home/www
> > > -----------------------------------------------------------------
> > >
> > > > Can you send me a copy of your config.php, or at least the first
> > > > ten or so lines of it?  That would help a lot in locating the
> > > > problem.
> > > >
> > > > Pm
> > > >
> > > >
> > > > On Tue, May 11, 2004 at 01:29:59PM -0400, Lee Corbridge, DVM
wrote:
> > > > > I have been using the redirect method of making my URL's
prettier.
> > > > > Method # 2 "Make A Wiki Script" @ PmWiki.ChangePmWikiURL
> > > > >
> > > > > Has the latest update changed something in pmwiki.php?  I
tried to
> > > > > install a new pmwiki at a new location today and I get the
following
> > > > > errors in the header :
> > > > >
> > > > > Parse error:  parse error in
> > > > > /home/leecdvm/public_html/docs/local/config.php on line 6
> > > > >
> > > > >  Warning:  Cannot modify header information - headers already
sent
> > > > by
> > > > > (output started at
> > > > /home/leecdvm/public_html/docs/local/config.php:6)
> > > > > in /home/leecdvm/public_html/docs/pmwiki.php on line 394
> > > > >
> > > > > I haven't changed anything regarding my end and I have all the
> > > > settings
> > > > > the same across all my wiki's ( 10 total ) and none of them
have
> > > > > changed except the new install.
> > > > >
> > > > > Here is the url :
> > > > >
> > > > > http://www.leecdvm.com/docs/pmwiki.php
> > > > >
> > > > > Any ideas or suggestions is welcome.
> > > > >
> > > > >
> > > > > I Hope This Helps ...
> > > > > Keep Looking Up
> > > > >
> > > > > Doc
> > > > >
> > > > > Lee Corbridge, DVM ~ allcritters at yahoo.com
> > > > > http://www.allcritters.com ~ Sebring, FL
> > > > > Member AVMA, AAFP ~ USDA Accredited
> > > > >
> > > > > Practice Limited To Cats Of All Sizes
> > > > >
> > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > > > >
> > > > > "Life is about creating yourself."  -- George Bernard Shaw
> > > > >
> > > > > "Never doubt that a small group of thoughtful, committed
citizens
> > > > can
> > > > > change the world;
> > > > > indeed, it's the only thing that ever has."  -- Margaret Mead
> > > > >
> > > > >
> > > > > -- 
> > > > > Pmwiki-users mailing list
> > > > > Pmwiki-users at pmichaud.com
> > > > > http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
> > >
> > >
> > > -- 
> > > Pmwiki-users mailing list
> > > Pmwiki-users at pmichaud.com
> > > http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>
>
> -- 
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
>
>




More information about the pmwiki-users mailing list