Fork me on GitHub

Migrating to Zikula but disabled my Postnuke site.  Bottom

  • I was going to migrate my site to Zikula but decided to disable the site first not realizing I would need the Swiss Army tool to enable it. Does anyone here have a copy of the swiss army for postnuke? I can't find it anywhere. Thanks!
  • Easier to edit the database table pn_mod_vars, look for siteoff and set the the 0 to 1.

    Drak

    --
    Zikula Lead Developer
    Board Member of the Zikula Foundation
    Follow me on twitter.com/zikuladrak
  • You can get it here.

    --
    Cheers, Sascha

    Philivision, Inc. - User of Zikula since 2002...
  • Thanks Drak! It worked.

    Thanks Sascha
  • drak

    Easier to edit the database table pn_mod_vars, look for siteoff and set the the 0 to 1.

    I used a PostNuke admin function to disable the site, because of vandalism by spammers, and now can't get in to finish archiving the data. I was able to work on the site after I disabled it, but when I reset my browser I lost connection.
    http://catholiccharismatic.us/
    Using phpMyAdmin, in ccc_mod_vars, I see the following;

    Quote

    /PNConfig siteoff s:1:"1";

    Changing the "1" to a "0" doesn't do a thing... I suspect that this is not the real flag, because of the next line;

    Quote

    /PNConfig siteoffreason s:87:"The Catholic Charismatic Center is currently...

    This text does not match that actual text shown.

    Quote

    Problem in Database Connection

    Pointers would be appreciated.
  • Just to be clear, are your correctly changing this:

    Quote

    /PNConfig siteoff s:1:"1";


    to this:

    Quote

    /PNConfig siteoff s:1:"0";


    And if you are seeing this message:

    Quote

    Problem in Database Connection


    Verify that you are using the correct user name and password to connect to the database.
  • The password may have been changed. For the record, to create a new encrypted string for the config.php file, use the following;

    Code

    <?php
    echo base64_encode('NewPassword');
    ?>


    The system now correctly states "Site Disabled".

    Changing the siteoff value from

    Quote

    s:1:"1";
    to

    Quote

    s:1:"0";
    and back worked like a charm.

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