Fork me on GitHub

v4BJournal Help  Bottom

  • 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!!
  • Hi,

    which version of v4bJournal are you using?

    Greetings
    --> R
  • v4bJournal-0[1].97.tar

    Any help is GREATLY appreciated!!!
  • 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
  • OK, that already has been fixed in my code. Look for a new (beta) version sometime this week ...

    Greetings
    --> R
  • Beta (with the fix) has been released ... please test the upgrade before putting it on a live site.

    Greetings
    --> R
  • 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?
  • 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
  • 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

This list is based on users active over the last 60 minutes.