Menu

Error with PunBB in phpgedview

Help
Anonymous
2009-03-09
2013-05-30
1 2 > >> (Page 1 of 2)
  • Anonymous

    Anonymous - 2009-03-09

    I set up the PunBB forum and It works ok, but I get the following error at the top of the page:

    ERROR 8: Undefined index:
    0 Error occurred on line 106 of file header.php in function include
    1 called from line 599 of file functions_print.php in function print_header
    2 called from line 137 of file header.php in function require
    3 called from line 39 of file index.php in function include_once
    4 called from line 72 of file module.php

     
    • Anonymous

      Anonymous - 2009-03-09

      Bump

       
    • Mark Hattam

      Mark Hattam - 2009-03-09

      Less than 11 hours is hardly cause to "bump" an issue ... several knowledgeable people who might be able to help will still be asleep ... or at work ... or ...
      Many people will get the forum messages in their email anyway, so bumping just adds yet another email to read before deciding to spend any time investigating it.

      Meanwhile ... "top of the page" ... what page?
      Which version of PGV are you using?
      Which version of PunBB?

      Mark

       
      • Anonymous

        Anonymous - 2009-03-09

        Sorry, I just noticed a lot of activity earlier today, and saw that the topic had been driven down.

        The error appears at the top of:
        /module.php?mod=punbb

        I'm using phpgedview 4.2

        PunBB Stats
        PunBB 1.2.17
        Environment
        Operating system: Linux
        PHP: 5.2.5
        Accelerator: N/A
        Database
        MySQL 5.0.51a-12~bpo40+1
        Rows: 205732
        Size: 25.56 MB

        This is a brand new installation.  I've re-installed once in an effort to resolve the issue, but I'm dealing with a pretty big gedcom, so getting it imported into MySQL is only successful about 1 out of 6 times I attempt to import.  Installing it twice was pretty time consuming.

         
        • Vladimir Kar

          Vladimir Kar - 2009-06-10

          I only have similar error with 'xenea' theme. The rest work just fine. So I suppose that the error code is somewhere in the xenea template pages.

          I have the following errors with this theme, and it only appears in punbb pages:

          ERROR 8: Undefined index:
          0 Error occurred on line 106 of file header.php in function include
          1 called from line 598 of file functions_print.php in function print_header
          2 called from line 137 of file header.php in function require
          3 called from line 81 of file viewforum.php in function include_once
          4 called from line 72 of file module.php

          Can anybody help to fix this?

           
          • Anonymous

            Anonymous - 2009-06-10

            I was also using the Xenea theme when I had this problem.  I eventually disabled PunBB in both my sites.  I upgraded one of the sites and switched to the Belgian Chocolate theme from pgvthemes.com.  I no longer got the error, but I assumed it was because of the upgrade.  I guess it was because of the theme.

            Matt

             
            • Greg Roach

              Greg Roach - 2009-06-10

              If I can highjack this thread....

              I've been making some changes to the PGV code which might affect the integration with PunBB.

              I don't have a PunBB installation to test with.

              So, if there are any PunBB users who would like to test the latest SVN version of PGV for me, I would be very grateful.

               
            • Vladimir Kar

              Vladimir Kar - 2009-06-11

              How to download templates from the pgvthemes.com? I do not see any links for downloads. Can be done without logging in? Also, I can not register there - I get error 'this email can not be registered', I tried to enter several different emails in different browsers with same result

               
    • Mark Hattam

      Mark Hattam - 2009-03-09

      I've never used punBB before either standalone or within PGV. But I've just gone through the config for it using the current PGV SVN version and it worked first time ... without any errors.

      PunBB version
      PunBB 1.2.17
      Environment
      Operating System: WINNT
      PHP: 5.2.9
      Accelerator: N/A
      Database
      MySQL 5.0.77-community-nt
      Rows: 246724
      Size: 28.56 MB

      No excuses for WINNT (It's actually XP Pro), and just happened to be the one I was typing at.

      But it all seemed straightforward and I copied the text box contents as a config.php file at /modules/punbb/ ...

      But no error ... hopefully someone else will recognise the errors you're getting.

      I've always baulked before at including punBB as I'm not sure whether it's easily upgradable to the latest version (think security fixes).

      Also I can sympathise with the importing ... takes me several goes too due to the page saying "done" before it completes ... and no reducing the timeout doesn't help.

      Mark

       
    • Mark Hattam

      Mark Hattam - 2009-03-10

      Well, I've used the punBB pages hdiff from 1.2.17 to 1.2.20 and the hdiff from 1.2.20 to 1.2.21 to get from 1.2.17 to 1.2.21 without breaking the PGV integration (and still don't get errors).

      But as it's my SVN directory, I expect it'll break next time I sync with SVN :-(

      Mark

       
      • Anonymous

        Anonymous - 2009-03-10

        Works fine in other installations I've done, so I'm thinking it may be a host issue.

         
    • Stephen Arnold

      Stephen Arnold - 2009-03-10

      Mark
      I simply ran their PHP script for updating from 1.2x to 1.2.21. Works fine.
      Stephen

       
    • Mark Hattam

      Mark Hattam - 2009-03-10

      Running the update script will only do things like update the db schema and pop the version number into the db. It won't change the content of the .php files that have been altered/modified. You need to do both parts of the upgrade. (Same thing goes for phpBB upgrades)

      However, just overwriting existing files with their updated counterparts doesn't work, as there are PGV mod's to the PGV distributed files. So the easiest way I found was to use the hdiff pages
      http://punbb.informer.com/download/hdiff/hdiff-1.2.17_to_1.2.20.html
      and
      http://punbb.informer.com/download/hdiff/hdiff-1.2.20_to_1.2.21.html
      and modify the files by hand, and then run the updater script.

      The alternative that I didn't explore was to use the patch files in
      http://punbb.informer.com/download/patch/
      namely
      http://punbb.informer.com/download/patch/punbb-1.2.17_to_1.2.20.patch
      and
      http://punbb.informer.com/download/patch/punbb-1.2.20_to_1.2.21.patch
      as I couldn't easily do that on XP (should have used the Mac I guess).
      After patching the file content, you still need to run the updater script.

      Mark

       
    • Anonymous

      Anonymous - 2009-03-10

      I am now getting the same error on both of my PGV installations.  (Hosted by different hosting companies.)
      This second install worked fine from Saturday until yesterday.
      I'm new to PGV, so both of these installations are only a few days old.

      Thanks,
      Matt

       
    • Anonymous

      Anonymous - 2009-03-11

      Which file do I edit to either remove the link for PunBB, or change to point to another forum located outside of the PGV directory?

      Thanks,
      Matt

       
    • Anonymous

      Anonymous - 2009-03-11

      Remove it by removing the /modules/punbb/ folder completely (and for good measure, the punbb.php file from the /modules folder too).

      Adding a different pointer is a completely different issue. If its just a link you want, then look in /includes/extras/ and use the "sample_optional_menu.php to suit.

      If you also want shared login - you'll need a whole new set of code. Not an easy proposition, particularly of you want to ensure its a 'safe' connection.

       
    • Anonymous

      Anonymous - 2009-03-11

      Thanks!

      I already tried just removing the folder, and that caused all kinds of errors, but I didn't get the punbb.php file. 

      A pointer will do just fine.  I'm no programmer, but I looked at sample_optional_menu.php and it looks like I can handle it.  I realize a shared login is way beyond what I am capable of, so I'll just stick with a pointer to a phpBB forum, or maybe just a link to join the mailing list.

      Once again, thanks again for all the help.

      Matt

       
    • Anonymous

      Anonymous - 2009-06-10

      Vladimir - if you don't use the punBB module remove it from the /modules/folder - and also remove the file punbb.php from the same place.

       
    • Anonymous

      Anonymous - 2009-06-11

      <<How to download templates from the pgvthemes.com? I do not see any links for downloads. Can be done without logging in?>> - No you cannot download themes without logging in.

      <<I get error 'this email can not be registered'>> Email me on admin@pgvthemes.com and I will investigate what the problem is. I suspect you are using a domain (such as '.ru') which we block because of the vast amount of spam from such domains.

       
      • Greg Roach

        Greg Roach - 2009-06-11

        Maybe it is "plus-addressing".  I get lots of problems registering these types of addresses.

        If your address is foo@gmail.com, then you can use

        foo+company1@gmail.com
        foo+company2@gmail.com
        foo+company3@gmail.com
        etc.

        All mails get delivered to foo@gmail.com, but in different folders.  Plus you get to see which company sells your address to spammers.

        A lot of sites decide that "+" is not valid in an email address.  It is.

         
        • Anonymous

          Anonymous - 2009-06-12

          Greg

          You could be right, but my guess is that its blocked by one of my own specific blocks. Because the site allows free registration by anyone it gets dozens of spam type registrations. Most never even confirm their registration, and many others do but then never use the site. I progressively add blocks as they become a nusance to me. So far I block:
          *@gmail.com
          *.ru
          *@gawab.com
          *@yahoo*
          *forfree*
          *forall*
          *ooo*
          *spam*

          This is the first person to report a problem due to this so  I feel it's helping more than hindering.

          (I should also point out that the registration is with the site's joomla front-end only, not PGV. There is no registration possible or needed for its PGV demos, so I don't even need the joomla-pgv component)

           
          • Vladimir Kar

            Vladimir Kar - 2009-06-12

            I suspected that you could block @.ru addresses (rejected), but haven't expected that @gmail.com can be also denied. I indeed have emails at these domains.

            However, to block all .ru is too much, I believe. Usually, only publicly used free mail domains are blocked (like mail.ru, yandex.ru, rambler.ru etc.). Of course, it is much more simple to block all .ru and gmail.com

            Add to this .ru 'discrimination' the identification of Russian localization of Firefox as 'hackers are not welcome here' in the latest 4.2.1 release of PGV....

             
            • Anonymous

              Anonymous - 2009-06-12

              I don't disagree with you, but I'm not prepared to spend as much time as I would need tidying up all the spam registrations we have. Much easier to block more, and handle complaints individually. Proven by the fact that yours is the first in three years.

              However, if you email me direct, I can bypass the blocks and set up your registration for you.

               
    • Stephen Arnold

      Stephen Arnold - 2009-06-12

      Vladimir
      A major discussion going on at the EIMS site over the last two days, and almost unequivocally, all the server admins have blocked  ".cn" and ".ru" and most block brazil as well. We rarely hear of any issue where this is a problem, and I don't ship to Russia, former Yugoslavian states or Indonesia because of a fraud history that far outweighs the potential for profitable sales.

      We too block all gmail addresses, but whitelist the google IPs that are legitimate, so valid addresses get through, but the spammers are blocked (those that try to spoof gmail, yahoo, hotmail, etc).

      Since doing this, we've gone from over 1,000 spam mails to under 100 per day. Of course we block over 20,000 spam attempts each day. Its totally out of hand.
      Stephen

       
      • Vladimir Kar

        Vladimir Kar - 2009-06-12

        I do not force you and others to change your filters - you know better how to block the spammers in your case. I just try to attract your attention to the possible inconveniences for 'good' visitors. You may use visual or "intellectual" confirmation for registration requests, for example. These block 100% spam attempts in my forums.
        Anyway, I got your point, let's discuss here PVG issues, not anti-spam.

         
1 2 > >> (Page 1 of 2)

Log in to post a comment.