Parse error: parse error, unexpected T_LNUMBER in /home/cpellma/public_html/configura

Discussion in 'Databases' started by ellma, Nov 24, 2007.

  1. #1
    Hello,

    I received the following error when I navigate to my website:
    Parse error: parse error, unexpected T_LNUMBER in /home/cpellma/public_html/configuration.php on line 58

    Can someone please tell me what it wrong. Thank you in advance.

    This is my code:

    <?php
    $mosConfig_MetaAuthor = '0';
    $mosConfig_MetaDesc = 'Ellma is a diverse not-for-profit company developing innovative creative outcomes through inter-arts collaboration. We are based in the Abbotsford Convent Arts Precinct, where we curate and manage Melbourne’s most exciting new creative space – The Basement. We invite you to join us on our creative journey, and we’re eager to join you on yours!';
    $mosConfig_MetaKeys = 'Ellma, Production, Company, Theatre, Theater, Melbourne, Australia, Victoria, Abotsford, Abbotsford, Abottsford, Abbotsford, The Convent, Collingwood, The Abbottsford Convent';
    $mosConfig_MetaTitle = '1';
    $mosConfig_absolute_path = '/home/cpellma/public_html';
    $mosConfig_admin_expired = '1';
    $mosConfig_allowUserRegistration = '0';
    $mosConfig_back_button = '0';
    $mosConfig_cachepath = '/home/cpellma/public_html/cache';
    $mosConfig_cachetime = '900';
    $mosConfig_caching = '0';
    $mosConfig_db = 'cpellma_joom1';
    $mosConfig_dbprefix = 'jos_';
    $mosConfig_debug = '0';
    $mosConfig_dirperms = '';
    $mosConfig_editor = 'tinymce';
    $mosConfig_enable_log_items = '0';
    $mosConfig_enable_log_searches = '0';
    $mosConfig_enable_stats = '0';
    $mosConfig_error_message = 'The website is temporarily unavailable.<br /> Please notify the System Administrator.';
    $mosConfig_error_reporting = '-1';
    $mosConfig_favicon = 'favicon.ico';
    $mosConfig_fileperms = '';
    $mosConfig_fromname = 'Ellma';
    $mosConfig_frontend_login = '0';
    $mosConfig_frontend_userparams = '0';
    $mosConfig_gzip = '0';
    $mosConfig_helpurl = 'http://help.joomla.org';
    $mosConfig_hideAuthor = '1';
    $mosConfig_hideCreateDate = '1';
    $mosConfig_hideEmail = '0';
    $mosConfig_hideModifyDate = '1';
    $mosConfig_hidePdf = '0';
    $mosConfig_hidePrint = '0';
    $mosConfig_hits = '0';
    $mosConfig_host = 'localhost';
    $mosConfig_icons = '1';
    $mosConfig_item_navigation = '0';
    $mosConfig_lang = 'english';
    $mosConfig_lifetime = '900';
    $mosConfig_link_titles = '0';
    $mosConfig_list_limit = '30';
    $mosConfig_live_site = 'http://www.ellma.org.au';
    $mosConfig_locale = 'en_GB';
    $mosConfig_mailer = 'mail';
    $mosConfig_mailfrom = 'webmaster@ellma.org.au';
    $mosConfig_multilingual_support = '0';
    $mosConfig_multipage_toc = '0';
    $mosConfig_offline = '0';
    $mosConfig_offline_message = 'The website is down for maintenance.<br /> Please check back again soon. If you need to contact us, please email grant@ellma.org.au.';
    $mosConfig_offset = '-0.3';
    $mosConfig_offset_user = '10';
    $mosConfig_pagetitles = '1';
    $mosConfig_password = 'adm1n2007';
    $mosConfig_readmore = '1';
    $mosConfig_secret = 'Maiden name;
    $mosConfig_sef = '0';
    $mosConfig_sendmail = '/usr/sbin/sendmail';
    $mosConfig_session_life_admin = '1800';
    $mosConfig_session_type = '0';
    $mosConfig_shownoauth = '0';
    $mosConfig_sitename = 'Ellma';
    $mosConfig_smtpauth = '0';
    $mosConfig_smtphost = 'localhost';
    $mosConfig_smtppass = '';
    $mosConfig_smtpuser = '';
    $mosConfig_uniquemail = '1';
    $mosConfig_user = 'cpellma_joom1';
    $mosConfig_useractivation = '0';
    $mosConfig_vote = '0';
    setlocale (LC_TIME, $mosConfig_locale);
    ?>
     
    ellma, Nov 24, 2007 IP
  2. Kwaku

    Kwaku Well-Known Member

    Messages:
    1,217
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    140
    #2
    You are missing a quote(') here;

    $mosConfig_secret = 'Maiden name; <--- HERE
    $mosConfig_sef = '0';
     
    Kwaku, Nov 25, 2007 IP
  3. TroyM

    TroyM Well-Known Member

    Messages:
    520
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Kwaku,

    Thanks, I just change the server on my Joomla and got the same problem.. I deleted the ' on my password line while I was changing the db password.. Thanks Again for the help

    PS: It will really help if the person who has this type of problem reply to your help and let us know if your suggestion worked... and some appreciation....
     
    TroyM, Feb 19, 2008 IP