Results 1 to 10 of 10
  1. #1
    Join Date
    May 2006
    Posts
    6
    Plugin Contributions
    0

    After installation error

    www.notebooki-24h.com
    Fatal error: Failed opening required 'includes/templates/template_default/common/main_template_vars.php' (include_path='.') in /index.php on line 49
    configure.php
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    define('HTTP_SERVER', 'http://www.notebooki-24h.com');
    define('HTTPS_SERVER', 'https://www.notebooki-24h.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/var/www/html/pro/notebooki-24h.com/root/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen');
    define('DB_SERVER', 'xxxxxxxx'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', 'NAME);
    define('DB_SERVER_PASSWORD', 'passpasspsaaa);
    define('DB_DATABASE', 'blabla');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/var/www/html/pro/notebooki-24h.com/root/cache');

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: After installation error


    Fatal error: Failed opening required 'includes/templates/template_default/common/main_template_vars.php' (include_path='.') in /index.php on line 49
    By simply uploading your includes/templates/template_default/common/main_template_vars.php file to your server-side in ASCII mode should definitely resolve the issue. ;)

  3. #3
    Join Date
    Mar 2006
    Location
    Northern California
    Posts
    71
    Plugin Contributions
    0

    Default Re: After installation error

    Quote Originally Posted by TheOracle
    By simply uploading your includes/templates/template_default/common/main_template_vars.php file to your server-side in ASCII mode should definitely resolve the issue. ;)
    I've noticed that most, if not all, of the files in the distribution are saved as DOS files. DOS/Windows adds CR-LF at the end of a line, while *NIX adds only CR.
    I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction.
    Ayn Rand

  4. #4
    Join Date
    May 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: After installation error

    Quote Originally Posted by TheOracle
    By simply uploading your includes/templates/template_default/common/main_template_vars.php file to your server-side in ASCII mode should definitely resolve the issue. ;)
    I put all in ASCII and nothing. Error is fatal.

  5. #5
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: After installation error

    In that case, it's either a server-side issue or a FTP Client Software issue.

    To make sure, simply download LeapFTP from: www.leapware.com and re-upload all the files with that.

    Please, keep this thread updated.

  6. #6
    Join Date
    May 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: After installation error

    Quote Originally Posted by TheOracle
    In that case, it's either a server-side issue or a FTP Client Software issue.

    To make sure, simply download LeapFTP from: www.leapware.com and re-upload all the files with that.

    Please, keep this thread updated.
    re-upload done 3x (total commander, macromedia and leapware) and fatal error.

  7. #7
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: After installation error

    Who's your web hosting party ?
    Please upload your techsupp.php file so that I could take a look at it.

  8. #8
    Join Date
    May 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: After installation error

    Quote Originally Posted by TheOracle
    Who's your web hosting party ?
    Please upload your techsupp.php file so that I could take a look at it.
    run from site

  9. #9
    Join Date
    May 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: After installation error

    Server Configuration Details
    Server Info
    Webserver: IPL


    Server Free Disk Space Reported = 8.37 GB


    MySQL Version Reported =
    PHP MySQL Support = ON
    PHP PostGres SQL Support = ON
    PHP Info
    PHP version: 4.2.2
    PHP API version= cgi
    PHP Safe Mode= OFF
    PHP Register Globals = ON
    PHP set_time_limit (max execution time) = 86400
    PHP Disabled Functions = phpinfo,popen,exec,system,passthru,set_time_limit,getmyuid,get_current_user,getm ypid,openlog,syslog,set_socket_blocking,putenv,getrusage,error_log,get_current_u ser,php_uname,get_extension_funcs,dl,assert_options,leak,error_log,chown,chgrp,f ilegroup,link,socket_set_blocking,bind,connect,socket
    PHP open_basedir = /var/www/html/:/var/www/mnt/
    PHP Sessions Support = ON
    PHP session.auto_start = OFF
    PHP session.use_trans_sid = ON
    PHP session.save_path = /var/www/html/temp
    PHP Magic_Quotes_Runtime = OFF
    PHP GD Support = ON
    PHP ZLIB Support = ON
    PHP OpenSSL Support = OFF
    PHP CURL Support = ON
    PHP File Uploads = ON
    PHP File Upload Max Size = 32M
    PHP Post Max Size = 32M
    PHP File Upload TMP Dir = /var/www/html/temp
    PHP XML Support = ON
    PHP FTP Support = ON
    PHP PFPRO Support = OFF
    PHP Sendmail_FROM = me AT localhost DOT com
    PHP Sendmail_PATH = /usr/local/bin/mini_sendmail -t -s10.38.3.16
    PHP SMTP Settings = localhost
    Webserver/Page Info
    HTTP_HOST= "www.notebooki-24h.com"
    HTTP_USER_AGENT= "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
    HTTP_REFERRER= ""
    HTTP_ACCEPT= "*/*"
    HTTP_ACCEPT_LANGUAGE= "pl"
    HTTP_ACCEPT_CHARSET= ""
    HTTP_KEEP_ALIVE= ""
    HTTP_CONNECTION= "Keep-Alive"
    PATH= "/usr/local/bin:/usr/bin:/bin"
    SERVER_ADMIN= "[email protected]"
    SERVER_SOFTWARE= "IPL"
    SERVER_NAME= "www.notebooki-24h.com"
    DOCUMENT_ROOT= ""
    REQUEST_URI= "/techsupp.php"
    SCRIPT_NAME= "/techsupp.php"
    PHP_SELF= "/techsupp.php"
    SCRIPT_FILENAME= "/var/www/html/pro/notebooki-24h.com/root/techsupp.php"
    PATH_TRANSLATED= ""
    PHP __FILE__: "/var/www/html/pro/notebooki-24h.com/root/techsupp.php"
    PHP basename: "techsupp.php"
    PHP dirname(self): "/"
    SERVER_ADDR= "217.74.64.33"
    SERVER_PORT= "80"
    REMOTE_HOST= ""
    REMOTE_ADDR= "83.31.239.50"
    REMOTE_PORT= "1091"
    HTTP_X_FORWARDED_FOR= ""
    HTTP_CLIENT_IP= ""
    GATEWAY_INTERFACE= "CGI/1.1"
    SERVER_PROTOCOL= "HTTP/1.1"
    REQUEST_METHOD= "GET"
    QUERY_STRING= ""
    SERVER_SIGNATURE= "
    IPL/1.3.31 Server at www.notebooki-24h.com Port 80
    "
    Zen Cart SUGGESTED path settings
    /includes/configure.php
    HTTP_SERVER: http://www.notebooki-24h.com
    HTTPS_SERVER: see Note...**
    DIR_WS_CATALOG: //
    DIR_FS_CATALOG: /var/www/html/pro/notebooki-24h.com/root/
    DIR_FS_SQL_CACHE: /var/www/html/pro/notebooki-24h.com/root/cache/
    /admin/includes/configure.php
    HTTP_SERVER: http://www.notebooki-24h.com
    HTTPS_SERVER: see Note...**
    HTTP_CATALOG_SERVER: http://www.notebooki-24h.com
    HTTPS_CATALOG_SERVER: see Note...**
    DIR_WS_ADMIN: //admin/
    DIR_WS_CATALOG: //
    DIR_FS_ADMIN: /var/www/html/pro/notebooki-24h.com/root/admin/
    DIR_FS_CATALOG: /var/www/html/pro/notebooki-24h.com/root/
    DIR_FS_SQL_CACHE: /var/www/html/pro/notebooki-24h.com/root/cache/
    ** NOTE: This depends on your hosting arrangements. Talk to your hosting company for how to configure SSL on your server.



    Zen Cart System Info:
    System Folder Checkup
    Folder: cache OK
    Folder: images OK
    Folder: includes/languages/english/html_includes OK
    Folder: pub OK
    Folder: admin/backups OK
    Folder: admin/images/graphs OK
    YOU CAN SAFELY IGNORE THE FOLLOWING "Headers already sent" ERRORS:
    Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/html/pro/notebooki-24h.com/root/techsupp.php:214) in /includes/functions/sessions.php on line 100

    Warning: Cannot add header information - headers already sent by (output started at /var/www/html/pro/notebooki-24h.com/root/techsupp.php:214) in /includes/init_includes/init_templates.php on line 78

    From APPLICATION_TOP.PHP
    Version: Zen Cart

    Version Major: 1

    Version Minor: 3.0.1
    Settings from Zen Cart Database:
    Installed Payment Modules: cc.php;cod.php

    Installed Order Total Modules: ot_subtotal.php;ot_tax.php;ot_shipping.php;ot_gv.php;ot_coupon.php;ot_total.php

    Installed Shipping Modules: flat.php

    Default Currency: USD

    Default Language: en

    Enable Downloads: true

    Enable GZip Compression: 0

    Admin Demo Status: 0


    PHP Modules:
    zip
    xslt
    xml
    sysvshm
    sysvsem
    standard
    session
    pgsql
    pcre
    mysql
    imap
    iconv
    gd
    ftp
    exif
    dbase
    curl
    ctype
    calendar
    bcmath
    zlib
    ionCube Loader
    PHP Info

    Warning: phpinfo() has been disabled for security reasons in /techsupp.php on line 309

  10. #10
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: After installation error


    PHP version: 4.2.2
    This PHP version is more than outdated. Since you're running Zen Cart under a localhost system, I'd suggest definitely to upgrade to a higher version of PHP for security saighs.


    PHP File Upload Max Size = 32M
    PHP Post Max Size = 32M
    Not that it's quite related to this problem but it does seem a little high. 8M is usually set on most web server.


    PHP Register Globals = ON
    PHP session.use_trans_sid = ON
    These two options must be set to off. However, it can easily be done with .htaccess.

    Suggestion: Use the one from the admin's root folder. It has both options on it set to ' off '.


    Warning: phpinfo() has been disabled for security reasons in /techsupp.php on line 309
    This part would definitely save you numerous troubles you might encounter if you would enable it from your server. This is almost a must have.

 

 

Similar Threads

  1. 404 error after installation
    By StormKnitter in forum Installing on a Windows Server
    Replies: 1
    Last Post: 16 Jun 2011, 10:24 AM
  2. 500 Error - FastCGI error message after database installation page.
    By hungoveragain in forum Installing on a Windows Server
    Replies: 8
    Last Post: 24 Sep 2010, 03:37 PM
  3. Fatal Error after installation
    By angelbutton11 in forum Installing on a Windows Server
    Replies: 2
    Last Post: 18 Jun 2006, 02:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR