A strange language problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ibaker
    Senior Member
    • Oct 2004
    • 259

    A strange language problem

    I had a big issue with my forums so I had to rebuild them with most of it working fine but I am getting a strange problem in the emails that go out like the new post notification, the email to a new member for them to confirm their registration.

    Here is the top part of a new post notification email:
    Hello,

    has just posted in the General Discussion forum of under the title of An alternate engine question.

    This thread is located at /showthread.php?t=11319

    You can see that the member's name isn't there, the link to the thread isn't complete and the forum name isn't in it.

    Also when I as the Administrator get an email that a new member has signed up in the forums the subject line of the email is just:
    New User at

    Any suggestions on what may be the cause of these issues and a possible remedy would be greatly appreciated - thanks!
    Best regards
    Ian
    "Everyone wants to fly, but some people just haven't realised it yet"
    www.recreationalflying.com
    NOTE: This post remains solely the property of the poster and any reference to it is done so by the acceptance of this condition. Also elements of whatever I posted were previously used by a competing site so the post is also made on the condition that it can not be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    It looks like your forum URL and homepage URL settings are empty. Make sure you have entered values into those settings:

    Admin CP -> vBulletin Options -> Site Name / URL / Contact Details

    Or maybe the cache is not updating properly. Check the datastore storage method. Is your datastore cache stored in the file system (is this line uncommented in the includes/config.php file)?

    Code:
    	// ****** DATASTORE CACHE CONFIGURATION *****
    	// Here you can configure different methods for caching datastore items.
    	// vB_Datastore_Filecache  - for using a cache file
    [color=red]// $config['Datastore']['class'] = 'vB_Datastore_Filecache';[/color]
    	// vB_Datastore_Memcached - for using a Memcache server
    	// It is also necessary to specify the hostname or IP address and the port the server is listening on
    /*
    $config['Datastore']['class'] = 'vB_Datastore_Memcached';
    $i = 0;
    // First Server
    $i++;
    $config['Misc']['memcacheserver'][$i]		= '127.0.0.1';
    $config['Misc']['memcacheport'][$i]			= 11211;
    $config['Misc']['memcachepersistent'][$i]	= true;
    $config['Misc']['memcacheweight'][$i]		= 1;
    $config['Misc']['memcachetimeout'][$i]		= 1;
    $config['Misc']['memcacheretry_interval'][$i] = 15;
    */
    If you are storing it in the file system then make sure this directory and its contents are CHMOD 777:

    includes/datastore

    After making changes to this you can edit and save the options page to prompt a rebuild of the datastore.

    Comment

    • ibaker
      Senior Member
      • Oct 2004
      • 259

      #3
      Thanks Jake
      It is commented out as per your post so I assume it is being kept in the db
      Best regards
      Ian
      "Everyone wants to fly, but some people just haven't realised it yet"
      www.recreationalflying.com
      NOTE: This post remains solely the property of the poster and any reference to it is done so by the acceptance of this condition. Also elements of whatever I posted were previously used by a competing site so the post is also made on the condition that it can not be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.

      Comment

      • ibaker
        Senior Member
        • Oct 2004
        • 259

        #4
        I just uploaded tools.php and ran the update options cache and now I have across the top of my forums:
        Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3941
        Best regards
        Ian
        "Everyone wants to fly, but some people just haven't realised it yet"
        www.recreationalflying.com
        NOTE: This post remains solely the property of the poster and any reference to it is done so by the acceptance of this condition. Also elements of whatever I posted were previously used by a competing site so the post is also made on the condition that it can not be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.

        Comment

        • Jake Bunce
          Senior Member
          • Dec 2000
          • 46598
          • 3.6.x

          #5
          That line number refers to the bitfields. Try reimporting the bitfields with the tools file.

          Upload the original includes/xml directory from the zip file. Then go into the do_not_upload folder in the zip file and upload the tools.php file to your install directory. Run the tools.php file from your browser and select the options to rebuild the bitfields.

          Comment

          • ibaker
            Senior Member
            • Oct 2004
            • 259

            #6
            Thanks Jake
            Did that as well

            Now I can't get into the admin control panel - I just get:
            Unable to add cookies, header already sent.
            File: /hsphere/local/home/ibaker/recreationalflying.com.au/forum/includes/class_core.php
            Line: 3243
            Best regards
            Ian
            "Everyone wants to fly, but some people just haven't realised it yet"
            www.recreationalflying.com
            NOTE: This post remains solely the property of the poster and any reference to it is done so by the acceptance of this condition. Also elements of whatever I posted were previously used by a competing site so the post is also made on the condition that it can not be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.

            Comment

            • ibaker
              Senior Member
              • Oct 2004
              • 259

              #7
              Originally posted by ibaker
              Thanks Jake
              Did that as well

              Now I can't get into the admin control panel - I just get:
              Unable to add cookies, header already sent.
              File: /hsphere/local/home/ibaker/recreationalflying.com.au/forum/includes/class_core.php
              Line: 3243
              Got that fixed Jake.

              Now it seems everything is working ok if I put:
              define('DISABLE_HOOKS', true);
              at the end of my config file.

              Can you assist on where I go from here to fix my problem - thanks!
              Best regards
              Ian
              "Everyone wants to fly, but some people just haven't realised it yet"
              www.recreationalflying.com
              NOTE: This post remains solely the property of the poster and any reference to it is done so by the acceptance of this condition. Also elements of whatever I posted were previously used by a competing site so the post is also made on the condition that it can not be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.

              Comment

              • peterska2
                Senior Member
                • Oct 2003
                • 8869
                • 3.7.x

                #8
                This error is usually caused by blank space at the top of config.php before <?php or by modifications. Check your config.php and if this is correct, ie no blank space at the start of the file then you will need to follow these instructions:


                First reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

                Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

                [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

                Next, disable all plugins.

                Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

                define('DISABLE_HOOKS', true);

                Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it.

                Do you have the same problem?

                Comment

                • ibaker
                  Senior Member
                  • Oct 2004
                  • 259

                  #9
                  I think I have found the problem - a darn addin that was corrupting the whole thing:


                  The problem is we want our forums to be something spectacular and I am aware that vB can't make everyone happy so vB.org has to exist but crikey, you have to be so darn careful.

                  A big thanks to you both Jake and Kerry-Anne
                  Best regards
                  Ian
                  "Everyone wants to fly, but some people just haven't realised it yet"
                  www.recreationalflying.com
                  NOTE: This post remains solely the property of the poster and any reference to it is done so by the acceptance of this condition. Also elements of whatever I posted were previously used by a competing site so the post is also made on the condition that it can not be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.

                  Comment

                  • ibaker
                    Senior Member
                    • Oct 2004
                    • 259

                    #10
                    Now I am back to my first problem - the one that started this thread - any suggestions - thanks!
                    Best regards
                    Ian
                    "Everyone wants to fly, but some people just haven't realised it yet"
                    www.recreationalflying.com
                    NOTE: This post remains solely the property of the poster and any reference to it is done so by the acceptance of this condition. Also elements of whatever I posted were previously used by a competing site so the post is also made on the condition that it can not be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.

                    Comment

                    • peterska2
                      Senior Member
                      • Oct 2003
                      • 8869
                      • 3.7.x

                      #11
                      Make sure that your forum url is set correctly as per post #2

                      Comment

                      • ibaker
                        Senior Member
                        • Oct 2004
                        • 259

                        #12
                        Thanks Kerry
                        Yes they are set correctly - even checked the db itself and all seems correct - I have a feeling it is something to do with language or phases or templates
                        Best regards
                        Ian
                        "Everyone wants to fly, but some people just haven't realised it yet"
                        www.recreationalflying.com
                        NOTE: This post remains solely the property of the poster and any reference to it is done so by the acceptance of this condition. Also elements of whatever I posted were previously used by a competing site so the post is also made on the condition that it can not be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.

                        Comment

                        • Jake Bunce
                          Senior Member
                          • Dec 2000
                          • 46598
                          • 3.6.x

                          #13
                          I am out of ideas. We can take a look if you submit a trouble ticket with your forum and server info:

                          Comment

                          • ibaker
                            Senior Member
                            • Oct 2004
                            • 259

                            #14
                            Thanks Jake
                            Spent the last hour going over the db and sudden;ly found the phrasetypes table was screwed up - fixed that and this problem is now resolved - thanks!

                            Now my next problem is vBblogs isn't showing up correctly - but that is another story and I will need to start looking into that.

                            Thanks again for your help!
                            Best regards
                            Ian
                            "Everyone wants to fly, but some people just haven't realised it yet"
                            www.recreationalflying.com
                            NOTE: This post remains solely the property of the poster and any reference to it is done so by the acceptance of this condition. Also elements of whatever I posted were previously used by a competing site so the post is also made on the condition that it can not be used by Glenn Inwood of Cowra NSW Australia or anyone associated with him.

                            Comment

                            Related Topics

                            Collapse

                            Working...
                            😀
                            😂
                            🥰
                            😘
                            🤢
                            😎
                            😞
                            😡
                            👍
                            👎