GM Panel issues

Results 1 to 12 of 12
  1. #1
    Enthusiast Jeffrey Decker is offline
    MemberRank
    Oct 2012 Join Date
    New YorkLocation
    25Posts

    GM Panel issues

    I am trying to get the damn GM panel to work and I am getting close now I get this error:

    Fatal error: require() [function.require]: Failed opening required '../secure/config.php' (include_path='.;C:\php6\pear') in C:\AppServ\www\panel\gm\index.php on line 6

    And Im getting confused now, I go back and forth to those address's and I see nothing wrong.


    Any Ideas?


  2. #2
    Apprentice M3 nfsk is offline
    MemberRank
    Dec 2013 Join Date
    12Posts

    Re: GM Panel issues

    index.php analyze line 6 in code and edit/correct/troubleshoot?

  3. #3
    Enthusiast Jeffrey Decker is offline
    MemberRank
    Oct 2012 Join Date
    New YorkLocation
    25Posts

    Re: GM Panel issues

    line 6
    require "../secure/config.php";


    now it says

    Warning: require(../secure/config.php) [function.require]: failed to open stream: No such file or directory in C:\AppServ\www\panel\gm\index.php on line 6

    Fatal error: require() [function.require]: Failed opening required '../secure/config.php' (include_path='.;C:\php6\pear') in C:\AppServ\www\panel\gm\index.php on line 6
    Last edited by Jeffrey Decker; 03-12-13 at 03:20 AM.

  4. #4
    Apprentice M3 nfsk is offline
    MemberRank
    Dec 2013 Join Date
    12Posts

    Re: GM Panel issues

    hm? why does it say that?
    are u sure u have included the config in that location
    if yes then y it says that
    maybe there's sumthing wrong in paths names or on line 6 exact
    copy and paste code line 6 here

  5. #5
    Hi, Im Ryuzu yerij007 is offline
    MemberRank
    Oct 2011 Join Date
    Behind You!Location
    311Posts

    Re: GM Panel issues

    There inside the panel exist a config.php file for set up? check it.

  6. #6
    Enthusiast lucatischlerqA is offline
    MemberRank
    Dec 2013 Join Date
    28Posts

    Re: GM Panel issues

    Dude pm me on Skype i know the fix :)
    Skype: xUltraHighx

  7. #7
    Enthusiast Jeffrey Decker is offline
    MemberRank
    Oct 2012 Join Date
    New YorkLocation
    25Posts

    Re: GM Panel issues

    @yerij007: I do not have a config.php in the panel folder gm folder.

    @ANlME: Yes there is a config.php at that location.

    @lucatischlerqA: I sent a request to both those skype files.

    So what I have found out so far...
    Line 6 says:
    Code:
    require "../secure/config.php";
    i think it is supposed to be
    Code:
    require "/secure/config.php";
    But when its like that it just signs me out and returns me to my gunz website...
    any ideas now?

    Also when I tried the first 12 lines like this
    Code:
    <?php
    if( !session_start() )
    {
        session_start();
    }
    require "secure/config.php";
    include "functions.php";
    $langfile = "lang/english.php";
    include $langfile;
    
    $connection = $_ODBCCON;
    ?>
    but then it tells me i dont have permission to enter the Admin Panel
    so I now have it like this:
    Code:
    <?php
    if( !session_start() )
    {
        session_start();
    }
    require "../secure/config.php";
    include "functions.php";
    $langfile = "lang/{$_CONFIG[Language]}.php";
    include $langfile;
    
    $connection = connect();
    ?>

  8. #8
    Enthusiast Jeffrey Decker is offline
    MemberRank
    Oct 2012 Join Date
    New YorkLocation
    25Posts

    Re: GM Panel issues

    -bump-

  9. #9
    Apprentice M3 nfsk is offline
    MemberRank
    Dec 2013 Join Date
    12Posts

    Re: GM Panel issues

    drop $langfile = "lang/{$_CONFIG[Language]}.php";
    and edit include "lang/english.php";
    im not sure if lang file location is correct u adjust it
    and note this is not on line 16 according to my file
    i cant test this sorry

    @lucatischlerqA if u have the fix post it, so other ppl having same problem could solve it
    Last edited by M3 nfsk; 09-12-13 at 05:46 AM.

  10. #10
    Enthusiast Jeffrey Decker is offline
    MemberRank
    Oct 2012 Join Date
    New YorkLocation
    25Posts

    Re: GM Panel issues

    I had a buddy Andres and his friend help me on skype no idea what they did but they fixed it. and then i just broke it messing with the files again....

    Any who don't add lucatischlerqA, he just fucks shit up.

  11. #11
    Apprentice M3 nfsk is offline
    MemberRank
    Dec 2013 Join Date
    12Posts

    Re: GM Panel issues

    Code:
    <?phpif(!session_start())
    {
        session_start();
    }
    require "secure/config.php";
    include "functions.php";
    include "lang/english.php";
    
    
    
    
    $connection = $_ODBCCON;
    ?>
    if not then
    panel/gm/lang/english.php @ line 8
    or
    if it is located differently in your directories u adjust
    if you're having permission errors then maybe configure .htaccess?

  12. #12
    Enthusiast Jeffrey Decker is offline
    MemberRank
    Oct 2012 Join Date
    New YorkLocation
    25Posts

    Re: GM Panel issues

    That's what they did I keep trying to use *"..secure/config.php";*

    Thanks



Advertisement