Forums / General Questions / Index going to ZC-Install

Index going to ZC-Install

Locked

Views: 1,210

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
5 Nov 2007, 7:49 PM
#1
jansend avatar

jansend

New Zenner

Join Date:
Nov 2006
Posts:
69
Plugin Contributions:
0

Index going to ZC-Install

Hello,

I installed a new plug in (google adsence) and uploaded it to my website but now when I go to the website it automaticly goes to 404 file not found

address is http://quirkesfurniture.com/shop/zc_install/index.php

instead of http://quirkesfurniture/shop

I can log in through the admin but can't figure out why its going to the ZC-Install I removed that after installation.

Help very much appreciated

:smile::smile::oops:

"Buy the book, its great to have a Hard copy in front of you to read step by step, money well spent."
http://www.zen-cart.com/book

5 Nov 2007, 8:14 PM
#2
jansend avatar

jansend

New Zenner

Join Date:
Nov 2006
Posts:
69
Plugin Contributions:
0

Re: Index going to ZC-Install

configure.php is

<?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 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // 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://quirkesfurniture.com/shop'); define('HTTPS_SERVER', 'https://quirkesfurniture.com/shop'); // 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', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); 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/'); // * 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', '/home/com/quirkesfurniture/html/shop/'); 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', ''); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'xxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'johnquirke-1'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // 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', '/home/com/quirkesfurniture/html/shop/cache'); ?>

"Buy the book, its great to have a Hard copy in front of you to read step by step, money well spent."
http://www.zen-cart.com/book

6 Nov 2007, 8:00 AM
#3
jansend avatar

jansend

New Zenner

Join Date:
Nov 2006
Posts:
69
Plugin Contributions:
0

Re: Index going to ZC-Install

Anybody with any ideas??

I've checked permissions, and configure.php and the htaccess file and it still keeps forwarding

"Buy the book, its great to have a Hard copy in front of you to read step by step, money well spent."
http://www.zen-cart.com/book

6 Nov 2007, 8:17 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Index going to ZC-Install

The program will assume that installation is required if any of the following are true:

  • /includes/configure.php file is not found
  • the file permissions have it restricted too tightly so that access is denied to its content
  • file contents appear to be default settings
  • files in /includes/classes/db are altered or missing
  • database settings in the file aren't valid ... ie: using the credentials in the file causes a login failure when attempting to login to the database
  • etc

While installing a contribution should have no effect on these factors, if you installed files to the wrong place and decided to delete a bunch of stuff incorrectly, you could certainly have a problem.

By the way, you did do a backup before installing the contribution, didn't you?
And ... you did install it on a test site before installing it on a live site, didn't you?
So ... you do have a working backup you can go back to very easily, right?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

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 Nov 2007, 3:44 PM
#5
jansend avatar

jansend

New Zenner

Join Date:
Nov 2006
Posts:
69
Plugin Contributions:
0

Re: Index going to ZC-Install

  • /includes/configure.php file is not foundIts there I can
    see it.
  • the file permissions have it restricted too tightly so that access is denied to its contentDidn't go near them:lookaroun
  • file contents appear to be default settingsNope:unsure:
  • files in /includes/classes/db are altered or missingAdmin setting and database totally intact and I can still upload products to them.
  • database settings in the file aren't valid ... ie: using the credentials in the file causes a login failure when attempting to login to the database Data base perfect and setting right.
  • etcNow that's the part it must have been.

By the way, you did do a backup before installing the contribution, didn't you? Yes I did about 6 months ago:lookaroun

And ... you did install it on a test site before installing it on a live site, didn't you? No I don't have a test site because I only get 3 Mysql databases with my hoster and there being used and having problems with VISTA about installing more.

So ... you do have a working backup you can go back to very easily, right?Wasn't that easy it was on my old computer but it seems to work and considering it was only the /includes/ directory that was corrupt it should'nt take that long to get everything back to normal

But thanks for your help:cool:

"Buy the book, its great to have a Hard copy in front of you to read step by step, money well spent."
http://www.zen-cart.com/book

6 Nov 2007, 3:47 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,678
Plugin Contributions:
0

Re: Index going to ZC-Install

Please post your includes/configure.php and /admin/includes/configure.php without your password.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.