[Web]How to set up a CMS

Page 5 of 12 FirstFirst 123456789101112 LastLast
Results 61 to 75 of 170
  1. #61
    iamTheKing NyCPirate is offline
    MemberRank
    Aug 2009 Join Date
    c.getNyC.posLocation
    1,746Posts

    Re: [Tutorial]How to set up a CMS

    well if you have one set up let it redirect you to your website

  2. #62
    Member Bornofnoob93 is offline
    MemberRank
    Jan 2009 Join Date
    52Posts

    Re: [Tutorial]How to set up a CMS

    Warning: include(../config/database.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\install\install.php on line 111

    Warning: include() [function.include]: Failed opening '../config/database.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\install\install.php on line 111

    Warning: mysql_query() [function.mysql-query]: Access denied for us

    help i get above error...

  3. #63
    iamTheKing NyCPirate is offline
    MemberRank
    Aug 2009 Join Date
    c.getNyC.posLocation
    1,746Posts

    Re: [Tutorial]How to set up a CMS

    Quote Originally Posted by Bornofnoob93 View Post
    Warning: include(../config/database.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\install\install.php on line 111

    Warning: include() [function.include]: Failed opening '../config/database.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\install\install.php on line 111

    Warning: mysql_query() [function.mysql-query]: Access denied for us

    help i get above error...
    Edit your database.php to your settings.

  4. #64
    Apprentice ThatEchoKid is offline
    MemberRank
    Dec 2009 Join Date
    New YorkLocation
    12Posts

    Re: [Tutorial]How to set up a CMS

    Hey Thank you so much for this tutorial! I have everything set up correctly, port's 80 and 8080 are forwarded correctly, and I can access my site with the rankings working and all. The only thing is others cannot get on my site. I have wamp server and its online but the thing is, it is 3/4 yellow and 1/4 white? I hit start all services.

    Please help me? :)

    *Short tags are ON
    Last edited by ThatEchoKid; 24-12-09 at 02:47 AM. Reason: Added info.

  5. #65
    Apprentice H4ris is offline
    MemberRank
    May 2009 Join Date
    7Posts

    Re: [Tutorial]How to set up a CMS

    Can someone give me a working link of Cype CMS please ?

  6. #66
    Member EllaZee13 is offline
    MemberRank
    Dec 2009 Join Date
    50Posts

    Re: [Tutorial]How to set up a CMS

    Quote Originally Posted by ThatEchoKid View Post
    Hey Thank you so much for this tutorial! I have everything set up correctly, port's 80 and 8080 are forwarded correctly, and I can access my site with the rankings working and all. The only thing is others cannot get on my site. I have wamp server and its online but the thing is, it is 3/4 yellow and 1/4 white? I hit start all services.

    Please help me? :)

    *Short tags are ON
    WampServer needs to be all white. Left click it, and Hit "Restart all Services"
    Thank me if I helped :)

    Also, I got a question. If you are using Hamachi, is the only why people can connect to the site is if they are in the network?

  7. #67
    Apprentice ThatEchoKid is offline
    MemberRank
    Dec 2009 Join Date
    New YorkLocation
    12Posts

    Re: [Tutorial]How to set up a CMS

    Quote Originally Posted by EllaZee13 View Post
    WampServer needs to be all white. Left click it, and Hit "Restart all Services"
    Thank me if I helped :)

    Also, I got a question. If you are using Hamachi, is the only why people can connect to the site is if they are in the network?
    I just tried that again and it still did not work. :L

  8. #68
    iamTheKing NyCPirate is offline
    MemberRank
    Aug 2009 Join Date
    c.getNyC.posLocation
    1,746Posts

    Re: [Tutorial]How to set up a CMS

    Quote Originally Posted by EllaZee13 View Post
    WampServer needs to be all white. Left click it, and Hit "Restart all Services"
    Thank me if I helped :)

    Also, I got a question. If you are using Hamachi, is the only why people can connect to the site is if they are in the network?
    Yes that is the only way they can access your site.

    ---------- Post added at 12:09 PM ---------- Previous post was at 11:58 AM ----------

    Quote Originally Posted by ThatEchoKid View Post
    Hey Thank you so much for this tutorial! I have everything set up correctly, port's 80 and 8080 are forwarded correctly, and I can access my site with the rankings working and all. The only thing is others cannot get on my site. I have wamp server and its online but the thing is, it is 3/4 yellow and 1/4 white? I hit start all services.

    Please help me? :)

    *Short tags are ON
    Click on your wampserver icon and click on apache and go to start service do the same thing with mysql service. If that doesn't work go to apache go to install service and do the samething with mysql service. If it works don't forget to thank me =P

  9. #69
    Apprentice H4ris is offline
    MemberRank
    May 2009 Join Date
    7Posts

    Re: [Tutorial]How to set up a CMS

    Code:
    CypeCMS Installation
    
    Warning: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: H�te inconnu. in C:\wamp\www\config\database.php on line 41
    
    Warning: mysql_connect() [function.mysql-connect]: [2002] php_network_getaddresses: getaddrinfo failed: H�te inconnu. (trying to connect via tcp://localhost:3306) in C:\wamp\www\config\database.php on line 41
    
    Warning: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: H�te inconnu. in C:\wamp\www\config\database.php on line 41
    
    Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\wamp\www\config\database.php on line 42
    php_network_getaddresses: getaddrinfo failed: H�te inconnu.
    What's wrong ??

  10. #70
    iamTheKing NyCPirate is offline
    MemberRank
    Aug 2009 Join Date
    c.getNyC.posLocation
    1,746Posts

    Re: [Tutorial]How to set up a CMS

    Quote Originally Posted by H4ris View Post
    Code:
    CypeCMS Installation
    
    Warning: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: H�te inconnu. in C:\wamp\www\config\database.php on line 41
    
    Warning: mysql_connect() [function.mysql-connect]: [2002] php_network_getaddresses: getaddrinfo failed: H�te inconnu. (trying to connect via tcp://localhost:3306) in C:\wamp\www\config\database.php on line 41
    
    Warning: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: H�te inconnu. in C:\wamp\www\config\database.php on line 41
    
    Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\wamp\www\config\database.php on line 42
    php_network_getaddresses: getaddrinfo failed: H�te inconnu.
    What's wrong ??
    Edit your database.php in your cms folder

  11. #71
    Apprentice H4ris is offline
    MemberRank
    May 2009 Join Date
    7Posts

    Re: [Tutorial]How to set up a CMS

    I did it but always the same error.

    My database.php

    PHP Code:
    <?php 
    /*
        Copyright (C) 2009  Murad <Murawd>
                            Josh L. <Josho192837>

        This program is free software: you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
        (at your option) any later version.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with this program.  If not, see <http://www.gnu.org/licenses/>.
    */

    if(basename($_SERVER["PHP_SELF"]) == "database.php"){
        die(
    "403 - Access Forbidden");
    }

    /* MySQL Connection Information */
    // Where is MySQL Hosted? If you aren`t sure, just leave it as "localhost"
    $host "localhost";
    // Database Username - Usually "root"
    $user "root";
    // Database Password - Usually "root". If you don`t have a password, or are not sure, leave it blank.
    $pass "";
    // Database Name - Usually "odinms"
    $database "odinms";
    // What is the server`s Wan IP
    $serverip "89.156.103.211";
    // What is your server`s log in port - Don`t change if you aren`t sure.    
    $loginport "7575";
    // What is your server`s world port - Don`t change if you aren`t sure.    
    $worldport "8484";

    /* Don`t touch. */
    $conn mysql_connect($host,$user,$pass);
    $db mysql_select_db($database$conn) or die(mysql_error());    

    ?>


    ---------- Post added at 03:33 PM ---------- Previous post was at 01:51 PM ----------

    It's OK I've replaced localhost by 127.0.0.1.

    But now how to be admin and GM ??

    Thanks'

  12. #72
    iamTheKing NyCPirate is offline
    MemberRank
    Aug 2009 Join Date
    c.getNyC.posLocation
    1,746Posts

    Re: [Tutorial]How to set up a CMS

    Quote Originally Posted by H4ris View Post
    I did it but always the same error.

    My database.php

    PHP Code:
    <?php 
    /*
        Copyright (C) 2009  Murad <Murawd>
                            Josh L. <Josho192837>

        This program is free software: you can redistribute it and/or modify
        it under the terms of the GNU General Public License as published by
        the Free Software Foundation, either version 3 of the License, or
        (at your option) any later version.

        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.

        You should have received a copy of the GNU General Public License
        along with this program.  If not, see <http://www.gnu.org/licenses/>.
    */

    if(basename($_SERVER["PHP_SELF"]) == "database.php"){
        die(
    "403 - Access Forbidden");
    }

    /* MySQL Connection Information */
    // Where is MySQL Hosted? If you aren`t sure, just leave it as "localhost"
    $host "localhost";
    // Database Username - Usually "root"
    $user "root";
    // Database Password - Usually "root". If you don`t have a password, or are not sure, leave it blank.
    $pass "";
    // Database Name - Usually "odinms"
    $database "odinms";
    // What is the server`s Wan IP
    $serverip "89.156.103.211";
    // What is your server`s log in port - Don`t change if you aren`t sure.    
    $loginport "7575";
    // What is your server`s world port - Don`t change if you aren`t sure.    
    $worldport "8484";

    /* Don`t touch. */
    $conn mysql_connect($host,$user,$pass);
    $db mysql_select_db($database$conn) or die(mysql_error());    

    ?>


    ---------- Post added at 03:33 PM ---------- Previous post was at 01:51 PM ----------

    It's OK I've replaced localhost by 127.0.0.1.

    But now how to be admin and GM ??

    Thanks'
    Go do mysql and go to accounts and there's a colomn there that say's web admin replace the 0 with a 1 and save changes

  13. #73
    Apprentice H4ris is offline
    MemberRank
    May 2009 Join Date
    7Posts

    Re: [Tutorial]How to set up a CMS

    Thanks now I'm admin but not GM

    I replaced 0 by 1 in gm but it doesn't work

  14. #74
    iamTheKing NyCPirate is offline
    MemberRank
    Aug 2009 Join Date
    c.getNyC.posLocation
    1,746Posts

    Re: [Tutorial]How to set up a CMS

    Quote Originally Posted by H4ris View Post
    Thanks now I'm admin but not GM

    I replaced 0 by 1 in gm but it doesn't work
    Go to characters go to the colomn where it says GM and put a 5

  15. #75
    Apprentice H4ris is offline
    MemberRank
    May 2009 Join Date
    7Posts

    Re: [Tutorial]How to set up a CMS

    Quote Originally Posted by NyCPirate View Post
    Go to characters go to the colomn where it says GM and put a 5
    Thank you ! But how to know if we are GM or not because I don't see the difference.

    PS : When I put 5 it changes itself to 1
    Last edited by H4ris; 25-12-09 at 05:18 PM.



Advertisement