Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Need help installing holoRP
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Badgamerbrad" data-source="post: 78483" data-attributes="member: 13930"><p>This was in my Config.php in Includes</p><p> </p><p>[CODE]<?php</p><p>/*================================================================+\</p><p>|| # PHPRetro - An extendable virtual hotel site and management</p><p>|+==================================================================</p><p>|| # Copyright (C) 2009 Yifan Lu. All rights reserved.</p><p>|| # http://www.yifanlu.com</p><p>|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.</p><p>|| # http://www.meth0d.org</p><p>|| # All images, scripts, and layouts</p><p>|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.</p><p>|+==================================================================</p><p>|| # PHPRetro is provided "as is" and comes without</p><p>|| # warrenty of any kind. PHPRetro is free software!</p><p>|| # License: GNU Public License 3.0</p><p>|| # http://opensource.org/licenses/gpl-license.php</p><p>\+================================================================*/</p><p> </p><p>/*-------------------------------------------------------*\</p><p>| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |</p><p>+---------------------------------------------------------+</p><p>| If you get any errors while attempting to connect to |</p><p>| MySQL, you will need to email your webhost because we |</p><p>| cannot tell you the correct values for the variables |</p><p>| in this file. |</p><p>\*-------------------------------------------------------*/</p><p> </p><p>// ****** MASTER DATABASE SETTINGS ******</p><p>// These are the settings required to connect to your Database.</p><p>$conn['main']['prefix'] = "cms_";</p><p>$conn['main']['server'] = "mysql"; //mysql, pgsql, sqlite, or mssql</p><p>$conn['main']['host'] = "localhost"; //filename for SQLite</p><p>$conn['main']['port'] = "3306";</p><p>$conn['main']['username'] = "root";</p><p>$conn['main']['password'] = "PASSWORD";</p><p>$conn['main']['database'] = "DATABASE";</p><p> </p><p>// ****** HOTEL DATABASE SETTINGS ******</p><p>// EXPERIMENTAL!! Only turn this on if you know what to do. Please submit all</p><p>// bugs and your fix for them (if possible) to http://code.google.com/p/phpretro</p><p>// These are the settings required to connect to your hotel database Database.</p><p>$conn['server']['enabled'] = false;</p><p>$conn['server']['server'] = "mysql"; //mysql, pgsql, sqlite, or mssql</p><p>$conn['server']['host'] = "localhost"; //filename for SQLite</p><p>$conn['server']['port'] = "3306";</p><p>$conn['server']['username'] = "root";</p><p>$conn['server']['password'] = "PASSWORD";</p><p>$conn['server']['database'] = "DATABASE";</p><p>?>[/CODE]</p><p> </p><p>Now, how would I set this up?</p></blockquote><p></p>
[QUOTE="Badgamerbrad, post: 78483, member: 13930"] This was in my Config.php in Includes [CODE]<?php /*================================================================+\ || # PHPRetro - An extendable virtual hotel site and management |+================================================================== || # Copyright (C) 2009 Yifan Lu. All rights reserved. || # http://www.yifanlu.com || # Parts Copyright (C) 2009 Meth0d. All rights reserved. || # http://www.meth0d.org || # All images, scripts, and layouts || # Copyright (C) 2009 Sulake Ltd. All rights reserved. |+================================================================== || # PHPRetro is provided "as is" and comes without || # warrenty of any kind. PHPRetro is free software! || # License: GNU Public License 3.0 || # http://opensource.org/licenses/gpl-license.php \+================================================================*/ /*-------------------------------------------------------*\ | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** | +---------------------------------------------------------+ | If you get any errors while attempting to connect to | | MySQL, you will need to email your webhost because we | | cannot tell you the correct values for the variables | | in this file. | \*-------------------------------------------------------*/ // ****** MASTER DATABASE SETTINGS ****** // These are the settings required to connect to your Database. $conn['main']['prefix'] = "cms_"; $conn['main']['server'] = "mysql"; //mysql, pgsql, sqlite, or mssql $conn['main']['host'] = "localhost"; //filename for SQLite $conn['main']['port'] = "3306"; $conn['main']['username'] = "root"; $conn['main']['password'] = "PASSWORD"; $conn['main']['database'] = "DATABASE"; // ****** HOTEL DATABASE SETTINGS ****** // EXPERIMENTAL!! Only turn this on if you know what to do. Please submit all // bugs and your fix for them (if possible) to http://code.google.com/p/phpretro // These are the settings required to connect to your hotel database Database. $conn['server']['enabled'] = false; $conn['server']['server'] = "mysql"; //mysql, pgsql, sqlite, or mssql $conn['server']['host'] = "localhost"; //filename for SQLite $conn['server']['port'] = "3306"; $conn['server']['username'] = "root"; $conn['server']['password'] = "PASSWORD"; $conn['server']['database'] = "DATABASE"; ?>[/CODE] Now, how would I set this up? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Need help installing holoRP
Top