Alright- installed and loving it.
However it seems to have a glitch in the edit feature.
The image always goes back to nothing and when you click the actual "edit" button to finish and save I always get this error..
Warning: Missing argument 2 for v4bjournal_update() in /home/terranoi/public_html/modules/v4bJournal/journal.lib.php on line 430
Warning: Cannot modify header information - headers already sent by (output started at /home/terranoi/public_html/modules/v4bJournal/journal.lib.php:430) in /home/terranoi/public_html/includes/pnAPI.php on line 1094
HELP!!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
v4BJournal Help
-
- Rank: Team Member
- Registered: Jan 05, 2003
- Last visit: May 28, 2010
- Posts: 775
-
- Rank: Team Member
- Registered: Jan 05, 2003
- Last visit: May 28, 2010
- Posts: 775
OK, let me take a look. I have a new version pretty much ready anyhow and I'll try to get this fix in ... I'll get back to you ...
Greetings
--> R -
- Rank: Team Member
- Registered: Jan 05, 2003
- Last visit: May 28, 2010
- Posts: 775
OK, that already has been fixed in my code. Look for a new (beta) version sometime this week ...
Greetings
--> R -
- Rank: Team Member
- Registered: Jan 05, 2003
- Last visit: May 28, 2010
- Posts: 775
Beta (with the fix) has been released ... please test the upgrade before putting it on a live site.
Greetings
--> R -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 04, 2005
- Posts: 16
I have a problem with the new version.
I had originally v4bJournal 0.97 and wanted to install new one .
Downloaded the latest v4bJournal 0.98 beta1 .When i tried to activate the module after intializing , I got the message failed to load module.I tried twice but have the same problem.I had no other option than to reinstall old .097 version..
I had no problems when I used 'edit' function in journal as mentioned by the other user in this thread.
Any one successfully the new version? -
- Rank: Team Member
- Registered: Jan 05, 2003
- Last visit: May 28, 2010
- Posts: 775
Yes, I messed up the packaging of the the Beta1 relase; I've just publishd a Beta2 release which gives the files sane permissions which should (hopefully) fix your problem. Please give it a try.
Please also read the version-specific README file.
Greetings
--> R -
- Rank: Developer
- Registered: Jan 14, 2004
- Last visit: Oct 21, 2009
- Posts: 348
Robert,
There is a problem with your upgrade script for .98-Beta3 (and I imagine every prior version). You have the following code in the v4bJournal_upgrade() function.
Code
case '0.93' : break;
case '0.94' : break;
case '0.95' : break;
case '0.96' : break;
case '0.97' :
upgrade_createTmpTable098();
pnModSetVar (__V4B_JOURNAL__, 'private_mode', 0);
break;
this should be:
Code
case '0.93' :
case '0.94' :
case '0.95' :
case '0.96' :
case '0.97' :
upgrade_createTmpTable098();
pnModSetVar (__V4B_JOURNAL__, 'private_mode', 0);
break;
I tried upgrading from 0.96 to 0.98 and it hit the case '0.96' :break; and died with no way to get to the case '0.97' code to create the temp table. If you leave off the breaks it will start at whatever version the user has and continue down till it hits the first break; In this case you can go from 0.93 through 0.97 and it will automatically execute the code in the 0.97 section and properly upgrade the system. You should take off the breaks for the other versions prior to .93 too so that the script can run from whatever version they have all the way till the latest version executing the code for every intermediate version.
Of course there are some other problems with the upgrade. Now all users that have more than a single entry end up with a single entry duplicated the same number of times that they originally had separate entries. So if the user had 24 different journal entries they now have 24 copies of the same journal entry.
-Chris
- Moderated by:
- Support
