prob mit installation
lima-city → Forum → Programmiersprachen → PHP, MySQL & .htaccess
code
date
display
email
file
first
flag
header
http
installation
match
minute
not
ordern
page
same
server
set
setting
url
-
moin,
ich habe folgendes Prob bei einer Installation. Nachdem ich bei der Installation meine Daten eingegeben hab kommt folgende Fehlermeldung:
Parse error: parse error, unexpected T_DNUMBER in /home/webpages/lima-city/webnews/html/PreLea/SystemVars.php on line 56
hier die SystemVars.php:
<?php
/*********************************************************
* Author: John Astill (c)
* Date : 10th June 2003
* File : SystemVars.php
* Desc : Global data definitions. This is where the
* : prediction league is configured for the
* : specific installation.
********************************************************/
require \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"UserClass.php\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
require \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Error.php\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////
// System variable and configuration
//////////////////////////////////////////
//////////////////////////////////////////
// Constants
//////////////////////////////////////////
define(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"VERSION\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"0.56\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
define(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CORRECT_HOME_SCORE_POINTS\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
define(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CORRECT_AWAY_SCORE_POINTS\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
define(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CORRECT_MARGIN_POINTS\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
define(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CORRECT_RESULT_POINTS\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
define(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CORRECT_SCORE_POINTS\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"3\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
//////////////////////////////////////////////////////////////
// Modify the values from here to where you are told to stop.
// The numbers match those in the installation steps in
// the file INSTALL.TXT.
//////////////////////////////////////////////////////////////
//////////////////////////////////////////
// 1.Prediction League Title
// The title of the Prediction League.
// Change the value between the \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" to
// give the prediction league the title
// of your choice
//////////////////////////////////////////
$PredictionLeagueTitle = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Fu?ballcommunity - Das Tipspiel \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".VERSION;
//////////////////////////////////////////////////////////////
// 2. Header Row
// This is the header to be displayed in
//all the pages. It can contain HTML code.
//////////////////////////////////////////////////////////////
$HeaderRow = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"<img src=http://webnews.xardas.lima-city.de/images/banners/banner.jpg\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\">\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 3. Database hostname
// Database hostname
// The fqdn of the host containing the
// database
//////////////////////////////////////////////////////////////
$dbaseHost = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"mysql.lima-city.de\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 4. Base Directory Name
// The directory storing the prediction
// league files
//////////////////////////////////////////////////////////////
$baseDirName = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"predi\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 5. Username
// User name
// The username to be used for logging
// into the database
//////////////////////////////////////////////////////////////
$dbaseUsername = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 6. Password
// Password to be used for logging into
// the database
//////////////////////////////////////////////////////////////
$dbasePassword = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 7. Database Name.
// This is the name of the database. This *MUST* be the same
// name as the name you used when creating the database.
//////////////////////////////////////////////////////////////
$dbaseName = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 8. The email address of the administrator. Set this to your
// own address
//////////////////////////////////////////////////////////////
$adminEmailAddr = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 9. The signature of the admin to use at the end of the
// email welcoming the user. This can be a simple name,
// or something more complex.
//////////////////////////////////////////////////////////////
$adminSignature = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nhttp://www.90-minuten.de.vu/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 10. The default icon to use for a new user. The icons are
// displayed when the user is logged on. If you have an icon
// named default.gif, you can leave this as default.gif.
//////////////////////////////////////////////////////////////
$defaulticon = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"default.gif\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 11. The URL of the associated chat room.
// This link can be used to point to chatroom, or discussion
// area you may have for your prediction league.
// If this is empty, the menu link is not shown.
//////////////////////////////////////////////////////////////
$chatRoomURL = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 12. The URL of the associated home page
// Add the URL of your home page. This is shown in the menu.
//////////////////////////////////////////////////////////////
$homePage = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"http://www.90-minuten.de.vu\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
$homePageTitle = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Die Fu?ballcommunity\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 13. The name of the log file.
// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" disables the logfile functionality.
//////////////////////////////////////////////////////////////
$logfile = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//////////////////////////////////////////////////////////////
// 14. To allow more than one user per email address set
// this variable to TRUE .
// e.g. $allowMultipleUserPerEmail = TRUE;
//////////////////////////////////////////////////////////////
$allowMultipleUserPerEmail = FALSE;
//////////////////////////////////////////////////////////////
// 15. To enable password encryption set this to TRUE.
// To disable set to FALSE
// e.g. $useEncryption = TRUE;
// Note: If you are using version 0.37 or below, you need
// to encrypt your users passwords after enabling
// encryption. See Upgrade.txt
//////////////////////////////////////////////////////////////
$useEncryption = TRUE;
//////////////////////////////////////////////////////////////
// 16. Using a results table will speed up the display
// of the current standings.
// Setting this to FALSE will require that the scripts
// have to calculate the standings each time the web page
// is displayed. This can be a time consuming process if
// there are a lot of games. This requires the table
// $dbaseResultsTable to be present. This will be removed
// in future scripts and is only provided as part of an
// upgrade process to allow older scripts to be updated
//////////////////////////////////////////////////////////////
$useStandingsTable = TRUE;
//////////////////////////////////////////////////////////////
// 17. If your server is in a different timezone than the
// country in which the games are played then enter the
// difference in hours here.
// This does not allow for differences when daylight
// savings times are encountered.
// e.g. Server is in Wash DC, USA and league in UK. Then
// $timezoneOffset = -5.
//////////////////////////////////////////////////////////////
$timezoneOffset = +1;
//////////////////////////////////////////////////////////////
// 18. Set this flag to true to show the fixtures in reverse
// date order in ShowMyPredictions. Setting this to
// FALSE will display the fixtures in date order, first
// date first.
//////////////////////////////////////////////////////////////
$reverseUserPredictions = TRUE;
//////////////////////////////////////////////////////////////
// 19. Change this flag to define which language file to use.
// Language files must be in subfolder lang.
// Default value = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"lang.english.php\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"
//////////////////////////////////////////////////////////////
$languageFile = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"lang.english.php\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//$languageFile = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"lang.dutch.php\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
//$languageFile = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"lang.finnish.php\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
/*************************************************************
**************************************************************
* The following values should not be modified unless you
* REALLY know what you are doing.
**************************************************************
**************************************************************/
/*************************************************************
// Data Tables
// The following is where you define the names of your
// database tables.
*************************************************************/
/*************************************************************
// The name of the table to be used for the configuration Data.
// This value *MUST* be the same as the value defined when
// creating the tables.
*************************************************************/
$dbaseConfigData = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigData\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
/*************************************************************
// The name of the table to be used for the User Data.
// This value *MUST* be the same as the value defined when
// creating the tables.
*************************************************************/
$dbaseUserData = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"UserData\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
/*************************************************************
// The name of the table to be used for the Prediction Data.
// This value *MUST* be the same as the value defined when
// creating the tables.
*************************************************************/
$dbasePredictionData = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"PredictionData\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
/*************************************************************
// The name of the table to be used for the Match Data. This
// value *MUST* be the same as the value defined when creating
// the tables.
*************************************************************/
$dbaseMatchData = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"MatchData\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
/*************************************************************
// The name of the table to be used for the current standings.
// This value *MUST* be the same as the value defined when
// creating the tables.
*************************************************************/
$dbaseStandings = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Standings\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
/*************************************************************
** The home page for the Prediction League
*************************************************************/
$PLHome = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"http://www.predictionfootball.com/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
/*************************************************************
** The number of users to display on each page of the
** prediction league. This is the default value. Each user
** can select their own.
*************************************************************/
define(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"USERS_PER_PAGE\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"40\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\");
/////////////////////////////////////////////////
// Storage lengths
/////////////////////////////////////////////////
$userlen = 32; // Storage length for the username.
$passlen = 32; // Storage length for the password.
$fnamelen = 128; // Storage length for any filenames (or URLs).
$teamlen = 30; // Storage length for team names.
$emaillen = 60; // Storage length for email addresses.
/*************************************************************
** The maximum allowed number of admin users.
** If this value is increased it is essential that
** the user is created as this could present a security
** hole.
*************************************************************/
$maxAdminUsers = 1;
/*************************************************************
** Error Code
** needs to be global
*************************************************************/
$ErrorCode = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
if (array_key_exists(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ERRORCODE\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",$_COOKIE)) {
$ErrorCode = stripslashes($_COOKIE[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ERRORCODE\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]);
}
require \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"lang/$languageFile\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
require \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"sessiondata.php\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
?>
was ist flasch? was kann/muss ich ?ndern?
danke f?r eure Hilfe -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage
-
Was willst du denn ?berhaupt installieren? Das w?re hilfreich!
-
edit// ..... habe den Fehler gefunden...ihr k?nnt das thema closen.
wen es interessiert es war ein ## Stringfehler! ###
# falsch:
$HeaderRow = "<img src=http://webnews.xardas.lima-city.de/images/banners/banner.jpg">";
# richtig:
$HeaderRow = '<img src="http://webnews.xardas.lima-city.de/images/banners/banner.jpg">'; -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage