Hi all
My problem is that i was changing a few things on my internal website that I'm building , I then cleared the cache and the purge cache file i then received this error on the front page of the website.
Fatal error: Cannot redeclare class JConfig in C:\sitename_xampp\htdocs\configuration.php on line 2
So I went into the configuration.php and found the jconfig but do not know how to edit it or what value I have to replace to get the site to work again.
Configuration.php here:
<?php
class JConfig { <----- I beleve this to be the problem??
var $offline = '0';
var $editor = 'tinymce';
var $list_limit = '20';
var $helpurl = 'http://help.joomla.org';
var $debug = '0';
var $debug_lang = '0';
var $sef = '0';
var $sef_rewrite = '0';
var $sef_suffix = '0';
var $feed_limit = '10';
var $secret = 'not for your eyes 8 )';
var $gzip = '0';
var $error_reporting = '-1';
var $xmlrpc_server = '0';
var $log_path = 'C:\\sitename_xampp\\htdocs\\logs';
var $tmp_path = 'C:\\sitename_xampp\\htdocs\\tmp';
var $live_site = '';
var $force_ssl = '0';
var $offset = '0';
var $caching = '0';
var $cachetime = '15';
var $cache_handler = 'file';
var $memcache_settings = array();
var $ftp_enable = '0';
var $ftp_host = '127.0.0.1';
var $ftp_port = '21';
var $ftp_user = '';
var $ftp_pass = '';
var $ftp_root = '';
var $dbtype = 'mysql';
var $host = 'localhost';
var $user = 'auser';
var $db = 'xxxxxxxxxxxx';
var $dbprefix = 'jos_';
var $mailer = 'mail';
var $mailfrom = 'admin@sitename.com';
var $fromname = 'sitename';
var $sendmail = '/usr/sbin/sendmail';
var $smtpauth = '0';
var $smtpuser = '';
var $smtppass = '';
var $smtphost = 'localhost';
var $MetaAuthor = '1';
var $MetaTitle = '1';
var $lifetime = '15';
var $session_handler = 'database';
var $password = 'XXXXXXXXXXX';
var $sitename = 'Sitename';
var $MetaDesc = 'Joomla! - the dynamic portal engine and content management system';
var $MetaKeys = 'joomla, Joomla';
var $offline_message = 'This site is down for maintenance. Please check back again soon.';
}
?>
The funny thing is that the admin side works no problem and i can still change settings, its just seems to be the public side of the server that's having this problems. I also get a error pop up on my desktop but I do not know were to locate the error log file. Here is a typed out version of the pop up I am getting.
Note: this error started happen around the same time the site started playing up.
----------------------------------------------------------------------------
apache.exe has generated errors and will be closed by windows
your will need to restart the program
An error log is being created
(button) ok
----------------------------------------------------------------------------
Thanks all fo taking the time to read my post If anyone could help me fix this problem i'm having I would be ever so great full