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
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 ...
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
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
Re: upgrade: zc_install/index.php = blank
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?
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
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
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
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.
Re: upgrade: zc_install/index.php = blank
the things I was thinking might be wrong in your configure.php appear to be fine