Fatal error: Cannot redeclare JConfig::$force_ssl

Joomla version 1.5 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
r2pico
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Jul 13, 2010 10:42 pm

Fatal error: Cannot redeclare JConfig::$force_ssl

Post by r2pico » Wed Jul 14, 2010 7:57 pm

The full error message reads:

Fatal error: Cannot redeclare JConfig::$force_ssl in /Applications/XAMPP/xamppfiles/htdocs/joomla3/configuration.php on line 46

Please help me figure this out. Here is what it looks like, so far

<?php
class JConfig {
/**
* -------------------------------------------------------------------------
* Site configuration section
* -------------------------------------------------------------------------
*/
/* Site Settings */
var $offline = '0';
var $offline_message = 'This site is down for maintenance.<br /> Please check back again soon.';
var $sitename = 'Action NC'; // Name of Joomla site
var $editor = 'tinymce';
var $list_limit = '20';
var $legacy = '0';

/**
* -------------------------------------------------------------------------
* Database configuration section
* -------------------------------------------------------------------------
*/
/* Database Settings */
var $dbtype = 'mysql'; // Normally mysql
var $host = 'localhost'; // This is normally set to localhost
var $user = 'Hector'; // MySQL username
var $password = '13ancchhead4'; // MySQL password
var $db = 'data_base_joomla'; // MySQL database name
var $dbprefix = 'jos_'; // Do not change unless you need to!

/* Server Settings */
var $live_site='';
var $secret = 'SLQwVIQN9pmjrwiq'; //Change this to something more secure
var $gzip = '0';
var $error_reporting = '-1';
var $helpurl = 'http://help.joomla.org';
var $xmlrpc_server = '0';
var $ftp_host = '127.0.1';
var $ftp_port = '21';
var $ftp_user = '';
var $ftp_pass = '';
var $ftp_root = '';
var $ftp_enable = '0';
var $force_ssl='0';
var $tmp_path = '/tmp';
var $log_path = '/var/logs';
var $offset = '0';
var $force_ssl = '0'; //Force areas of the site to be SSL ONLY. 0 = None, 1 = Administrator, 2 = Both Site and Administrator

/* Locale Settings */
var $offset = '0';
var $offset_user = '0';

/* Session settings */
var $lifetime = '15'; // Session time
var $session_handler = 'database';

/* Mail Settings */
var $mailer = 'mail';
var $mailfrom = 'hector@actionnc.org';
var $fromname = 'Action NC';
var $sendmail = '/usr/sbin/sendmail';
var $smtpauth = '0';
var $smtpsecure = 'none';
var $smtpport ='25';
var $smtpuser = '';
var $smtppass = '';
var $smtphost = 'localhost';

/* Cache Settings */
var $caching = '0';
var $cachetime = '15';
var $cache_handler = 'file';

/* Debug Settings */
var $debug = '0';
var $debug_db = '0';
var $debug_lang = '0';

/* Meta Settings */
var $MetaDesc = 'Joomla! - the dynamic portal engine and content management system';
var $MetaKeys = 'joomla, Joomla';
var $MetaTitle = '1';
var $MetaAuthor = '1';

/* SEO Settings */
var $sef = '0';
var $sef_rewrite = '0';
var $sef_suffix = '0';

/* Feed Settings */
var $feed_limit = 10;
var $feed_email = 'author';
var $logs_path = 'Applications/XAMPP/xammmfiles/htdocs/joomla3/logs';
var $tmp_path = '/Applications/XAMPP/xamppfiles/htdocs/joomla3/tmp';
}
?>

What should I do?

User avatar
dpacadmin
Joomla! Champion
Joomla! Champion
Posts: 6029
Joined: Sat Aug 16, 2008 1:46 pm
Location: the Bat Cave
Contact:

Re: Fatal error: Cannot redeclare JConfig::$force_ssl

Post by dpacadmin » Thu Jul 15, 2010 1:10 am

You have these listed twice
var $force_ssl = '0';
var $tmp_path
var $log_path

Looks like it is choking on the second force_ssl it found.


Locked

Return to “Installation 1.5”