[pLog-svn] r3799 - plog/trunk/config

Mark Wu markplace at gmail.com
Tue Jul 25 19:33:32 GMT 2006


But the "character_set" information is losing ...

It will casue some problems of mysql encoding. Hope user know It is beta ...
:(

But the result is much better then we ship with the single quote one. So
lucky ... :)

Mark 

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net 
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of 
> Oscar Renalias
> Sent: Wednesday, July 26, 2006 2:52 AM
> To: plog-svn at devel.lifetype.net
> Subject: Re: [pLog-svn] r3799 - plog/trunk/config
> 
> Actually, this is not a problem in the beta1 release simply 
> because when running the build-svn.sh script, it will copy 
> the file release/ config.properties.php.dist to 
> config/config.properties.php.
> 
> It looks like Jon only modified the one that is downloaded 
> when users are running off svn and not the default one. Which 
> this time was a good thing :-)
> 
> On 25 Jul 2006, at 21:41, Mark Wu wrote:
> 
> > Thanks.
> >
> > Mark
> >
> >> -----Original Message-----
> >> From: plog-svn-bounces at devel.lifetype.net
> >> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> >> Sent: Wednesday, July 26, 2006 2:40 AM
> >> To: plog-svn at devel.lifetype.net
> >> Subject: RE: [pLog-svn] r3799 - plog/trunk/config
> >>
> >>  	Not at the moment, but I can later.
> >> On Wed, 26 Jul 2006, Mark Wu wrote:
> >>
> >>> Can you build it and upload it to sourceforge, I don't have
> >> linux box
> >>> in right now...
> >>>
> >>> Not easy to build a release.
> >>>
> >>> Marl
> >>>
> >>>> -----Original Message-----
> >>>> From: plog-svn-bounces at devel.lifetype.net
> >>>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf 
> Of Jon Daley
> >>>> Sent: Wednesday, July 26, 2006 2:37 AM
> >>>> To: plog-svn at devel.lifetype.net
> >>>> Subject: RE: [pLog-svn] r3799 - plog/trunk/config
> >>>>
> >>>>  	Sure.  Go ahead and change the config file in the
> >> released version.
> >>>> I doubt you even have to tell anyone about it.  Probably
> >> most people
> >>>> who will be using it currently will be upgrades, and so 
> they won't 
> >>>> replace the config file anyway.
> >>>>
> >>>>   On Wed, 26 Jul 2006, Mark Wu wrote:
> >>>>
> >>>>> It should take some time, before we do it ....
> >>>>>
> >>>>> I think we should release a new beta1 first. Or as I
> >> said, it will
> >>>>> cause problem is forum support.
> >>>>>
> >>>>> Because all beta testing users will ask this questions
> >>>> again and again .....
> >>>>> We all know no users  will search and look FAQ. :(
> >>>>>
> >>>>> Mark
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: plog-svn-bounces at devel.lifetype.net
> >>>>>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf
> >> Of Jon Daley
> >>>>>> Sent: Wednesday, July 26, 2006 2:29 AM
> >>>>>> To: plog-svn at devel.lifetype.net
> >>>>>> Subject: RE: [pLog-svn] r3799 - plog/trunk/config
> >>>>>>
> >>>>>>  	Ok, I understand now.  We should probably rewrite
> >>>> _getDataString to
> >>>>>> understand either.  Or even better, not read it at 
> all, but just
> >>>>>> include() it, and then write the file.
> >>>>>>
> >>>>>>   On Wed, 26 Jul 2006, Mark Wu wrote:
> >>>>>>
> >>>>>>> Writing....
> >>>>>>>
> >>>>>>> There are two scenario:
> >>>>>>>
> >>>>>>> 1. After you install, then you change the double  quote
> >> to single
> >>>>>>> quote, it will be fine. Because we read the config value
> >>>>>> from global variables.
> >>>>>>>
> >>>>>>> 2. When you write the value to config file. We have to
> >>>>>> parse(reading)
> >>>>>>> it first ... See "_getDataString", then write the value ...
> >>>>>>>
> >>>>>>> The problem happened in _getDataString, it can not parse
> >>>> the value
> >>>>>>> quote with single quote.
> >>>>>>>
> >>>>>>> Mark
> >>>>>>>
> >>>>>>>> -----Original Message-----
> >>>>>>>> From: plog-svn-bounces at devel.lifetype.net
> >>>>>>>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf
> >>>> Of Jon Daley
> >>>>>>>> Sent: Wednesday, July 26, 2006 2:07 AM
> >>>>>>>> To: plog-svn at devel.lifetype.net
> >>>>>>>> Subject: RE: [pLog-svn] r3799 - plog/trunk/config
> >>>>>>>>
> >>>>>>>>  	Reading it, or writing?
> >>>>>>>>
> >>>>>>>> On Wed, 26 Jul 2006, Mark Wu wrote:
> >>>>>>>>
> >>>>>>>>> We use regexp to get the value string, and it hard coded
> >>>>>>>> with double quote.
> >>>>>>>>> So, when you change to single quote, the problem occurs ...
> >>>>>>>>>
> >>>>>>>>> Mark
> >>>>>>>>>
> >>>>>>>>>> -----Original Message-----
> >>>>>>>>>> From: plog-svn-bounces at devel.lifetype.net
> >>>>>>>>>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf
> >>>>>> Of Jon Daley
> >>>>>>>>>> Sent: Wednesday, July 26, 2006 1:55 AM
> >>>>>>>>>> To: plog-svn at devel.lifetype.net
> >>>>>>>>>> Subject: RE: [pLog-svn] r3799 - plog/trunk/config
> >>>>>>>>>>
> >>>>>>>>>>  	Ah, it is a problem when it goes to write the
> >>>>>> config file?  I
> >>>>>>>>>> hadn't tested that part, the original bug was when 
> upgrading.
> >>>>>>>>>>  	It seems like it shouldn't be that hard to change the 
> >>>>>>>>>> configfilestorage, is it?  I haven't looked at that
> >>>> code before.
> >>>>>>>>>>
> >>>>>>>>>> On Wed, 26 Jul 2006, Mark Wu wrote:
> >>>>>>>>>>
> >>>>>>>>>>> Hi Jon:
> >>>>>>>>>>>
> >>>>>>>>>>> No error message when you in step2, but there is a error
> >>>>>>>> message in
> >>>>>>>>>>> step 3 when we click "next"
> >>>>>>>>>>>
> >>>>>>>>>>> ======
> >>>>>>>>>>> Access denied for user 'ODBC'@'localhost' (using
> >>>>>> password: NO) in
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>
> >>>>>>
> >>>>
> >> 
> D:\WWW\LifeType\1.1\class\database\pdb\drivers\pdbmysqldriver.class.p
> >>>>>>>>>> h
> >>>>>>>>>>> p on line 74 ======
> >>>>>>>>>>>
> >>>>>>>>>>> After I check the config.properties, I found no value add
> >>>>>>>>>> to this file
> >>>>>>>>>>> :( That's why cause this error.
> >>>>>>>>>>>
> >>>>>>>>>>> After I revet it back to double quote, the problem sovled.
> >>>>>>>>>>>
> >>>>>>>>>>> This bug confirm in windowsxp/php5.1.2 and debian/php4.4.2
> >>>>>>>>>> (I only try
> >>>>>>>>>>> this two environment)
> >>>>>>>>>>>
> >>>>>>>>>>> Also confirm with the other two moderators in 
> Chinese forum.
> >>>>>>>>>>>
> >>>>>>>>>>> ** I think we should release a new beta 1 ASAP, or it
> >>>>>>>> will become a
> >>>>>>>>>>> big problem in forum. I guess.
> >>>>>>>>>>>
> >>>>>>>>>>> Mark
> >>>>>>>>>>>
> >>>>>>>>>>>> -----Original Message-----
> >>>>>>>>>>>> From: plog-svn-bounces at devel.lifetype.net
> >>>>>>>>>>>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf
> >>>>>>>> Of Jon Daley
> >>>>>>>>>>>> Sent: Wednesday, July 26, 2006 1:37 AM
> >>>>>>>>>>>> To: plog-svn at devel.lifetype.net
> >>>>>>>>>>>> Subject: RE: [pLog-svn] r3799 - plog/trunk/config
> >>>>>>>>>>>>
> >>>>>>>>>>>>  	What error do you get?   Yes, it worked 
> fine for me.
> >>>>>>>>>>>>
> >>>>>>>>>>>> On Wed, 26 Jul 2006, Mark Wu wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> Hi Jon:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Does your 3768 change work in linux env? It 
> seems not work
> >>>>>>>>>>>> in Windows.
> >>>>>>>>>>>>> :(
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Hi Oscar:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> I think we have to replace this file in current 
> beta1, or
> >>>>>>>>>>>> the windows
> >>>>>>>>>>>>> user can not install lifetype using installation wizard.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Mark
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> -----Original Message-----
> >>>>>>>>>>>>>> From: plog-svn-bounces at devel.lifetype.net
> >>>>>>>>>>>>>> [mailto:plog-svn-bounces at devel.lifetype.net] On
> >> Behalf Of
> >>>>>>>>>>>>>> mark at devel.lifetype.net
> >>>>>>>>>>>>>> Sent: Wednesday, July 26, 2006 12:32 AM
> >>>>>>>>>>>>>> To: plog-svn at devel.lifetype.net
> >>>>>>>>>>>>>> Subject: [pLog-svn] r3799 - plog/trunk/config
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Author: mark
> >>>>>>>>>>>>>> Date: 2006-07-25 16:32:02 +0000 (Tue, 25 Jul 2006) New
> >>>>>>>>>>>> Revision: 3799
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Modified:
> >>>>>>>>>>>>>>    plog/trunk/config/config.properties.php
> >>>>>>>>>>>>>> Log:
> >>>>>>>>>>>>>> Revert Jon's 3768 changes. It will break
> >>>> installation wizard.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> If we want to use single quote, we need to change the 
> >>>>>>>>>>>>>> confgifilestorage.class.php, too.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Modified: plog/trunk/config/config.properties.php
> >>>>>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >> ===================================================================
> >>>>>>>>>>>>>> --- plog/trunk/config/config.properties.php
> >>>> 2006-07-25
> >>>>>>>>>>>>>> 15:39:37 UTC (rev 3798)
> >>>>>>>>>>>>>> +++ plog/trunk/config/config.properties.php
> >>>> 2006-07-25
> >>>>>>>>>>>>>> 16:32:02 UTC (rev 3799)
> >>>>>>>>>>>>>> @@ -26,11 +26,11 @@
> >>>>>>>>>>>>>>  #   (note, if upgrading between minor releases:
> >>>>>>>>>>>>>>  #   1.0 to 1.0.1, etc. you shouldn't run the wizard)
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> -$config["db_host"] = ''; -$config["db_username"] = '';
> >>>> -$config["db_password"] = '';
> >>>>>>>>>>>>>> -$config["db_database"] = '';
> >> -$config["db_prefix"] = '';
> >>>>>>>>>>>>>> -$config["db_character_set"] = 'default';
> >>>>>>>>>>>>>> +$config["db_host"] = ""; $config["db_username"] = "";
> >> $config["db_password"] = "";
> >>>>>>>>>>>>>> +$config["db_database"] = ""; 
> $config["db_prefix"] = ""; 
> >>>>>>>>>>>>>> +$config["db_character_set"] = "default";
> >>>>>>>>>>>>>>  $config["db_persistent"] = true;  ?> \ No newline at
> >>>>>>>> end of file
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>>>> pLog-svn mailing list
> >>>>>>>>>>>>>> pLog-svn at devel.lifetype.net 
> >>>>>>>>>>>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>>> pLog-svn mailing list
> >>>>>>>>>>>>> pLog-svn at devel.lifetype.net 
> >>>>>>>>>>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> --
> >>>>>>>>>>>> Jon Daley
> >>>>>>>>>>>> http://jon.limedaley.com/
> >>>>>>>>>>>>
> >>>>>>>>>>>> Teacher: What says 'A'?
> >>>>>>>>>>>> Student: A Canadian.
> >>>>>>>>>>>> -- based on a thought by Steve Moore 
> >>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>> pLog-svn mailing list
> >>>>>>>>>>>> pLog-svn at devel.lifetype.net 
> >>>>>>>>>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>>>>>>>
> >>>>>>>>>>> _______________________________________________
> >>>>>>>>>>> pLog-svn mailing list
> >>>>>>>>>>> pLog-svn at devel.lifetype.net
> >>>>>>>>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>> Jon Daley
> >>>>>>>>>> http://jon.limedaley.com/
> >>>>>>>>>>
> >>>>>>>>>> A professor is one who can speak on any subject: for
> >>>>>>>> precisely fifty
> >>>>>>>>>> minutes.
> >>>>>>>>>> -- Norbert Weiner
> >>>>>>>>>> _______________________________________________
> >>>>>>>>>> pLog-svn mailing list
> >>>>>>>>>> pLog-svn at devel.lifetype.net
> >>>>>>>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>>>>>
> >>>>>>>>> _______________________________________________
> >>>>>>>>> pLog-svn mailing list
> >>>>>>>>> pLog-svn at devel.lifetype.net
> >>>>>>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Jon Daley
> >>>>>>>> http://jon.limedaley.com/
> >>>>>>>>
> >>>>>>>> So, on Wednesday, we will go into more depth in this...
> >>>>>>>>    or at least repeat it.
> >>>>>>>> -- Dr. Langevin
> >>>>>>>> _______________________________________________
> >>>>>>>> pLog-svn mailing list
> >>>>>>>> pLog-svn at devel.lifetype.net
> >>>>>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> pLog-svn mailing list
> >>>>>>> pLog-svn at devel.lifetype.net
> >>>>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Jon Daley
> >>>>>> http://jon.limedaley.com/
> >>>>>>
> >>>>>> If you want to make enemies, try to change something.
> >>>>>> -- Woodrow Wilson
> >>>>>> _______________________________________________
> >>>>>> pLog-svn mailing list
> >>>>>> pLog-svn at devel.lifetype.net
> >>>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>
> >>>>> _______________________________________________
> >>>>> pLog-svn mailing list
> >>>>> pLog-svn at devel.lifetype.net
> >>>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>>>
> >>>>
> >>>> --
> >>>> Jon Daley
> >>>> http://jon.limedaley.com/
> >>>>
> >>>> Furious activity is no substitute for understanding.
> >>>> -- H. H. Williams
> >>>> _______________________________________________
> >>>> pLog-svn mailing list
> >>>> pLog-svn at devel.lifetype.net
> >>>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>
> >>> _______________________________________________
> >>> pLog-svn mailing list
> >>> pLog-svn at devel.lifetype.net
> >>> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >>>
> >>
> >> --
> >> Jon Daley
> >> http://jon.limedaley.com/
> >>
> >> Experience is something you don't get until just after you need it.
> >> _______________________________________________
> >> pLog-svn mailing list
> >> pLog-svn at devel.lifetype.net
> >> http://devel.lifetype.net/mailman/listinfo/plog-svn
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://devel.lifetype.net/mailman/listinfo/plog-svn
> >
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list