We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33453
    • 141 Posts
    Hi there.

    I get a "blank page" fail on installation.

    Any assistance welcome.

    Thanks.

    Details are as follows:

    Version: MODx Revolution 2.0.7-pl

    Server log shows an error -
    PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in .../core/model/smarty/sysplugins/smarty_internal_templatelexer.php on line 960, referer: http://wjm.org.uk/modx/setup/


    # Server Software
    Apache/2

    # Server API
    cgi

    # PHP Version
    5.2.17

    # PHP Extensions
    bcmath, bz2, calendar, cgi, ctype, curl, date, dba, dbase, dom, exif, filter, ftp, gd, gettext, gmp, hash, iconv, imap, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, mime_magic, mssql, mysql, mysqli, ncurses, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, pgsql, posix, pspell, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, SQLite, standard, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Optimizer, zip, zlib.

    # PHP Settings
    log_errors_max_len - 1024
    max_execution_time - 5
    max_file_uploads - 20
    max_input_nesting_level - 64
    max_input_time - 60
    memory_limit - 128M
    post_max_size - 10M
    safe_mode - Off
    safe_mode_exec_dir - <i>no value</i>
    safe_mode_gid - Off
    safe_mode_include_dir - <i>no value</i>
    sql.safe_mode - Off
    upload_max_filesize - 10M
    mssql.max_links - Unlimited
    mssql.max_persistent - Unlimited
    mssql.max_procs - Unlimited
    mssql.textlimit - Server default
    mysql.max_links - Unlimited
    mysql.max_persistent - Unlimited
    mysqli.max_links - Unlimited
    odbc.max_links - Unlimited
    odbc.max_persistent - Unlimited
    pcre.backtrack_limit - 100000
    pcre.recursion_limit - 100000
    pgsql.max_links - Unlimited
    pgsql.max_persistent - Unlimited
    session.cache_limiter - nocache
    session.gc_maxlifetime - 7200
    soap.wsdl_cache_limit - 5
    safe_mode_allowed_env_vars - PHP_
    safe_mode_protected_env_vars - LD_LIBRARY_PATH
      • 3749
      • 24,544 Posts
      This is what that line looks like in my install. Take a look at it. The file (or some other file) may have been corrupted or truncated.

        $this->token = Smarty_Internal_Templateparser::TP_LITERALSTART;
        $this->yypushstate(self::LITERAL);
          }
          function yy_r3_2($yy_subpatterns)
          {
      
      -->   $this->token = Smarty_Internal_Templateparser::TP_LITERALEND;  <-----
        $this->yypopstate();
          }
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 33453
        • 141 Posts
        Thanks very much, BobRay.

        The file was indeed corrupted. I replaced it and everything then seemed to install correctly.

        On to the next problem now sad. I’ll see if I can crack it, if not I will be back for further assistance.