Help me pls

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MertTurk
    Senior Member
    • Mar 2009
    • 128
    • 4.2.X

    Help me pls

    help me pls


    <?xml version="1.0" encoding="windows-1252"?><b>API Error</b><br><b>Error:</b> invalid_query_definition_x<br><b>Args:</b><br><pre style="font-family:Lucida Console,Monaco5,monospace;font-size:small;overflow:auto;border:1px solid #CCC;">array ( 0 =&gt; 'permission',)</pre>
    Last edited by MertTurk; Wed 14 Nov '12, 10:13am.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74154

    #2
    Can you provide more information. Where was this encountered at?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • MertTurk
      Senior Member
      • Mar 2009
      • 128
      • 4.2.X

      #3
      my config

      <?php
      /*======================================================================*\
      || #################################################################### ||
      || # vBulletin 5 Presentation Configuration # ||
      || # ---------------------------------------------------------------- # ||
      || # All PHP code in this file is �2000-2012 vBulletin Solutions Inc. # ||
      || # This file may not be redistributed in whole or significant part. # ||
      || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
      || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
      || #################################################################### ||
      \*======================================================================*/
      /*-------------------------------------------------------*\
      | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
      +---------------------------------------------------------+
      | When making changes to the file, the edit should always |
      | be to the right of the = sign between the single quotes |
      | Default: $config['admincpdir'] = 'admincp'; |
      | Example: $config['admincpdir'] = 'myadmin'; ! |
      | Example: $config['myadmin'] = 'admincp'; |
      \*-------------------------------------------------------*/
      // ****** Base URLs ******
      // The following settings all deal with the url of your forum.
      // If set incorrectly your site/software will not function correctly.
      // These urls should NOT include a trailing slash
      // This is the url and web path of your root vBulletin directory
      $config['baseurl'] = 'http://www.gruevo.com';
      // This is the url and web based path to your core directory
      $config['baseurl_core'] = 'http://www.gruevo.com/core';
      // This will only be used if you wish to require https logins
      // You will not need to change this setting most of the time.
      $config['baseurl_login'] = $config['baseurl'];
      // If you do wish to use https for login, uncomment this line
      // Then fill in your https url.
      //$config['baseurl_login'] = 'https://www.yourdomain.com/folder';
      // ****** System Paths ******
      // These are the system paths and folders for your vBulletin files
      // This setting is for where your vbulletin core folder is
      $config['core_path'] = '/storage/content/58/146158/gruevo.com/public_html/';
      // This setting allows you to change the name of the admin folder
      $config['admincpdir'] = 'admincp';
      // ****** Cookie Settings ******
      // These are cookie related settings.
      // This Setting allows you to change the cookie prefix
      $config['cookie_prefix'] = 'bb';
      // You can ignore this setting for right now.
      $config['cookie_enabled'] = true;
      // ****** API Settings ******
      // These are for the vB5 API. You will not normally ever need to edit them.
      // Specifies whether the API is in the same host.
      $config['collapsed'] = true;
      // If the API is on an external host, you'll need to enter its information here
      // Chances are this will not ever be true for most people, do not edit.
      if (!$config['collapsed'])
      {
      $config['api_host'] = '';
      $config['api_client'] = '';
      $config['api_client_version'] = '';
      $config['api_platform'] = '';
      $config['api_platform_version'] = '';
      $config['api_key'] = '';
      }
      // ****** Special Settings ******
      // These settings are only used in some circumstances
      // Please do not edit if you are not sure what they do.
      $config['report_all_php_errors'] = false;
      $config['no_template_notices'] = true;
      // This setting enables debug mode, it should NEVER be used on a live site
      $config['debug'] = false;
      - - - Updated - - -

      (( eroor

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74154

        #4
        Well this value is wrong:
        $config['core_path'] = '/storage/content/58/146158/gruevo.com/public_html/';

        A core_path value is required to have /core at the end of it.

        Redownload the software and use the config.php.bkp that is included in the latest beta. The only value you have to enter is for the baseurl. Please leave everything else alone. If you do that than vBulletin will figure out most of this for you.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • MertTurk
          Senior Member
          • Mar 2009
          • 128
          • 4.2.X

          #5
          Hi I did the core, but the problem still exists
          Where I make mistake

          Code:
          <?php
          /*======================================================================*\
          || #################################################################### ||
          || # vBulletin 5 Presentation Configuration                           # ||
          || # ---------------------------------------------------------------- # ||
          || # All PHP code in this file is �2000-2012 vBulletin Solutions Inc. # ||
          || # This file may not be redistributed in whole or significant part. # ||
          || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
          || # [URL]http://www.vbulletin.com[/URL] | [URL]http://www.vbulletin.com/license.html[/URL] # ||
          || #################################################################### ||
          \*======================================================================*/
          /*-------------------------------------------------------*\
          | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
          +---------------------------------------------------------+
          | When making changes to the file, the edit should always |
          | be to the right of the = sign between the single quotes |
          | Default: $config['admincpdir'] = 'admincp';             |
          | Example: $config['admincpdir'] = 'myadmin';  !      |
          | Example: $config['myadmin'] = 'admincp';            |
          \*-------------------------------------------------------*/
              //    ****** Base URLs ******
              // The following settings all deal with the url of your forum.
              // If set incorrectly your site/software will not function correctly.
              // These urls should NOT include a trailing slash
              // This is the url and web path of your root vBulletin directory
          $config['baseurl'] = 'http://www.gruevo.com';
              // This is the url and web based path to your core directory
          $config['baseurl_core'] = 'http://www.gruevo.com/core';
          // This will only be used if you wish to require https logins
          // You will not need to change this setting most of the time.
          $config['baseurl_login'] = $config['baseurl'];
              // If you do wish to use https for login, uncomment this line
              // Then fill in your https url.
          //$config['baseurl_login'] = 'https://www.yourdomain.com/folder';
              //    ****** System Paths ******
              // These are the system paths and folders for your vBulletin files
              // This setting is for where your vbulletin core folder is
          $config['core_path'] = '/storage/content/58/146158/gruevo.com/public_html/core';
              // This setting allows you to change the name of the admin folder
          $config['admincpdir'] = 'admincp';
              //    ****** Cookie Settings ******
              // These are cookie related settings.
              // This Setting allows you to change the cookie prefix
          $config['cookie_prefix'] = 'bb';
              // You can ignore this setting for right now.
          $config['cookie_enabled'] = true;
              //    ****** API Settings ******
              // These are for the vB5 API. You will not normally ever need to edit them.
              // Specifies whether the API is in the same host.
          $config['collapsed'] = true;
              // If the API is on an external host, you'll need to enter its information here
              // Chances are this will not ever be true for most people, do not edit.
          if (!$config['collapsed'])
          {
              $config['api_host']        = '';
              $config['api_client']        = '';
              $config['api_client_version']    = '';
              $config['api_platform']        = '';
              $config['api_platform_version']    = '';
              $config['api_key']        = '';
          }
              //    ****** Special Settings ******
              // These settings are only used in some circumstances
              // Please do not edit if you are not sure what they do.
          $config['report_all_php_errors'] = false;
          $config['no_template_notices'] = true;
              // This setting enables debug mode, it should NEVER be used on a live site
          $config['debug'] = false;

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74154

            #6
            Delete this file completely... From your computer and your server.

            Download vBulletin 5 Connect Beta 18.

            Unzip it.

            Rename /config.php.bkp to config.php

            Open it and edit it.

            Change the line for $config['baseurl'].

            Save the file.

            Upload it to your server.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • MertTurk
              Senior Member
              • Mar 2009
              • 128
              • 4.2.X

              #7
              Code:
              <?php
              /*======================================================================*\
              || #################################################################### ||
              || # vBulletin 5 Presentation Configuration                           # ||
              || # ---------------------------------------------------------------- # ||
              || # All PHP code in this file is �2000-2012 vBulletin Solutions Inc. # ||
              || # This file may not be redistributed in whole or significant part. # ||
              || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
              || # [URL]http://www.vbulletin.com[/URL] | [URL]http://www.vbulletin.com/license.html[/URL] # ||
              || #################################################################### ||
              \*======================================================================*/
              /*-------------------------------------------------------*\
              | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
              +---------------------------------------------------------+
              | When making changes to the file, the edit should always |
              | be to the right of the = sign between the single quotes |
              | Default: $config['admincpdir'] = 'admincp';             |
              | Example: $config['admincpdir'] = 'myadmin';  GOOD!      |
              | Example: $config['myadmin'] = 'admincp'; BAD!           |
              \*-------------------------------------------------------*/
              
                  //    ****** Base URLs ******
                  // The following settings all deal with the url of your forum.
                  // If set incorrectly your site/software will not function correctly.
                  // These urls should NOT include a trailing slash
                  // This is the url and web path of your root vBulletin directory
              $config['baseurl'] = 'http://www.gruevo.com';
              
              // This will only be used if you wish to require https logins
              // You will not need to change this setting most of the time.
              $config['baseurl_login'] = $config['baseurl'];
                  // If you do wish to use https for login, uncomment this line
                  // Then fill in your https url.
              //$config['baseurl_login'] = 'https://www.gruevo.com/core';
              
                  //    ****** System Paths ******
                  // This setting allows you to change the name of the admin folder
              $config['admincpdir'] = 'admincp';
                  //    ****** Cookie Settings ******
                  // These are cookie related settings.
                  // This Setting allows you to change the cookie prefix
              $config['cookie_prefix'] = 'bb';
              
              //    ****** Special Settings ******
              // These settings are only used in some circumstances
              // Please do not edit if you are not sure what they do.
              // You can ignore this setting for right now.
              $config['cookie_enabled'] = true;
              $config['report_all_php_errors'] = false;
              $config['no_template_notices'] = true;
              // This setting should never be used on a live site
              $config['no_js_bundles'] = false;
              // This setting enables debug mode, it should NEVER be used on a live site
              $config['debug'] = false;
              // Assumes default location of core. 
              // These are the system paths and folders for your vBulletin files
              // This setting is for where your vbulletin core folder is
              $config['core_path'] = realpath(dirname(__FILE__)) . '/storage/content/58/146158/gruevo.com/public_html/core';
                  // This is the url and web based path to your core directory
              $config['baseurl_core'] = $config['baseurl']  .  '/core';
              
              /*======================================================================*\
              || ####################################################################
              || # Downloaded: 
              || # CVS: $RCSfile$ - 
              || ####################################################################
              \*======================================================================*/

              Comment

              • MertTurk
                Senior Member
                • Mar 2009
                • 128
                • 4.2.X

                #8
                I did everything but it is not
                core_path
                /storage/content/58/146158/gruevo.com/public_html
                Where are we doing wrong?
                I did download vbulletin

                Comment

                • Hartmut
                  Senior Member
                  • Nov 2007
                  • 2870
                  • 4.2.x

                  #9
                  Find
                  PHP Code:
                  $config['core_path'] = realpath(dirname(__FILE__)) . '/storage/content/58/146158/gruevo.com/public_html/core'
                  and change to
                  PHP Code:
                  $config['core_path'] = realpath(dirname(__FILE__)) . '/core'
                  No private support, only PM me when I ask for it. Support in the forums only.

                  Comment

                  • MertTurk
                    Senior Member
                    • Mar 2009
                    • 128
                    • 4.2.X

                    #10
                    or will it again I made you config.php setting: (
                    <?php
                    /*======================================================================*\
                    || #################################################################### ||
                    || # vBulletin 5 Presentation Configuration # ||
                    || # ---------------------------------------------------------------- # ||
                    || # All PHP code in this file is �2000-2012 vBulletin Solutions Inc. # ||
                    || # This file may not be redistributed in whole or significant part. # ||
                    || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
                    || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
                    || #################################################################### ||
                    \*======================================================================*/
                    /*-------------------------------------------------------*\
                    | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
                    +---------------------------------------------------------+
                    | When making changes to the file, the edit should always |
                    | be to the right of the = sign between the single quotes |
                    | Default: $config['admincpdir'] = 'admincp'; |
                    | Example: $config['admincpdir'] = 'myadmin'; ! |
                    | Example: $config['myadmin'] = 'admincp'; |
                    \*-------------------------------------------------------*/
                    // ****** Base URLs ******
                    // The following settings all deal with the url of your forum.
                    // If set incorrectly your site/software will not function correctly.
                    // These urls should NOT include a trailing slash
                    // This is the url and web path of your root vBulletin directory
                    $config['baseurl'] = 'http://www.gruevo.com';
                    // This is the url and web based path to your core directory
                    $config['baseurl_core'] = 'http://www.gruevo.com/core';
                    // This will only be used if you wish to require https logins
                    // You will not need to change this setting most of the time.
                    $config['baseurl_login'] = $config['baseurl'];
                    // If you do wish to use https for login, uncomment this line
                    // Then fill in your https url.
                    //$config['baseurl_login'] = 'https://www.yourdomain.com/folder';
                    // ****** System Paths ******
                    // These are the system paths and folders for your vBulletin files
                    // This setting is for where your vbulletin core folder is
                    $config['core_path'] = realpath(dirname(__FILE__)). '/storage/content/58/146158/gruevo.com/public_html/core';
                    // This setting allows you to change the name of the admin folder
                    $config['admincpdir'] = 'admincp';
                    // ****** Cookie Settings ******
                    // These are cookie related settings.
                    // This Setting allows you to change the cookie prefix
                    $config['cookie_prefix'] = 'bb';
                    // You can ignore this setting for right now.
                    $config['cookie_enabled'] = true;
                    // ****** API Settings ******
                    // These are for the vB5 API. You will not normally ever need to edit them.
                    // Specifies whether the API is in the same host.
                    $config['collapsed'] = true;
                    // If the API is on an external host, you'll need to enter its information here
                    // Chances are this will not ever be true for most people, do not edit.
                    if (!$config['collapsed'])
                    {
                    $config['api_host'] = '';
                    $config['api_client'] = '';
                    $config['api_client_version'] = '';
                    $config['api_platform'] = '';
                    $config['api_platform_version'] = '';
                    $config['api_key'] = '';
                    }
                    // ****** Special Settings ******
                    // These settings are only used in some circumstances
                    // Please do not edit if you are not sure what they do.
                    $config['report_all_php_errors'] = false;
                    $config['no_template_notices'] = true;
                    // This setting enables debug mode, it should NEVER be used on a live site
                    $config['debug'] = false;

                    Comment

                    • Lynne
                      Former vBulletin Support
                      • Oct 2004
                      • 26255

                      #11
                      What version of the software are you trying to install? The presentation config.php file doesn't look like that anymore and hasn't for a few versions.

                      Please don't PM or VM me for support - I only help out in the threads.
                      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                      Want help modifying your vbulletin forum? Head on over to vbulletin.org
                      If I post CSS and you don't know where it goes, throw it into the additional.css template.

                      W3Schools &lt;- awesome site for html/css help

                      Comment

                      • MertTurk
                        Senior Member
                        • Mar 2009
                        • 128
                        • 4.2.X

                        #12
                        I'm trying to newest version vBulletin 5.0.0 Beta 18 Upgrade

                        Comment

                        • soniceffect
                          Senior Member
                          • Feb 2005
                          • 938
                          • 4.2.X

                          #13
                          Thats not the config file that comes with beta 18 by the looks of it m8 so I would check that first of all
                          Husky Owners Forum - For all Siberian Husky Owners

                          Comment

                          • Wayne Luke
                            vBulletin Technical Support Lead
                            • Aug 2000
                            • 74154

                            #14
                            This line is still incorrect:
                            $config['core_path'] = realpath(dirname(__FILE__)). '/storage/content/58/146158/gruevo.com/public_html/core';

                            It should say:
                            $config['core_path'] = realpath(dirname(__FILE__)). '/core';


                            No more, No Less. You're still not using the config.php included in the Beta 18 download. If you simply followed the instructions in post #6 above, you can resolve this issue quite easily.
                            Translations provided by Google.

                            Wayne Luke
                            The Rabid Badger - a vBulletin Cloud demonstration site.
                            vBulletin 5 API

                            Comment

                            • MertTurk
                              Senior Member
                              • Mar 2009
                              • 128
                              • 4.2.X

                              #15
                              ((((

                              <?xml version="1.0" encoding="windows-1252"?><b>API Error</b><br><b>Error:</b> invalid_query_definition_x<br><b>Args:</b><br><pre style="font-family:Lucida Console,Monaco5,monospace;font-size:small;overflow:auto;border:1px solid #CCC;">array ( 0 =&gt; 'permission',)</pre>

                              Comment

                              Related Topics

                              Collapse

                              Working...