Jump to content

Recommended Posts

???Can anyone help with this error?

 

Parse error: syntax error, unexpected T_STRING in /home/endlesse/public_html/mspace/mainfile.php on line 13

 

<?php

if ( !defined('XOOPS_MAINFILE_INCLUDED') ) {
define('XOOPS_MAINFILE_INCLUDED', 1);

// Physical Path
// Physical path to your main directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '/home/endlesse/public_html');
');

// Virtual Path (URL)
// Virtual path to your main directory WITHOUT trailing slash
define('XOOPS_URL', 'http://endlessenergy.ws');

// Database
// Choose the database to be used
$xoopsConfig['database'] = 'mysql';

// Table Prefix
// This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'pop'.
$xoopsConfig['prefix'] = 'pop';

// Database Hostname
// Hostname of the database server. If you are unsure, 'localhost' works in most cases.
$xoopsConfig['dbhost'] = 'localhost';

// Database Username
// Your database user account on the host
$xoopsConfig['dbuname'] = 'endlesse_ncaaref';

// Database Password
// Password for your database user account
$xoopsConfig['dbpass'] = 'referee';

// Database Name
// The name of database on the host. The installer will attempt to create the database if not exist
$xoopsConfig['dbname'] = 'endlesse_mspace';

// Use persistent connection? (Yes=1 No=0)
// Default is 'Yes'. Choose 'Yes' if you are unsure.
$xoopsConfig['db_pconnect'] = 0;

// Default setup language.
$xoopsConfig['default_language'] = 'english';

if ( XOOPS_ROOT_PATH == '' ) {
	if ( @file_exists('_install/index.php') ) {
		header('Location: _install/index.php');
		exit();
	}
}

include_once(XOOPS_ROOT_PATH.'/include/common.php');
}

?>

 

Thanks for the Help. ??? ??? ??? ???

Link to comment
https://forums.phpfreaks.com/topic/87042-help-with-parse-error/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.