Error in Mysql plz help me

Discussion in 'Programming' started by soul_of_god, Apr 11, 2009.

  1. #1
    Hi guy, i am trying to create a online game site with ArcadeBuilder_v17_Script but when i upload the file in the folder and try to install i got error:confused:
    my sql is like this i edit
    [# ARCADEBUILDR COMES WITH NO WARRANTY of ANY KIND. Your use of this script
    # shows your acceptance of this - if you do not agree with this then
    # please discontinue using it. Read license.php to know more.
    #
    # by http://www.arcadebuilder.net
    #--------------------------------------------------------------------------

    // Config vars - absolutely needed before anything really happens.

    ///////////////////////////////////

    // The local path on your server of ArcadeBuilder, INCLUDING THE TRAILING SLASH.
    // This should be something like /home/yourdir/public_html/ or C:/Domains/YourDomain.com/
    $cfg['instdir'] = '/home/dvk2h7ug/domain/saidul.com/public_html/game/';
    // The Internet URL of ArcadeBuilder, INCLUDING THE TRAILING SLASH.
    // This should be something like http://www.example.com/
    $cfg['baseurl'] = 'http://arcadebuilder.net/';
    // Your MySQL database information information
    $cfg['sqluser'] = 'dvk2h7ug_game';
    $cfg['sqlpass'] = '123456';
    $cfg['sqldb'] = 'dvk2h7ug_game';
    $cfg['sqlhost'] = 'localhost';
    // The title of your homepage. The global site title can be changed in the admin area.
    $cfg['pagetitle'] = 'Cool Online Games';
    ///////////////////////////////////



    function critcalerror($text) {
    echo "<body style='background-color: #CCCCCC;'><div style='color: #FF0000; font-

    weight: bold; text-align: center; border: 1px solid #000000; background-color: #FFFFFF;

    margin: 8px; padding: 4px;'>".$text."</div></body>";
    die();
    }]
    And the error is showing this
    [Warning: include(/home/dvk2h7ug/domain/saidul.com/public_html/game/plugins/site/themes/default/index.php) [function.include]: failed to open stream: No such file or directory in /home/dvk2h7ug/public_html/game/index.php on line 49

    Warning: include() [function.include]: Failed opening '/home/dvk2h7ug/domain/saidul.com/public_html/game/plugins/site/themes/default/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dvk2h7ug/public_html/game/index.php on line 49]
    Please help me out from this condition i will glad to you:rolleyes:
     
    soul_of_god, Apr 11, 2009 IP
  2. ricmetal

    ricmetal Member

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    hi, what is on line 49 of index.php?
    also, im not an expert but i now single and doule quotes are not the same everywhere
    so id try changing singles to doubles in the php (try, idont know im not an expert) but

    also

    die();
    }]

    that last character seems out of place,

    also

    INCLUDING THE TRAILING SLASH - on the $cfg['baseurl'] = 'http://arcadebuilder.net/';

    maybe = '/http://arcade...net'; ?

    i hope that helps
     
    ricmetal, Apr 12, 2009 IP
  3. weboweb

    weboweb Peon

    Messages:
    25
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You are simply missing the file in /game/plugins/site/themes/default/index.php

    Are you sure the theme for the script is included? Open up the themes directory. Are there any folders in there? If there is one but it's not named 'default', try renaming it to 'default'. If this fixes the problem, rename the folder back to its original name and figure out how to configure which template your script uses.
     
    weboweb, Apr 12, 2009 IP