We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46241
    • 16 Posts
    Description of Problem:
    Warning: include_once() [function.include-once]: Filename cannot be empty in /homepages/2....../modx/setup/includes/parser/modinstallsmarty.class.php on line 26

    Warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/lib/php5') in /homepages/2.............../modx/setup/includes/parser/modinstallsmarty.class.php on line 26

    Fatal error: Class 'Smarty' not found in /homepages/2........../modx/setup/includes/parser/modinstallsmarty.class.php on line 35
    Steps to Reproduce:
    Copied zip file to server.
    unzip file via ssh.
    rename modx-2.2.10-pl to \classify
    Created subdomain pointing to \classify.
    created /modx/core/config/config.inc.php chmod 644.
    created .htaccess file:
    AddHandler x-mapp-php5 .php

    created php.ini file:
    upload_max_filesize = 20M;
    browscap = /usr/local/lib/browscap.ini;
    error_reporting = (E_ALL & ~E_NOTICE & ~E_WARNING);
    url_rewriter.tags = "a=href,area=href,frame=src,form=fakeentry,fieldset=";
    register_globals = off;
    allow_url_fopen = off;
    max_execution_time = 120;
    safe_mode = off;
    file_uploads = on;
    magic_quotes_gpc = off;
    memory_limit = 128M;
    short_open_tag = on;
    post_max_size = 26214400;
    date.timezone = "America/Chicago";
    open TLD/setup
    Expected Outcome:
    Installation
    Additional information:
    I have the first setup working OK.

    • MODX Version: 2.2.10
    • PHP Version: 5.2.17
    • Database MySQL Version:
    • Additional Server Info:
    • Installed MODX Add-ons: none
    • Error Log Contents: (attach as file if it’s too large)

    Solution Found:-
    https://forums.modx.com/thread/28562/setup-fails-in-rc4-advanced

    Unzip on the server, by default, converts file names to lowercase.

    FYI. It is not always easy being open source!
    I host on Linux at 1and1.
    1and1's web space explorer works with IE, and claims to run on firefox (but it doesn't), and no Chrome?
    My biggest problem is having to talk to Windows, with which I want no truck! [ed. note: davidryman last edited this post 10 years, 7 months ago.]
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      Hello,

      I would strongly recommend using PHP 5.3+ as there are performance, MAJOR security benefits, and scripts such as MODX tend to work a little better. That being said the 1&1 environment has been known to have issues running MODX in the past due to resource usage restrictions. It's possible to get things working, but will be an uphill battle.

      If you aren't set on your current hosting provider I would suggest exploring some more MODX friendly options.
        Patrick | Server Wrangler
        About Me: Website | TweetsMODX Hosting