Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Nov 2010
    Posts
    18
    Plugin Contributions
    0

    Default What did I do wrong ?

    I installed the zen cart folder on my web server.
    Installed the installer trhough the browser.
    At the end it gave message saying you cannot access your admin panel till

    a) remove zc_install folder from your webserver.

    I did this by using my web ftp client and deleted the zc_install folder

    b) rename the admin folder along with the content in admin/include/configure.php

    I change the name of the admin folder to my new name, and then downloaded the configure.php in admin/include to my local PC, changed the word admin in this file to my new name, saved the file and then uploaded it by over writting the earlier file.

    Now when I enter http://www.dealsatclick.com/newname

    I am getting HTTP 404 error.

    Can someone tell me, what I did wrong ?

    I double checked and it is confirmed that the configure.php file was uploaded to catalog/admin/include

    Still nothing is coming on the screen.

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: What did I do wrong ?

    You didn't state what version of zen cart you installed but I would guess this file was not changed on your Server.

    your_admin_name/includes/configure.php

    Reason being is that it is normally set with permissions of 444 which means you cannot upload a new file to overwrite it. Use your Hosting Control Panel to verify permissions and if need be, change them to 644 for the file then re-upload it again.

  3. #3
    Join Date
    Nov 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: What did I do wrong ?

    I am using version

    zen-cart-v1.3.9

    I have just now done it again, changed the permisions for the

    my_new_admin_name/include/configure.php and ensured it has 644 permission level.

    Then I uploaded the file from my local PC again, I got a pop up message, file already exsists, do you want to over write it ?

    I clicked on 'yes'

    Now again when I try to access

    http://mydomain.com/my_new_admin_name

    Again I get the same http 404 error.

    Any advice ?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: What did I do wrong ?

    You changed 'admin' in the congigure.php file in all three places to your custom name ?

    If so, try using your control panel's file manager to edit the file.

  5. #5
    Join Date
    Nov 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: What did I do wrong ?

    No luck

    Have ensured that the old folder name 'admin' has been replaced with my new folder name.

    define('DIR_WS_ADMIN', '/mysecretadminarea/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_ADMIN', '/mysecretadminarea/'); define('DIR_WS_HTTPS_CATALOG', '/');

    And:


    define('DIR_FS_ADMIN', '/home/mystore.com/www/public/mysecretadminarea/');

    define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');


    Still no luck.

    The only weired thing I found was that the configure.php file had
    ('DIR_FS_ADMIN', '/mysecretadminarea/');

    and I had to add the complete path '/home/mystore.com/www/public/

    But even then still getting http 404 error

  6. #6
    Join Date
    Nov 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: What did I do wrong ?

    Also when I type my domain only in the browser

    www.mydomain.com

    It shows me a page which says

    Index of /
    Catalog/

  7. #7
    Join Date
    Nov 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: What did I do wrong ?

    Latest one

    Now when I type

    www.mydomain/catalog/my_new_admin_name

    I am getting zen cart page which says
    Hello. Thank you for loading Zen Cart™.
    You are seeing this page for one or more reasons:
    1.This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure.
    If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).


    2.Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
    If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
    See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance.
    The first reason is not possible..coz I went through all the installation process and reached to the stage where it said access /login to admin panel at the end. But when I clicked on that it asked me make few changes which I did and since then nothing is happening.

    Now, about the 2nd point, I have checked multiple times and the content of of that file is fine...but then why are things not moving forward from here ? and why am I not able to access the admin area ?

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: What did I do wrong ?

    Sounds to me like the Admin config file with your changes has not been uploaded. Sometimes in these situations it's best just to delete the file you are going to replace, then upload the new one.

  9. #9
    Join Date
    Nov 2010
    Posts
    18
    Plugin Contributions
    0

    Default Re: What did I do wrong ?

    Alright, I re-installed the zencart installer 2 times now, followed all the steps including the one of changing the admin folder name change and make the appropriate changes reflect in the configure.php in catalog/admin/include path.

    Now when I enter http://www.mydomain.com/Catalog/my_n...in_folder_name

    I am getting this error.


    Hello. Thank you for loading Zen Cart™.
    You are seeing this page for one or more reasons:
    1.This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure.
    If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).


    2.Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
    If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
    See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance.

    I have checked the configure.php file and it DOES show the correct database detailes, and all the places where the word admin was there, that has been replaced with the new name which is there for the admin folder now.

    Also, now when I am typing only my domain in the browser, it shows me a blank page with an error saying " Index of /
    *Catalog

    Please please please someone tell me what is wrong or what have I missed out ?
    Last edited by vipinc; 21 Nov 2010 at 10:12 PM.
    Regards
    Vipin
    www.dealsatclick.com

  10. #10
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: What did I do wrong ?

    You'll see that 'index of ...' page when there isn't an index file in the root directory. Installing Zencart places a file named 'index.php' in that directory, so you're doing something wrong.

    It isn't clear if you're installing Zencart manually or through some sort of auto-installer your host provides.

    The message you're seeing when you try to access your new admin folder only offers two possibilities:

    1) You haven't actually installed Zencart to that address.

    2) the path information in admin/includes/configure.php is wrong.

    I'm thinking it's #1, and you may have actually installed Zencart to a subdirectory, but just in case, you could post the contents of that configure file here after removing the database login details and we can take a look.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. what did i do wrong?
    By christayah in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Oct 2015, 07:19 AM
  2. v139h What Did I Do Wrong?
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 21 Oct 2012, 06:01 AM
  3. Uh oh what the heck did I do wrong?!?!?
    By NickJRE in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Jun 2008, 08:52 PM
  4. What did I do wrong?
    By harmeet in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 19 Apr 2007, 02:06 PM
  5. What did I do wrong?
    By landsknecht in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Mar 2007, 08:34 PM

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