RavenPHPScripts - Home of RavenNuke76™

Prepare/Install the Files

Obviously, since you are reading this, you have unpacked the RavenNuke76™ distro, most likely on your desktp PC. If you have SSH access you may have been able to unpack it directly to your server. In either case, you now need to edit the config.php file and supply the MySQL settings with the Database Name, UserName, and User Password that you created in the previous step, along with a few others. These are the settings we are concerned with in config.php. Right now they should look like this:

$dbhost = "localhost";
$dbuname = "rn76v2";
$dbpass = "rn76v2";
$dbname = "rn76v2";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa2rn76v28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$tipath = "images/topics/";
$display_errors = false;

$dbhost
This is the MySQL server name as defined by your host. The most common is localhost so there should be no need to change this. Some hosts require a domain name. Check with your host to be sure.
$dbuname
Database username from previous step (nukeusr). Some hosts require that you prefix the username with your control panel username. In other words, if your database username is "nukeusr" and your control panel username is raven, then the $dbuname would be raven_nukeusr and not just nukeusr. This is host specific.
$dbpass
Database password from previous step (nukepass).
$dbname
Database name from previous step (nukedb). Some hosts require that you prefix the database name with your control panel username. In other words, if your database name is "nukedb" and your control panel username is raven, then the $dbname would be raven_nukedb and not just nukedb. This is host specific.
$prefix
The prefix is added to all the tables in your database from previous step. There really isn't any reason to change this unless you want to or need to, to avoid a naming clash. If you change this, then you MUST change all the "nuke_" values in the SQL files in the INSTALLATION folder or all the tables will be created with the wrong prefix!
$user_prefix
This should ALWAYS be the same as the $prefix setting unless you are serving up more than one nuke site from the same database. This allows you to use certain tables across several nuke sites.
$dbtype
If you are using any version of MySQL, leave this setting alone. It IS case sensitive.
$sitekey
This key is used in the creation of the graphics check for signons. CHANGE it from its default value for security sake. You only need to change a few of the characters, but you can change as many as you like.
$gfx_chk
Set the graphic security code on every login screen, You need to have GD extension installed:
0: No check
1: Administrators login only
2: Users login only
3: New users registration only
4: Both, users login and new users registration only
5: Administrators and users login only
6: Administrators and new users registration only
7: Everywhere on all login options (Admins and Users)
NOTE: If you aren't sure set this value to 0
$subscription_url
If you manage subscriptions on your site, you must write here the url of the subscription information/renewal page. This will be sent by email if set.
$admin_file
Administration panel filename. "admin" by default for "admin.php". If you rename the actual filename (admin.php), you MUST change this $admin_file value to the new filename (without the extension .php). For example, by default the $admin_file is set to "admin" and the actual filename is "admin.php". If you change the actual admin.php filename to raven.php, then you must also change $admin_file to "raven". Be aware that third party addons normally expect this to be "admin", so changing it can break most older version addons.
$tipath
Path to where the topic images are stored. This shouldn't need to be changed.
$display_errors
Debug control to see PHP generated errors. When set to false, even though the errors aren't displayed on the screen, they will be written to your error log depending on the error_reporting setting.
false: Don't show errors
true: See all errors ( No notices ) - Note: Setting this to TRUE should only be done while testing/debugging your scripts. It should NEVER be set to TRUE in a production environment as it can expose information that could compromise your site.

For a quick recap, the MySQL settings, based on your database setup (example) in the previous step, should now look like this.

$dbhost = "localhost";
$dbuname = "raven_nukeusr";
$dbpass = "nukepass";
$dbname = "raven_nukedb";

Save the file and exit your editor. Now, FTP ALL of the unzipped files contained in the "html" folder to your root web folder, usually "www" or "public_html", but don't ftp the html folder itself unless you intend to install this in a sub-folder named "html". The difference in the two are as follows. Let's assume your root site folder is "public_html". If you ftp just the contents of the "html" folder, then you will be able to access your site by this url: http://www.YOURSITE.com . However, if you ftp the entire "html" folder, then to access your site you will need to use http://www.YOURSITE.com/html.

Lastly, if on a *nix host, using your FTP client, change the permissions on the .htaccess, .staccess, and ultramode.txt files to 777.



<<< Prepare/Install The Database Install RavenNuke76™ >>>