Menu

How do you use V3.0 with Postnuke?

2003-05-05
2003-10-01
1 2 > >> (Page 1 of 2)
  • Steve Watkins

    Steve Watkins - 2003-05-05

    Hi,

    I was glad to see the new version released today is compatible with Postnuke. However, I cant see any instructions in how to use with Postnuke.

    I installed in modules directory and initialsed and activated etc but it doesnt work, any ideas?

    Thanks in advance

     
    • Michael Oertel

      Michael Oertel - 2003-05-08

      hi,

      untar POC tarball into /path/to/postnuke/modules
      edit config.inc.php and setup define('PN_MODULE_NAME','phpopenchat-3.0.0b1');
      goto postnuke administration and install the new module
      login to postnuke as Admin add POC to the navigation and click....

      HTH
      -michael

       
      • Steve Watkins

        Steve Watkins - 2003-05-16

        Thanks Michael,

        Done as described and it works fine thanks :)

        Sorry for late reply!
        Best wishes
        Steve Watkins

         
    • Arden Wiebe

      Arden Wiebe - 2003-05-08

      Micheal, you guys are great.  I've been waiting and watching.  Sorry I couldn't help with the actual development.  I'm sure it will be a far cry over my openChat block that kicked people into the chat and out sometimes as it lost sessions. 

      I can't wait to get this installed.  I just downloaded.  Okay have to install and test on different CMS's.  Thanks again to your entire team.

      Ardently;

      Arden Wiebe

       
    • Arden Wiebe

      Arden Wiebe - 2003-05-11

      Were you able to get it working Steve?  I'm just waiting for Michael to respond to some of my email before I say anything more.

       
    • Arden Wiebe

      Arden Wiebe - 2003-05-11

      Were you able to get it working Steve?  I'm just waiting for Michael to respond to some of my email before I say anything more.

       
    • Anonymous

      Anonymous - 2003-05-13

      I couldn't get this to initialize either. Where in the config.inc.php do you setup the define?

      I initialized/activated it and it didn't add anything in administrationg and I can't open the module

       
    • Anonymous

      Anonymous - 2003-05-13

      Found the place to setup that define but it's still not initializing or setting up anything in the administration part of postnuke

       
      • Michael Oertel

        Michael Oertel - 2003-05-14

        I don't know PN very well, but try
        http://your.host/postnuke/modules.php?op=modload&name=phpopenchat-3.0.0b1&file=index
        If it's work fine, go to PN-administration -> Blocks -> Main Menu -> Edit
        and add a new navigation item like:
        Title: Chat
        URL: modules.php?op=modload&name=phpopenchat-3.0.0b1&file=index
        Description: Chat

        -letreo

         
        • Anonymous

          Anonymous - 2003-05-14

          Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition translator of the object you are trying to operate on was loaded _before_ the session was started in /usr/home/sites/www.ridinginsanity.com/web/modules/phpopenchat-3.0.0b1/include/class.Chatter.inc on line 1508

          Ok I deleted it. Re-unpacked it. inserted the db.schema into my db. Setup the config.inc.php to have my database information and set up the PN_MODULE name.

          Ran the test link and it's ok except it says I didn't give one dir write access wich I did do. Modify your link and that is the error I got. I would really like to use this if it could just pull the pn_uid and so forth from the postnuke db. I dunno what else I can do though to get it going inside of postnuke.

           
    • Anonymous

      Anonymous - 2003-05-14

      Changed some stuff in the config.inc.php and got the same error but instead of translator it's logger on line 1681

      //Insert the records into the database
          if( !$this->db->Execute( $update_sql1 ) )
            $_SESSION['logger']->error('Can not update DB. SQL: "'.$update_sql1.'"', __FILE__, __LINE__ );
          if( !$this->db->Execute( $update_sql2 ) )
            $_SESSION['logger']->error('Can not update DB. SQL: "'.$update_sql2.'"', __FILE__, __LINE__ );

      Looks like it's trying to input fields that pn doesn't have.

       
    • Arden Wiebe

      Arden Wiebe - 2003-05-14

      Tranor1 I have it working in a number of different locations.  I've gone through the code here and there but never made changes like you have on 2003-05-14 09:14.

      Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition translator of the object you are trying to operate on was loaded _before_ the session was started in /usr/home/sites/www.ridinginsanity.com/web/modules/phpopenchat-3.0.0b1/include/class.Chatter.inc on line 1508

      When you get the above error it is working essentially.  All that you need to do is log out of your postnuke, clean your cookies out and then also visit /tmp where your sessions are stored and clean that out as well.

      Log back into postnuke and then try again.

      You can see it running in my environment at www.envolution.linuxguru.ca or you can jump in from www.linuxguru.ca if you already have a membership there.  You will need a membership.  I use the open chat block as I haven't been able to get the exit chat to work so I simply spawn a clean windo with the very basic block.

      Are you on your own server or is this a hosted environment? 

       
    • Anonymous

      Anonymous - 2003-05-14

      I haven't changed any code though that's the thing.

      The only file I've modified so far is the config.inc.php.

      I dunno I thought I was half way intelligent about this stuff but this mod isn't making any sense to me. I can never get consistant errors.

      Maybe I'm just not understanding the options in the config.inc.php.

      Could you do me a favor. Email me your config.inc.php, obviously removing your database information, and let me see what you have setup differently. Right now though I just get parse errors all over and each one is different.

      I checked all the requirements and I meet them all.

      If you got it working then it sounds like it's an issue of me not understanding something.

       
      • Anonymous

        Anonymous - 2003-05-14

        Here check it out.

        http://www.ridinginsanity.com

        under utilities is a . click on that and it's what I'm trying to get working.

        It's not loading any of the .gifs atm.

        When I first click on it if I hit go it will work kind of. If I hit ctrl f5 it will input the login information but then give errors.

        Lemme know what you think.

         
    • Anonymous

      Anonymous - 2003-05-14

      Fatal error: Call to a member function on a non-object in /usr/home/sites/www.ridinginsanity.com/web/modules/phpopenchat-3.0.0b1/index.php on line 55

      This is the last error I can get to now.

      I get to this after logging in once.

       
    • Arden Wiebe

      Arden Wiebe - 2003-05-14

      I don't see that you have signed up at www.envolution.linuxguru.ca yet to test the chat.  Until I come up to speed with CVS, I am a little bagged out on the coding end of things lately I can't commit a bug I found.  In the downloads you will find a package.  Use it.  Install the chat block.  Change where the chat block opens to okay!!!  Right now it points to www.yoursite.com/blah.  Just change yoursite.com and you should be rolling.

      If you had it loading without the graphics then you are on the trail I was.  If you look at your location bar when you get it to this point you will see a double slash that is dorking things.  The download will fix it.

      Answer please are you on a hosted environment or your own server? 

      This program will write to /tmp sessions that at times should be earased.  I tried to sign up at your site and log in no luck.  Also your global lang files are not set up right.  If you want talk to me about hosting your nuke site.

       
      • Anonymous

        Anonymous - 2003-05-14

        I activated your account and saw you login.

        My site is hosted by ehostsource.com

        I do have openchat up and running at

        http://test.ridinginsanity.com/phphopenchat-3.0.0b1/

        Just to make sure that it was capable of running even though I know I have all the requirements.

        It ran smooth there without a hitch first time but I can't get it to run as a module.

         
    • Arden Wiebe

      Arden Wiebe - 2003-05-14

      Okay shorten and make your module directory simply chat3

      Remove and reinstall the module at this point.

      www.changethis.ca/modules.php?op=modload&name=chat3&file=index\" method=\"post\" target=\"blank\"

      That line is from the chat block.  Call you openChat block that way.  Thanks for verifying me.  Nice by the way.  I'm trying to get that set up at my other sites as well.

      Are the tables in your database?  You did put db.shema in there did you not? 

       
    • Michael Oertel

      Michael Oertel - 2003-05-15

      tranor1:
      The error message at your server tells my that you have a typo in your setup.
      Install directory is /path/to/postnuke/modules/phpopenchat-3.0.0b1
      but you have configured PN_MODULE_NAME as pnpopenchat-3.0.0b1 instead of phpopenchat-3.0.0b1

      HTH
      -letreo

       
    • Anonymous

      Anonymous - 2003-05-17

      I have done as described too. But when I went to http://my.host/postnuke/modules.php?op=modload&name=phpopenchat-3.0.0b1&file=index

      I got this :

      Fatal error: Internal Zend error - Missing class information for in /usr/share/postnuke/modules/phpopenchat-3.0.0b1/include/adodb/adodb.inc.php on line 152

      My environment is :
      CMS Version 0.7.2.3-Phoenix
      PHP Version 4.1.2
      Debian Linux lachesis 2.2.20-ideraid
      Apache/1.3.26 (Unix) Debian GNU/Linux mod_gzip/1.3.26.1a PHP/4.1.2 mod_perl/1.26 DAV/1.0.3

      Any idea ?

       
    • Anonymous

      Anonymous - 2003-05-20

      elgie thanks for your suggestions.

      I've tried them but it still doesn't work.

      After I clean up all cookies and then login again, when I call http://my.host/postnuke/modules.php?op=modload&name=phpopenchat-3.0.0b1&file=index for the first time, the server doesn't give the chat page ("page not found"), instead the server sends an email like this :
      "
      To confirm your registration at our chat, click the link below!

      http://my.host/confirm.php?code=a4bd4d2b1cc64abf1fffb8103da2b890
      "

      Of course the link does not exist there.

      If I reload the page then it will come up with :
      "
      Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition chat of the object you are trying to operate on was loaded _before_ the session was started in /usr/share/postnuke/modules/phpopenchat-3.0.0b1/index.php on line 180
      "

      trenor1, dou you have the same problems ?

       
    • Anonymous

      Anonymous - 2003-05-20

      Will this work with PN version .712?

      Rich

       
    • Anonymous

      Anonymous - 2003-05-21

      elgie thanks for your suggestions.

      I've tried them but it still doesn't work.

      After I clean up all cookies and then login again, when I call http://my.host/postnuke/modules.php?op=modload&name=phpopenchat-3.0.0b1&file=index for the first time, the server doesn't give the chat page ("page not found"), instead the server sends an email like this :
      "
      To confirm your registration at our chat, click the link below!

      http://my.host/confirm.php?code=a4bd4d2b1cc64abf1fffb8103da2b890
      "

      Of course the link does not exist there.

      If I reload the page then it will come up with :
      "
      Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition chat of the object you are trying to operate on was loaded _before_ the session was started in /usr/share/postnuke/modules/phpopenchat-3.0.0b1/index.php on line 180
      "

      trenor1, dou you have the same problems ?

       
    • Anonymous

      Anonymous - 2003-05-21

      I've run test.php also, it shows red for POC-Database and POC-Tables. I do not find POC related tables in the postnuke database nor anywhere. Is it normal ? Should I create those tables manually using db.schema ?

       
    • Anonymous

      Anonymous - 2003-05-29

      Ok I got really busy and am now just getting back to setting this up again.

      I got b2 since I saw it was released and installed it.

      Everything went ok except that I can't find where it defines the pathto for the images.

      http://www.ridinginsanity.com//modules/phpopenchat-3.0.0b2/modules/phpopenchat-3.0.0b2/include/templates/openchat/images/icons/whois_online.gif

      It's just assuming that it's a standalone or something. Once I find this and fix it it will be fine.

       
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.