Welcome, Guest. Please Login or Register.
November 28, 2024, 01:40:20 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Big problem I think « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Big problem I think  (Read 489 times)
Jamie
Noobie
*
Posts: 3


I'm a llama!

Big problem I think
« on: January 02, 2004, 09:38:49 AM »
Reply with quote

YaBB SE Version: 1.5.4
PHP Version:
MySQL Version:
Server Platform:
Link to Forum: www.expertbettingadvice.co.uk/forum/index.php

Problem Description:
My forum is displaying the folloing message, does anyone know if there is anything I can do, my webhost was meant to be sorting it out for me but he hasn't, he seemed to think some files were missing or in the wrong folde or something, is there anything I would be able to do myself? thanks.

Parse error: parse error in /home/jamiec/public_html/forum/Settings.php on line 120

Warning: main(): open_basedir restriction in effect. File(/Subs.php) is not within the allowed path(s): (/home/jamiec:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/jamiec/public_html/forum/index.php on line 46

Warning: main(/Subs.php): failed to open stream: Operation not permitted in /home/jamiec/public_html/forum/index.php on line 46

Warning: main(): Failed opening '/Subs.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jamiec/public_html/forum/index.php on line 46

Warning: main(): open_basedir restriction in effect. File(/Errors.php) is not within the allowed path(s): (/home/jamiec:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/jamiec/public_html/forum/index.php on line 47

Warning: main(/Errors.php): failed to open stream: Operation not permitted in /home/jamiec/public_html/forum/index.php on line 47

Warning: main(): Failed opening '/Errors.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jamiec/public_html/forum/index.php on line 47

Warning: main(): open_basedir restriction in effect. File(/Load.php) is not within the allowed path(s): (/home/jamiec:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/jamiec/public_html/forum/index.php on line 48

Warning: main(/Load.php): failed to open stream: Operation not permitted in /home/jamiec/public_html/forum/index.php on line 48

Warning: main(): Failed opening '/Load.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jamiec/public_html/forum/index.php on line 48

Warning: main(): open_basedir restriction in effect. File(/Security.php) is not within the allowed path(s): (/home/jamiec:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/jamiec/public_html/forum/index.php on line 49

Warning: main(/Security.php): failed to open stream: Operation not permitted in /home/jamiec/public_html/forum/index.php on line 49

Warning: main(): Failed opening '/Security.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jamiec/public_html/forum/index.php on line 49
No Database Selected
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Big problem I think
« Reply #1 on: January 02, 2004, 11:02:26 AM »
Reply with quote

Could you check Settings.php to make sure it's not screwed up... near line 120?

-[Unknown]
Logged
Jamie
Noobie
*
Posts: 3


I'm a llama!

Re:Big problem I think
« Reply #2 on: January 02, 2004, 11:41:04 AM »
Reply with quote

I don't really know what I'm doing that well but I went into my control panel and ran a check on the database and this is what I got

jamiec_yabbse is now being checked.
jamiec_yabbse.yabbse_banned                        OK
jamiec_yabbse.yabbse_boards                        OK
jamiec_yabbse.yabbse_calendar                      OK
jamiec_yabbse.yabbse_calendar_holiday              OK
jamiec_yabbse.yabbse_categories                    OK
jamiec_yabbse.yabbse_censor                        OK
jamiec_yabbse.yabbse_instant_messages              OK
jamiec_yabbse.yabbse_log_activity                  OK
jamiec_yabbse.yabbse_log_banned                    OK
jamiec_yabbse.yabbse_log_boards                    OK
jamiec_yabbse.yabbse_log_clicks                    OK
jamiec_yabbse.yabbse_log_errors                    OK
jamiec_yabbse.yabbse_log_floodcontrol              OK
jamiec_yabbse.yabbse_log_karma                     OK
jamiec_yabbse.yabbse_log_mark_read                 OK
jamiec_yabbse.yabbse_log_online                    OK
jamiec_yabbse.yabbse_log_topics                    OK
jamiec_yabbse.yabbse_membergroups                  OK
jamiec_yabbse.yabbse_members                       OK
jamiec_yabbse.yabbse_messages                      OK
jamiec_yabbse.yabbse_polls                         OK
jamiec_yabbse.yabbse_reserved_names                OK
jamiec_yabbse.yabbse_settings                      OK
jamiec_yabbse.yabbse_topics                        OK


Check Complete
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Big problem I think
« Reply #3 on: January 02, 2004, 12:52:33 PM »
Reply with quote

Quote from: Jamie on January 02, 2004, 11:41:04 AM
I don't really know what I'm doing that well but I went into my control panel and ran a check on the database and this is what I got

Settings.php is a file in your main yabbse directory controlling paths etc. and written to by Forum Preferences and Settings. You can download it from your site by FTP, edit it in any text editor and/or ask us to take a look at it, but please don't quote it in its entirety here because it contains some sensitive information (eg your DB password)!
Logged

Jamie
Noobie
*
Posts: 3


I'm a llama!

Re:Big problem I think
« Reply #4 on: January 02, 2004, 02:04:26 PM »
Reply with quote

Hope this is ok, I deleted the database details including passowrd.

<?php
/*****************************************************************************/
/* Settings.php                                                              */
/*****************************************************************************/
/* YaBB SE: Yet another Bulletin Board Splinter Edition                      */
/* Open-Source Project inspired by Zef Hemel ([email protected])              */
/* Software Version:           YaBB SE 1.5.1                                 */
/* Software by:                The YaBB SE Development Team                  */
/* ========================================================================= */
/* Software Distributed by:    http://www.yabbse.org                         */
/* Copyright 2001-2003 by:     http://www.lewismedia.com (Lewis Media)       */
/* Support, News, Updates at:  http://www.yabbse.org/community               */
/* Inspired and Ported From:   http://www.yabbforum.com                      */
/*****************************************************************************/
/* This program is free software; you may redistribute it and/or modify it   */
/* under the terms of the provided license as published by Lewis Media.      */
/*                                                                           */
/* 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 provided    */
/* license for more information.                                             */
/*                                                                           */
/* See license.txt for details of the YaBB SE license. The latest version    */
/* of this license can be found at the distributor's site seen above.        */
/*****************************************************************************/

########## Board Info ##########
# Note: these settings must be properly changed for YaBB to work

$maintenance = 0;            # Set to 1 to enable Maintenance mode
$mtitle = "Maintenance Mode";                  # Subject for display
$mmessage = "We will be back in roughly 12 hours due to a server upgrade.";               # Message Description for display

$guestaccess = 1;            # Set to 0 to disallow guests from doing anything but login or register

$yyForceIIS = 0;               # Set to 1 if you encounter errors while running on an MS IIS server
$yyblankpageIIS = 0;         # Set to 1 if you encounter blank pages after posting (usually on MS IIS servers)

$language = "english.lng";               # Change to language pack you want to use
$mbname = "Expert Betting Advice";                  # The name of your YaBB forum
$boardurl = "http://www.expertbettingadvice.co.uk/forum";               # URL of your board's folder (without trailing '/')

$Cookie_Length = 60;            # Cookies will expire after XX minutes of person logging in (they will be logged out after)
$cookiename = "YaBBSE151";            # Name of the cookie

$RegAgree = 1;               # Set to 1 to display the registration agreement when registering
$emailpassword = 1;            # 0 - instant registration. 1 - password emailed to new members
$emailnewpass = 0;            # Set to 1 to email a new password to members if they change their email address
$emailwelcome = 1;            # Set to 1 to email a welcome message to users even when you have mail password turned off

$mailprog = "/usr/sbin/sendmail";               # Location of your sendmail program
$smtp_server = "127.0.0.1";            # SMTP-Server
$webmaster_email = "[email protected]";         # Your e-mail address.
$mailtype = 0;               # 0 - sendmail, 1 - SMTP

########## Directories/Files ##########
# Note: directories other than $imagesdir do not have to be changed unless you move things

$boarddir = "/home/jamiec/public_html/forum";               # The absolute path to the board's folder (usually can be left as '.')
$sourcedir = "/home/jamiec/public_html/forum/Sources";               # Directory with YaBB source files
$facesdir = "/home/jamiec/public_html/forum/YaBBImages/avatars";               # Absolute Path to your avatars folder
$facesurl = "http://www.expertbettingadvice.co.uk/forum/YaBBImages/avatars";               # URL to your avatars folder
$imagesdir = "http://www.expertbettingadvice.co.uk/forum/YaBBImages";               # URL to your images directory
$ubbcjspath = "http://www.expertbettingadvice.co.uk/forum/ubbc.js";            # Web path to your 'ubbc.js' REQUIRED for post/modify to work properly!
$faderpath = "http://www.expertbettingadvice.co.uk/forum/fader.js";               # Web path to your 'fader.js'
$helpfile = "http://www.expertbettingadvice.co.uk/forum/YaBBHelp/index.html";               # Location of your help file


########## Colors ##########
# Note: equivalent to colors in CSS tag of template.html, so set to same colors preferrably
# for browsers without CSS compatibility and for some items that don't use the CSS tag

$color['titlebg'] = "#6E94B7";      # Background color of the 'title-bar'
$color['titletext'] = "#FFFFFF";   # Color of text in the 'title-bar' (above each 'window')
$color['windowbg'] = "#AFC6DB";      # Background color for messages/forms etc.
$color['windowbg2'] = "#F8F8F8";   # Background color for messages/forms etc.
$color['windowbg3'] = "#6394BD";   # Color of horizontal rules in posts
$color['catbg'] = "#DEE7EF";         # Background color for category (at Board Index)
$color['bordercolor'] = "#6394BD";   # Table Border color for some tables
$color['fadertext']  = "#000000";   # Color of text in the NewsFader ("The Latest News" color)
$color['fadertext2']  = "#000000";   # Color of text in the NewsFader (news color)

########## Layout ##########

$MenuType = 0;               # 1 for text menu or anything else for images menu
$curposlinks = 1;            # 1 for links in navigation on current page, or 0 for text without link
$profilebutton = 1;            # 1 to show view profile button under post, or 0 for blank
$timeformatstring = "%B %d, %Y, %I:%M:%S %p";      # Select your preferred output Format of Time and Date
$allow_hide_email = 1;         # Allow users to hide their email from public. Set 0 to disable
$showlatestmember = 1;         # Set to 1 to display "Welcome Newest Member" on the Board Index
$shownewsfader = 1;            # 1 to allow or 0 to disallow NewsFader javascript on the Board Index
                              # If 0, you'll have no news at all unless you put <yabb news> tag
                              # back into template.html!!!
$Show_RecentBar = 0;            # Set to 1 to display the Recent Posts bar on Board Index
$Show_MemberBar = 1;            # Set to 1 to display the Members List table row on Board Index
$showmarkread = 1;            # Set to 1 to display and enable the mark as read buttons
$showmodify = 1;               # Set to 1 to display "Last modified: Realname - Date" under each message
$ShowBDescrip = 1;            # Set to 1 to display board descriptions on the topic (message) index for each board
$showuserpic = 1;            # Set to 1 to display each member's picture in the message view (by the ICQ.. etc.)
$showusertext = 1;            # Set to 1 to display each member's personal text in the message view (by the ICQ.. etc.)
$showgenderimage = 0;         # Set to 1 to display each member's gender in the message view (by the ICQ.. etc.)
$showyabbcbutt = 1;            # Set to 1 to display the yabbc buttons on Posting and IM Send Pages

########## Feature Settings ##########

$enable_ubbc = 1;            # Set to 1 if you want to enable UBBC (Uniform Bulletin Board Code)
$enable_news = 0;            # Set to 1 to turn news on, or 0 to set news off
$allowpics = 1;               # set to 1 to allow members to choose avatars in their profile
$enable_guestposting = 0;      # Set to 0 if do not allow 1 is allow.
$enable_notification = 1;      # Allow e-mail notification
$autolinkurls = 1;            # Set to 1 to turn URLs into links, or 0 for no auto-linking.

$timeoffset = ;               # Time Offset (so if your server is EST, this would be set to -1 for CST)
$TopAmmount = 15;               # No. of top posters to display on the top members list
$MembersPerPage = 30;         # No. of members to display per page of Members List - All
$maxdisplay = 40;               # Maximum of topics to display
$maxmessagedisplay = 15;      # Maximum of messages to display
$MaxMessLen = 1000000;               # Maximum Allowed Characters in a Posts
$MaxSigLen = 300;               # Maximum Allowed Characters in Signatures
$ClickLogTime = 60;            # Time in minutes to log every click to your forum (longer time means larger log file size)
$max_log_days_old = 21;         # If an entry in the user's log is older than ... days remove it
                              # Set to 0 if you want it disabled
$fadertime = 1000;               # Length in seconds to display each item in the news fader
$timeout = 5;                  # Minimum time between 2 postings from the same IP


########## Membergroups ##########

$JrPostNum = 50;                  # Number of Posts required to show person as 'junior' membergroup
$FullPostNum = 100;               # Number of Posts required to show person as 'full' membergroup
$SrPostNum = 250;                  # Number of Posts required to show person as 'senior' membergroup
$GodPostNum = 500;               # Number of Posts required to show person as 'god' membergroup


########## MemberPic Settings ##########

$userpic_width = 0;            # Set pixel size to which the selfselected userpics are resized, 0 disables this limit
$userpic_height = 0;         # Set pixel size to which the selfselected userpics are resized, 0 disables this limit
$userpic_limits = "Please note that your image has to be <b>gif</b> or <b>jpg</b> and that it will be resized!";         # Text To Describe The Limits
?>
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Big problem I think
« Reply #5 on: January 03, 2004, 05:07:10 PM »
Reply with quote

Find:

$timeoffset = ;

Replace:

$timeoffset = 0;

-[Unknown]
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Big problem I think
« Reply #6 on: January 03, 2004, 07:57:50 PM »
Reply with quote

Quote from: [Unknown] on January 03, 2004, 05:07:10 PM$timeoffset = ;

* Peter Duggan might as well confess to skimming this yesterday and missing that!
:-[
« Last Edit: January 03, 2004, 07:59:24 PM by Peter Duggan » Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Big problem I think
« Reply #7 on: January 03, 2004, 09:12:21 PM »
Reply with quote

Same here, I went and counted down 120 lines, and then looked for it.... ugh.

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Big problem I think « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.072 seconds with 20 queries.