Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Web [Web]How to set up a CMS

Newbie Spellweaver
Joined
Jan 10, 2009
Messages
39
Reaction score
0
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...:(:
 
Joined
Aug 24, 2009
Messages
1,221
Reaction score
170
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...:(:
Edit your database.php to your settings.
 
Newbie Spellweaver
Joined
Dec 24, 2009
Messages
7
Reaction score
0
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:
Newbie Spellweaver
Joined
May 1, 2009
Messages
7
Reaction score
0
Re: [Tutorial]How to set up a CMS

Can someone give me a working link of Cype CMS please ?
 
Initiate Mage
Joined
Dec 20, 2009
Messages
2
Reaction score
0
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

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?
 
Newbie Spellweaver
Joined
Dec 24, 2009
Messages
7
Reaction score
0
Re: [Tutorial]How to set up a CMS

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
 
Joined
Aug 24, 2009
Messages
1,221
Reaction score
170
Re: [Tutorial]How to set up a CMS

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 ----------

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
 
Newbie Spellweaver
Joined
May 1, 2009
Messages
7
Reaction score
0
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 ?? :(:
 
Joined
Aug 24, 2009
Messages
1,221
Reaction score
170
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 ?? :(:

Edit your database.php in your cms folder
 
Newbie Spellweaver
Joined
May 1, 2009
Messages
7
Reaction score
0
Re: [Tutorial]How to set up a CMS

I did it but always the same error.

My database.php

PHP:
<?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'
 
Joined
Aug 24, 2009
Messages
1,221
Reaction score
170
Re: [Tutorial]How to set up a CMS

I did it but always the same error.

My database.php

PHP:
<?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
 
Newbie Spellweaver
Joined
May 1, 2009
Messages
7
Reaction score
0
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 :(:
 
Newbie Spellweaver
Joined
May 1, 2009
Messages
7
Reaction score
0
Re: [Tutorial]How to set up a CMS

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:
Joined
Aug 24, 2009
Messages
1,221
Reaction score
170
Re: [Tutorial]How to set up a CMS

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

Check your commands in the source folder and see what the highest GM level is and put that number in the colomn
 
Newbie Spellweaver
Joined
Dec 24, 2009
Messages
7
Reaction score
0
Re: [Tutorial]How to set up a CMS

Nope sorry still did not work, still a quarter white and 3 quarters yellow.
 
Newbie Spellweaver
Joined
Oct 18, 2008
Messages
6
Reaction score
0
Re: [Tutorial]How to set up a CMS

Why doesn't it work?

PHP:
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 user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\config\properties.php on line 25

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\config\properties.php on line 25

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\config\properties.php on line 26
 
Joined
Aug 24, 2009
Messages
1,221
Reaction score
170
Re: [Tutorial]How to set up a CMS

Why doesn't it work?

PHP:
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 user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\config\properties.php on line 25

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\config\properties.php on line 25

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\wamp\www\config\properties.php on line 26

Post your database.php here
 
Initiate Mage
Joined
Dec 26, 2009
Messages
3
Reaction score
0
Re: [Tutorial]How to set up a CMS

Hey , I added you on msn

Hope you get on :eek: , Wanna talk to you about something

EDIT:

Nvm , not needed anymore :O
 
Last edited:
Back
Top