Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    May 2005
    Location
    Leicester, UK
    Posts
    91
    Plugin Contributions
    0

    Default upgrade: zc_install/index.php = blank

    Hi,
    I'm upgrading a shop from 1_03 to 1_03_02.

    I've uploaded all the files, including the zc_install. When I go to www..../shop/zc_install/index.php all I get back is blank file. I've tried modifying the .htacess & even removing it - no go!

    If I go to ...shop/admin/index.php I get the following error msg - "Illegal Access".

    Any suggestions?

    Cheers,

    Eddie

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,845
    Plugin Contributions
    6

    Default Re: upgrade: zc_install/index.php = blank

    Sounds like a bad upload of files via FTP ...

    Try re-loading all of the files again ...

    NOTE: If not upgrading from v1.3.0.1 be sure to use the FULL Zen Cart v1.3.0.2 download ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    May 2005
    Location
    Leicester, UK
    Posts
    91
    Plugin Contributions
    0

    Default Re: upgrade: zc_install/index.php = blank

    Hi Ajeh,
    Thanks very much for the prompt reply. Unfortunately, re-uploading had no effect.

    I think I might try a full zen upgrade - just in case it wasn't a 1_03 version as I thought.

    I'll upate my progress.

    Thanks again,
    Eddie

  4. #4
    Join Date
    May 2005
    Location
    Leicester, UK
    Posts
    91
    Plugin Contributions
    0

    Default Re: upgrade: zc_install/index.php = blank

    No success, so I installed 1.3_02 onto a new site.
    Installation went ok. I deleted zc_install.
    However, when I went to admin, again I got a blank page.

    Error logs have following:

    PHP Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/lib/php') in /home/t/r/mydomain/public_html/shop/admin/index.php on line 23

    PHP Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home/t/r/mydomain/public_html/shop/admin/index.php on line 23

    Any suggestions?

    Eddie

  5. #5
    Join Date
    Jan 2004
    Posts
    60,580
    Blog Entries
    4
    Plugin Contributions
    145

    Default Re: upgrade: zc_install/index.php = blank

    Permission denied
    What have you done regarding permissions to files/folders?
    Are your files set to 644 and folders to 755, or did you do some special settings manually?

    What are the contents of your /admin/includes/configure.php file, without password?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



  6. #6
    Join Date
    May 2005
    Location
    Leicester, UK
    Posts
    91
    Plugin Contributions
    0

    Default Re: upgrade: zc_install/index.php = blank

    Hi DrByte,
    Thanks for you input. I think the problem has been the ftp upload. I've dragged top level folders over (such as includes) and have since discovered that some lower level folders (classes, for example) have not been copied over.

    So, I'm now going thro' each subfolder to ensure that every file, etc has been copied over correctly. I've never run into this problem before - not sure if its my ISP connection or the software (SmartFTP).

    I'll update on progress - if nothing doing, I'll post as you suggest.

    Thanks,
    Eddie

  7. #7
    Join Date
    May 2005
    Location
    Leicester, UK
    Posts
    91
    Plugin Contributions
    0

    Default Re: upgrade: zc_install/index.php = blank

    Hi All,

    Permissions are 777 on all folders at the moment.

    Config = :
    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://www.mydomain.co.uk');
    define('HTTPS_SERVER', 'https://www.mydomain.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://www.mydomain.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.co.uk');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', '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_ADMIN', '/shop/admin/');
    define('DIR_WS_CATALOG', '/shop/');
    define('DIR_WS_HTTPS_ADMIN', 'https://mydomain.co.uk/shop/admin/');
    define('DIR_WS_HTTPS_CATALOG', 'https://mydomain.co.uk/shop/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * 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_ADMIN', '/domains/m/y/mydomain.co.uk/public_html/shop/admin/');
    define('DIR_FS_CATALOG', '/domains/m/y/mydomain.co.uk/public_html/shop/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'shop_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', '');
    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', '/domains/m/y/mydomain.co.uk/public_html/shop/cache');

    ?>

    Can you see anything obviously wrong?

    I can get to the shop itself, but this has no styles, so it's not picking up the correct paths.

    Any help most welcome.

    Thanks
    Eddie

  8. #8
    Join Date
    May 2005
    Location
    Leicester, UK
    Posts
    91
    Plugin Contributions
    0

    Default Re: upgrade: zc_install/index.php = blank

    The most recent error is this:

    PHP Fatal error: Call to undefined function: zen_get_languages() in /home/m/y/mydomain/public_html/shop/admin/index.php on line 25

    Again, this suggests that paths are incorrect or file has not been uploaded. Any idea which php file this function resides in?

    Ta,
    Eddie

  9. #9
    Join Date
    Jan 2004
    Posts
    60,580
    Blog Entries
    4
    Plugin Contributions
    145

    Default Re: upgrade: zc_install/index.php = blank

    Quote Originally Posted by ECM
    not sure if its my ISP connection or the software (SmartFTP).
    Yuck!

    SmartFTP is notorious for dropping connections or not completing uploads.

    Grab FileZilla .... http://filezilla.sf.net ... it's free and reliable.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



  10. #10
    Join Date
    Jan 2004
    Posts
    60,580
    Blog Entries
    4
    Plugin Contributions
    145

    Default Re: upgrade: zc_install/index.php = blank

    the things I was thinking might be wrong in your configure.php appear to be fine
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.



 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 14
    Last Post: 11 Jul 2006, 02:16 AM
  2. blank page after upgrade
    By PortMan in forum Upgrading from 1.2 to 1.3.x
    Replies: 1
    Last Post: 29 Jun 2006, 08:17 PM

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
  •