shamwaghmare Posted June 25, 2008 Share Posted June 25, 2008 Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /customers/logicalcreations.net/logicalcreations.net/httpd.www/configuration.php on line 3<?php This is my configuration file class JConfig { $mosConfig_host = 'localhost'; $mosConfig_user = 'logicalcreation'; $mosConfig_password = 'xxxx'; $mosConfig_db = 'logicalcreation'; $mosConfig_absolute_path = '/customers/logicalcreations.net/logicalcreations.net/httpd.www/' $mosConfig_live_site = 'http://www.logicalcreations.net'; 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 = '1'; var $sef_rewrite = '0'; var $sef_suffix = '1'; var $feed_limit = '10'; var $secret = 'xxxxx'; var $gzip = '0'; var $error_reporting = '-1'; var $xmlrpc_server = '0'; var $log_path = 'C:\\xampp\\htdocs\\logs'; var $tmp_path = 'C:\\xampp\\htdocs\\tmp'; var $live_site = ''; var $offset = '0'; var $caching = '0'; var $cachetime = '15'; var $cache_handler = 'file'; var $memcache_settings = array(); var $ftp_enable = '0'; var $ftp_host = 'ftp.logicalcreations.net'; var $ftp_port = '21'; var $ftp_user = 'logicalcreations.net'; var $ftp_pass = 'xxxx'; var $ftp_root = '\'; var $dbtype = 'mysql'; var $host = 'localhost'; var $user = 'logicalcreation'; var $db = 'logicalcreation'; var $dbprefix = 'jos_'; var $mailer = 'mail'; var $mailfrom = '[email protected]'; var $fromname = 'Logical Creations'; 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 = 'xxx'; var $sitename = '.'; var $MetaDesc = 'Logical Creations IT and Software Development company from India serving IT products for Global Business.'; var $MetaKeys = 'Software Development Web Development Web Design Software products'; var $offline_message = 'This site is down for maintenance. Please check back again soon.'; } ?> Link to comment https://forums.phpfreaks.com/topic/111834-plz-help-want-to-upload-the-php-site-but-configuration-file-givinig-error/ Share on other sites More sharing options...
nitation Posted June 25, 2008 Share Posted June 25, 2008 what is on line 3. Make sure you put your codes into the code tags. Like this; " <?php ?> " Link to comment https://forums.phpfreaks.com/topic/111834-plz-help-want-to-upload-the-php-site-but-configuration-file-givinig-error/#findComment-574062 Share on other sites More sharing options...
shamwaghmare Posted June 25, 2008 Author Share Posted June 25, 2008 Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /customers/logicalcreations.net/logicalcreations.net/httpd.www/configuration.php on line 3 IT is like this This is my configuration file <?php class JConfig { $mosConfig_host = 'localhost'; $mosConfig_user = 'logicalcreation'; $mosConfig_password = 'xxxx'; $mosConfig_db = 'logicalcreation'; $mosConfig_absolute_path = '/customers/logicalcreations.net/logicalcreations.net/httpd.www/' $mosConfig_live_site = 'http://www.logicalcreations.net'; 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 = '1'; var $sef_rewrite = '0'; var $sef_suffix = '1'; var $feed_limit = '10'; var $secret = 'xxxxx'; var $gzip = '0'; var $error_reporting = '-1'; var $xmlrpc_server = '0'; var $log_path = 'C:\\xampp\\htdocs\\logs'; var $tmp_path = 'C:\\xampp\\htdocs\\tmp'; var $live_site = ''; var $offset = '0'; var $caching = '0'; var $cachetime = '15'; var $cache_handler = 'file'; var $memcache_settings = array(); var $ftp_enable = '0'; var $ftp_host = 'ftp.logicalcreations.net'; var $ftp_port = '21'; var $ftp_user = 'logicalcreations.net'; var $ftp_pass = 'xxxx'; var $ftp_root = '\'; var $dbtype = 'mysql'; var $host = 'localhost'; var $user = 'logicalcreation'; var $db = 'logicalcreation'; var $dbprefix = 'jos_'; var $mailer = 'mail'; var $mailfrom = '[email protected]'; var $fromname = 'Logical Creations'; 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 = 'xxx'; var $sitename = '.'; var $MetaDesc = 'Logical Creations IT and Software Development company from India serving IT products for Global Business.'; var $MetaKeys = 'Software Development Web Development Web Design Software products'; var $offline_message = 'This site is down for maintenance. Please check back again soon.'; } ?> Link to comment https://forums.phpfreaks.com/topic/111834-plz-help-want-to-upload-the-php-site-but-configuration-file-givinig-error/#findComment-574069 Share on other sites More sharing options...
nitation Posted June 25, 2008 Share Posted June 25, 2008 I think you need to read the rules of this forum first before posting. I asked what is on line 3 and you not posting the same thing... Link to comment https://forums.phpfreaks.com/topic/111834-plz-help-want-to-upload-the-php-site-but-configuration-file-givinig-error/#findComment-574091 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.