[pLog-svn] update to 1.1

Oscar Renalias oscar at renalias.net
Thu Mar 23 20:10:57 GMT 2006


On 23 Mar 2006, at 15:39, Jon Daley wrote:

> On Thu, 23 Mar 2006, Oscar Renalias wrote:
>> can you tell us which things didn't work? I didn't have so many
>> problems with lifetype.net and my personal blog...
> 	It tried to recreate the in_summary and another column.  I am not  
> sure what the history is of the database, but I am pretty sure it  
> has been official releases only -- Glen - want to clarify what  
> releases you have installed?

I can't see the in_summary_page column in the db schema of 1.0.x. Can  
anybody with a 1.0.x instance confirm this?

> 	The category_id field was in the articles table, and so a query  
> didn't specify which category_id it wanted, because the wizard  
> assumed the column was gone, and so the query failed because it  
> didn't know which category_id to use articles_category_link or  
> articles.

I don't think I understand this one but I will take a closer look to  
see if I can reproduce this.

Alternatively, we can switch our db schemas to adodb's data  
dictionaries (http://phplens.com/lens/adodb/docs-datadict.htm) which  
would take care of modifying the schema automatically. I kept this  
feature in pdb because it's used by some plugins and it's just a  
matter of transforming the current sql definition to adodb's own  
pseudo-language for defining schemas.

> 	The main issue is that once the wizard starts you are stuck.  ie.  
> the second or third step failed halfway through, and then no one  
> except for a handful of people in the world could recover from it;  
> everyone else would have to go back to a backup of the database or  
> something.

It's quite difficult to do a rollback of this kind of changes... How  
can we know at which point an installation was stopped so that we can  
restart from that point in case the process needs to be restarted?

> 	The things we should check are the things like what php settings  
> are there, whether the config file is writable, permissions on the  
> gallery and tmp directory, etc.   We should at least detect it, and  
> probably try to fix it as well.  All the questions we get in the  
> forums having to do with installs would be nice to get rid of.
> 	I haven't tried my personal blog yet either.

I will take a look at these. Off the top of my head:

- check permissions (gallery/, tmp/)
-check if the config file is writable
-detect safe mode and warn about it (?)
-other php settings we might need (?)

Ideas?

>
>
>
>> let's first concentrate on getting the new functionality running and
>> then we'll worry about the cache :)
> 	Yeah, that is fine - it is just a whole new system for me, so I am  
> not always sure how to do things in the non-cached way either.
>
>> For starters, please add a new column if it makes it easier for you
>> (and faster) to find the right blog(s) based on the domain. Later on
>> we'll build the cache based on the column.
>>
>> I believe the missing method is getBlogSettingsFromField, right? If
>> you make the change above, it won't be needed anyway...
> 	Correct.  I will try adding the column.
> _______________________________________________
> 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