Search the web
Sign In
New User? Sign Up
pn-mod-books
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: the brand new version   Message List  
Reply | Forward Message #870 of 908 |
Re: [pn-mod-books] books .8 feedback

hi there hello Jean Michel

many many thanks for the module. In these days i am quite very very busy but i
will take a look at the
installation and the work of the module in christmas holiday.


so we well get more infos at the christmas -
Jean Michel i look forward to talk bout the module with you

meanwhile - best regards
Jobst



> -----Ursprüngliche Nachricht-----
> Von: pn-mod-books@yahoogroups.com
> Gesendet: 25.09.06 09:32:57
> An: pn-mod-books@yahoogroups.com
> Betreff: Re: [pn-mod-books] books .8 feedback


> Thanks to Edfel who send me his books database, I was able to test the
> upgrade procedure with a database including a lot of categories,
> subcategories and books. This lead to the discovery of 2 more bugs in
> pninit.php ( a missing single quote and a wrong typecasting to int)
> I have corrected these bugs in the CVS.
> If you want to test upgrading from books .750, you need pninit.php
> version 1.8 or more
> Also looking at Edfel database revealed that some of you have a .750RC4
> or .750RC5 books version but already have the code and pubdate fields in
> the books_books, books_modrequest and books_newbook tables
> If you are in this case, the easiest way to manage this situation is to
> comment or delete all the lines:
> //new fields for pubdate and code added
> $dbconn =& pnDBGetConn(true);
> $pntable =& pnDBGetTables();
>
> $table = $pntable[books_books];
> $templatecolumn = &$pntable['books_books_column'];
>
> $sql = "ALTER TABLE $table
> ADD ".$templatecolumn['pubdate']." date DEFAULT
> '0000-00-00' NOT NULL";
> $dbconn->Execute($sql);
>
> if ($dbconn->ErrorNo() != 0) {
> pnSessionSetVar('errormsg', _UPDATETABLEFAILED .
> $templatecolumn['pubdate'] . ' error ' . $dbconn->ErrorMsg());
> return false;
> }
>
> $sql = "ALTER TABLE $table
> ADD ".$templatecolumn['code']." varchar(150)";
> $dbconn->Execute($sql);
>
> if ($dbconn->ErrorNo() != 0) {
> pnSessionSetVar('errormsg', _UPDATETABLEFAILED .
> $templatecolumn['code'] . ' error ' . $dbconn->ErrorMsg());
> return false;
> }
> $table = $pntable[books_modrequest];
> $templatecolumn = &$pntable['books_modrequest_column'];
>
> $sql = "ALTER TABLE $table
> ADD ".$templatecolumn['pubdate']." date DEFAULT
> '0000-00-00' NOT NULL";
> $dbconn->Execute($sql);
>
> if ($dbconn->ErrorNo() != 0) {
> pnSessionSetVar('errormsg', _UPDATETABLEFAILED .
> $templatecolumn['pubdate'] . ' error ' . $dbconn->ErrorMsg());
> return false;
> }
>
> $sql = "ALTER TABLE $table
> ADD ".$templatecolumn['code']." varchar(150)";
> $dbconn->Execute($sql);
>
> if ($dbconn->ErrorNo() != 0) {
> pnSessionSetVar('errormsg', _UPDATETABLEFAILED .
> $templatecolumn['code'] . ' error ' . $dbconn->ErrorMsg());
> return false;
> }
> $table = $pntable[books_newbook];
> $templatecolumn = &$pntable['books_newbook_column'];
>
> $sql = "ALTER TABLE $table
> ADD ".$templatecolumn['pubdate']." date DEFAULT
> '0000-00-00' NOT NULL";
> $dbconn->Execute($sql);
>
> if ($dbconn->ErrorNo() != 0) {
> pnSessionSetVar('errormsg', _UPDATETABLEFAILED .
> $templatecolumn['pubdate'] . ' error ' . $dbconn->ErrorMsg());
> return false;
> }
>
> $sql = "ALTER TABLE $table
> ADD ".$templatecolumn['code']." varchar(150)";
> $dbconn->Execute($sql);
>
> if ($dbconn->ErrorNo() != 0) {
> pnSessionSetVar('errormsg', _UPDATETABLEFAILED .
> $templatecolumn['code'] . ' error ' . $dbconn->ErrorMsg());
> return false;
> }
> in the modules/books/pninit.php file BEFORE attempting the upgrade. This
> will prevent the module from sopping the upgrade complaining that these
> fields already exist.
>
> I must be the culprit of this situation because I think I had a wrong
> pnversion.php file at some time !!
>
> I will look into adding lines to test if these fields exist before
> attempting to create them.
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>


______________________________________________________________________________
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!




Sun Dec 3, 2006 2:07 pm

floobee_man
Offline Offline
Send Email Send Email

Forward
Message #870 of 908 |
Expand Messages Author Sort by Date

hello again well Jean Micheel Vedrine had good news - again many thanks to you Jean Michel! in order to enlarge the audience i would take a announcement on...
jobst müller
floobee_man
Offline Send Email
Sep 15, 2006
9:59 am

Can I have some feedback about the books module .8 release ? How many of you did try to install it on a PostNuke site where no previous books version was...
Jean-michel Védrine
jmvedrine
Offline Send Email
Sep 24, 2006
10:20 pm

Thanks to Edfel who send me his books database, I was able to test the upgrade procedure with a database including a lot of categories, subcategories and...
Jean-michel Védrine
jmvedrine
Offline Send Email
Sep 25, 2006
7:32 am

hi there hello Jean Michel many many thanks for the module. In these days i am quite very very busy but i will take a look at the installation and the work of...
jobst müller
floobee_man
Offline Send Email
Dec 3, 2006
2:10 pm

hye whats the status any new issuees where to download. is it open source flobert ... _______________________________________________________________ SMS...
jobst müller
floobee_man
Offline Send Email
Apr 21, 2007
9:13 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help