| Author |
Message |
mesteele1
|
|
Post subject: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 28.11.2009, 14:06
|
|
Frequent Poster

Joined: 28.09.2003
Posts: 43
Status: Offline
|
|
My PNphpBB2 has a version in the modules of <b>1.2i-p3</b>
1) Upgrading to Zikula 1.2.0 it talks about:
----------\
You need to convert all templates to UTF-8, all language files and the content of the forum tables in the database before upgrading to Zikula 1.2.0
----------/
The conversion (updating) appears to take care of the databse but to be complete it looks like the templates in PNphpBB2 1.2i-p3 may need something done to them? If someone could please clairify this and what exactly needs to be completed, that would be great.
2) It appears that all the dates have <b>datetimebrief</b> visable. If someone could explaine exactly how to clear this issue up, that would also be great.
Thanks... |
|
|
| |
|
|
|
 |
slam
|
|
Post subject: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 28.11.2009, 16:07
|
|
Dev. Team


Joined: 10.02.2006
w3
Posts: 260
Location: w3
Status: Offline
|
|
|
|
|
 |
mesteele1
|
|
Post subject: RE: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 06.12.2009, 00:27
|
|
Frequent Poster

Joined: 28.09.2003
Posts: 43
Status: Offline
|
|
| There is a new DateUtil.class.php file available for using the latest profile. It appears that the date/time issue may be resolve using this file. It appears that PNphpBB2 needs to be patched in order to fix the date/time issue using this new file, or maybe not? |
|
|
| |
|
|
|
 |
slam
|
|
Post subject: RE: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 06.12.2009, 18:29
|
|
Dev. Team


Joined: 10.02.2006
w3
Posts: 260
Location: w3
Status: Offline
|
|
Yep - I will push our slaves to release a final PNphpBB2-1.2i-patch4, which will includes the fixes for this one, and the installer bugs.
Greetings,
Chris |
_________________ an operating system must operate - sidux.com
development is life - code.zikula.org
my sidux repo - w3you.com/debian
|
| |
|
|
|
 |
mesteele1
|
|
Post subject: RE: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 06.12.2009, 18:52
|
|
Frequent Poster

Joined: 28.09.2003
Posts: 43
Status: Offline
|
|
| Thanks. This will be, or should be much appreciated from the community. |
|
|
| |
|
|
|
 |
slam
|
|
Post subject: RE: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 18.12.2009, 12:06
|
|
Dev. Team


Joined: 10.02.2006
w3
Posts: 260
Location: w3
Status: Offline
|
|
|
|
|
 |
mesteele1
|
|
Post subject: RE: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 18.12.2009, 14:24
|
|
Frequent Poster

Joined: 28.09.2003
Posts: 43
Status: Offline
|
|
Ok, I downloaded the latest from the SVN (PNphpBB2-1.2i-patch4) and removed my old PNphpBB2 from the modules folder, replacing it with the folder and files from the SVN and renamed to PNphpBB2. I transferred the install folder from the latest stable release of PNphpBB2 to the modules/PNphpBB2 folder. I then regenerated the modules and it showed that there was a new version uploaded for PNphpBB2. I then hit the upgrade and everything looks good. I hit the continue and got this error:
Fatal error: Class 'sql_db' not found in E:\xampplite\htdocs\winsnort\modules\PNphpBB2\includes\db.php on line 60
It looks like it's not able to get the database name and such?
Note: I'm doing this all on my development site, not production.
I can go in and change the version in the database so that when regenerating the modules it doesn't give the upgrade option? Unless it needs to touch the database, for some reason? |
|
|
| |
|
|
|
 |
slam
|
|
Post subject: RE: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 18.12.2009, 15:11
|
|
Dev. Team


Joined: 10.02.2006
w3
Posts: 260
Location: w3
Status: Offline
|
|
The installer still needs to be adapted to Zikula - it's the last remaining bug to fix before we can release. Using an older one does not help here, by the way.
You can manually activate the module and adapt the version number in the database, though.
Greetings,
Chris |
_________________ an operating system must operate - sidux.com
development is life - code.zikula.org
my sidux repo - w3you.com/debian
|
| |
|
|
|
 |
mesteele1
|
|
Post subject:
Posted: 18.12.2009, 16:02
|
|
Frequent Poster

Joined: 28.09.2003
Posts: 43
Status: Offline
|
|
Ok, I got the fix for the stable release of PNphpBB2 in the Zikula forms.
---------------\
hilope
I got a solution with Mateos help.
PNphpBB2/includes/functions.php about line 978 in function create_date:
//return ml_ftime($format, GetUserTime( $gmepoch )); // not functional in Zikula 1.2.x
return DateUtil::formatDatetime($gmepoch , $format); // this works with Zikula 1.2.x
---------------/ |
|
|
| |
|
|
|
 |
mesteele1
|
|
Post subject: Re: RE: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 19.12.2009, 00:21
|
|
Frequent Poster

Joined: 28.09.2003
Posts: 43
Status: Offline
|
|
|
slam wrote:
The installer still needs to be adapted to Zikula - it's the last remaining bug to fix before we can release. Using an older one does not help here, by the way.
You can manually activate the module and adapt the version number in the database, though.
Greetings,
Chris
Ok, I want to test on my development site. By manually activating; what do you mean?
Do I install PNphpBB2 and then just go ito the modules of the database and set the version number so that regenerating the modules will not detect it as new?
I guess I need to know how to manually activate it?
TIA... |
|
|
| |
|
|
|
 |
slam
|
|
Post subject: Re: RE: Moving to Zikula 1.2.0 - 2 Issues for clairification
Posted: 19.12.2009, 13:35
|
|
Dev. Team


Joined: 10.02.2006
w3
Posts: 260
Location: w3
Status: Offline
|
|
You need to edit the database table pn_modules (or zk_modules) in the database, by setting pn_version to 1.2i-p4, and pn_state to 3 for the PNphpBB2 module. You can do this in various ways, e.g. with PHPMyAdmin or directly via shell using native mysql. Alternatively you can download a dump of your database, edit the dump file accordingly, and upload the dump again.
This is by the way in most cases a solution for old style modules with upgrade problems in Zikula, not just for PNphpBB2.
Greetings,
Chris |
_________________ an operating system must operate - sidux.com
development is life - code.zikula.org
my sidux repo - w3you.com/debian
|
| |
|
|
|
 |
mesteele1
|
|
Post subject: RE: Re: RE: Moving to Zikula 1.2.0 - 2 Issues for clairifica
Posted: 19.12.2009, 14:35
|
|
Frequent Poster

Joined: 28.09.2003
Posts: 43
Status: Offline
|
|
Ok, it looked like a two step process you were talking about:
Quote:
You can manually activate the module <b>and</b> adapt the version number in the database
PnphpBB2 (1.2i-p4) doesn't need to touch the database? All I need to do is update the version number and pn_state in the modules table, and we are good to go?
You have to do this to zWebstore to get it updated into 1.2.0
TIA... |
|
|
| |
|
|
|
 |
|
|