Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Off Topic Discussions > Webmasters Area

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 09-11-2008, 07:43 AM
Kirschnik Kirschnik is offline
Member
 
Join Date: Sep 2008
Posts: 10
Credits: 406
Kirschnik
Default RE: Free SMF Hosting Script for SMF 1.1.4

Quote:
Originally Posted by powerchaos
i dont know anymore how i dit it , but i think i was doin some index editing and i just deletd everything that gave a error (like the <html> tag , just delete it .. )

if i can ask , can you use the [ php] [/ php] (whitout space) code the its easyer to read ^^

probaly you will get some more errors but was it after activation , or before activation of the mod ??

Greets From The Crasher
After activation of the mod, as i tried to log in into the adminpanel of the mod under: http://mydomain.tld/smf/admin

If i close the php-tag before <html> i get the following:

Code:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'web84'@'localhost' (using password: NO) in /home/www/web84/html/smf/config.php on line 38

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'web84'@'localhost' (using password: NO) in /home/www/web84/html/smf/config.php on line 39

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/www/web84/html/smf/config.php on line 39

Warning: mysql_query() [function.mysql-query]: Access denied for user 'web84'@'localhost' (using password: NO) in /home/www/web84/html/smf/config.php on line 41

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/www/web84/html/smf/config.php on line 41
error:Access denied for user 'web84'@'localhost' (using password: NO)
My Settings.php and Config.php:

PHP Code:
<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com)                    *
* =============================================================================== *
* Software Version:           SMF 1.1                                             *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006 by:          Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance 0;        # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle 'Maintenance Mode';        # Title for the Maintenance Mode message.
$mmessage 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!';        # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname 'My Community';        # The name of your forum.
$language 'english';        # The default language file set for the forum.
$boardurl 'http://kirschnik.i3h.de/smf';        # URL to your forum's folder. (without the trailing /!)
$webmaster_email 'c.kirchner@gmx.de';        # Email address to send emails from. (like noreply@yourdomain.com.)
$cookiename 'SMFCookie666';        # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server 'localhost';
$db_name 'usr_web84_6';
$db_user 'web84';
$db_passwd 'XXX';
$db_prefix 'smf_';
$db_persist 0;
$db_error_send 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir '/home/www/web84/html/smf';        # The absolute path to the forum's folder. (not just '.'!)
$sourcedir '/home/www/web84/html/smf/Sources';        # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error 0;


//This function is removed for optimize speed (search for agreement.txt or /Sources )

$db_character_set 'utf8';
?>
DB-Pass is X-ed

PHP Code:
<?php

$smfxxlversion 
"1.1.4";
$GLOBALS['current_smf_version'] ="1.1.4";

//To avoid problems, do not edit this part !

#if (file_exists('../../Settings.php')){
#include '../../Settings.php';}
#if (file_exists('../Settings.php')){
#include '../Settings.php';}
if (file_exists('Settings.php')){
include 
'Settings.php';}

$smfxxl_prefix $db_prefix;
$validate="your@mail.com";
$db_server $db_server;
$db_user $db_user;
$db_name $db_name;
$db_passwd $db_passwd;
$forumshome $boarddir
$forum_root $boarddir;
$usersource_dir $boarddir.'/usersources'
$forum_url $boardurl
$adminurl =  $boardurl.'/admin/';     
$tbl_admin="smf_xxl_admin";
$tabl_users="smf_xxl_users";
$tbl_publi="smf_xxl_publi";
$title_home "SMFXXL.COM Admin Panel";


//LICENSE REMOVED
        
$checkstatus="ADMIN";

        

            
//ZOEK DE HOSTNAAM AAN/UIT en DE TITEL
            
$db_connect mysql_connect($db_server,$db_user,$db_passwd) ;
            
$db_select mysql_select_db($db_name);
            
$sql="select * from smf_xxl_admin";
            
$rs=mysql_query($sql) or die("error:".mysql_error());
            while(
$row=mysql_fetch_assoc($rs))        {
            
$hostname=$row['showhost'];
            
$newtitle=$row['newtitle'];
            
$newsecure=$row['Asecure'];
            
$tomail=$row['AemailAddress'];
            
$userforums_url=$boardurl.'/'.$row['smfxxlpath'];
            
$userforums_root=$boarddir.'/'.$row['smfxxlpath'];
            
$smfxxldir=$row['smfxxlpath'];
            
$smfdir=$row['smfpath'];



}

?>
Thx in advance
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free MyBB Forum Hosting @ FreeMyBB.com BMR777 Webmasters Area 7 10-01-2024 06:11 AM
Mysidia's free hosting service Hall of Famer Mysidia Adoptables Official Announcement 12 06-15-2020 04:13 PM
Gem Stone Hosting (Free) Nemesis Webmasters Area 30 07-25-2011 11:06 PM
MyFreeHost (NoPost, Monthly, and OneTime Posting) Hosting! FREE / AdFree Rsmiley Webmasters Area 1 05-23-2010 07:06 PM
Anyone have a free phpBB3 hosting script Leon Webmasters Area 21 08-10-2009 06:11 PM


All times are GMT -5. The time now is 05:16 PM.

Currently Active Users: 3849 (0 members and 3849 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636