0
Welcome Guest! Login
0 items Join Now

Experiencing parse error after uploading from Xampp to Host

  • Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • Hi folks,

      I've built my Joomla/Zephyr site offline using Xampp. I've tried uploading it to my iPage, but now am getting an error:
      Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';' in /hermes/bosweb/web075/b754/ipg.trialbyfirecc/htdocs/configuration.php on line 12

      I've tried changing the sef's to 1, but that didn't work. Any advice?

      Here is my confi file from the root of htdocs. Website trialbyfire.cc.

      Thanks in advance.
      <?php
      class JConfig {
      var $offline = '0';
      var $editor = 'tinymce';
      var $list_limit = '20';
      var $helpurl = ' help.joomla.org ';
      var $debug = '0';
      var $debug_lang = '0';
      var $sef = '1';
      var $sef_rewrite = '1';
      var $sef_suffix = '0;
      var $feed_limit = '10';
      var $feed_email = 'author';
      var $secret = 'xxxxx';
      var $gzip = '0';
      var $error_reporting = '-1';
      var $xmlrpc_server = '0';
      var $log_path = '/home/users/web/b754/ipg.trialbyfirecc/htdocs/logs';
      var $tmp_path = '/home/users/web/b754/ipg.trialbyfirecc/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 = 'trialbyfirecc.ipagemysql.com';
      var $user = 'lxxxxx';
      var $db = 'database_for_joomla';
      var $dbprefix = 'jos_';
      var $mailer = 'mail';
      var $mailfrom = 'This email address is being protected from spambots. You need JavaScript enabled to view it.';
      var $fromname = 'Trial by Fire';
      var $sendmail = '/usr/sbin/sendmail';
      var $smtpauth = '0';
      var $smtpsecure = 'none';
      var $smtpport = '25';
      var $smtpuser = '';
      var $smtppass = '';
      var $smtphost = 'localhost';
      var $MetaAuthor = '1';
      var $MetaTitle = '1';
      var $lifetime = '15';
      var $session_handler = 'database';
      var $password = 'xxxxx';
      var $sitename = 'Trial by Fire';
      var $MetaDesc = 'TrialByFire.cc, comitted to providing honest reviews to our fellow fighters.';
      var $MetaKeys = 'MMA, reviews';
      var $offline_message = 'This site is down for maintenance. Please check back again soon.'
      ;
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • Looks like they are running PHP4. Ask them to upgrade your account to PHP 5.2 or newer.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • I appreciate the quick response. Rockettheme has some great support from what I've been reading so far. I'll try that now and let you know.
  • Re: Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • iPage says it's 5.2.2. :(
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • Can you PM me a login to your Joomla admin?
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • A PM has been sent
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • Hi again, i fixed that error. It was caused by this line in configuration.php:

      var $sef_suffix = '0;

      Which should have been:

      var $sef_suffix = '0';

      Notice the missing '

      Anyway, then i ran into another problem:

      Fatal error: Call to a member function isEnabled() on a non-object in /htdocs/components/com_gantry/core/gantry.class.php on line 330

      I'm not yet sure why that happens. Also, i think it would be much better to just reinstall the whole thing. If so, can install the Rocketlauncher?
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • Thanks for your work!

      I'll reinstall when I get home. Should I remove the database and the folder?

      What do you mean, "can install the rocketlauncher?" The demo package?
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • Yes, create a new clean database and delete all the joomla files/directories that you have previously installed.

      ""can install the rocketlauncher?" The demo package?"

      Yes! :)
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Experiencing parse error after uploading from Xampp to Host

    Posted 14 years 6 months ago
    • Haha, k.

      I'm still a little confused, so forgive me if I ask so many questions: I just want to get it right this time!

      Step 1: Pretty much restore everything on my site back to factory settings
      Step 2: Create database
      Step 3: Import MySQL database
      Step 4: FTP my site
      Step 5: Upload the rocketlauncher package also? Does this get it's own database? Last time I had issues with gantry not being installed, and the K2 plugins, and all kinds of mess.

      Thanks again for everything you've done so far, prim. You've gone above and beyond already!

Time to create page: 0.085 seconds