well if you have one set up let it redirect you to your website
well if you have one set up let it redirect you to your website
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...![]()
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.
Can someone give me a working link of Cype CMS please ?
Yes that is the only way they can access your site.
---------- Post added at 12:09 PM ---------- Previous post was at 11:58 AM ----------
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
What's wrong ??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.![]()
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'
Thanks now I'm admin but not GM
I replaced 0 by 1 in gm but it doesn't work![]()
Last edited by H4ris; 25-12-09 at 05:18 PM.