Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32
  1. #1
    Join Date
    Sep 2016
    Location
    Dallas, TX USA
    Posts
    71
    Plugin Contributions
    0

    red flag Renamed folder and site links are broken

    www.cindygordon.com/rosswells is the site. I'm using version 1.5.1
    As you can see, it doesn't look quite right anymore.

    The site used to live at www.cindygordon.com/eureka, but the company has changed names, so I needed to change the path.

    I followed the instructions listed here: https://www.zen-cart.com/content.php...that-directory

    The back end is working perfectly. But the home page and all links from it are going to the wrong place.

    Can anyone please help me figure this out, what might I have missed?

    Also, one strange thing I noticed when I was making the changes to rename the folder... the instructions asked me to make changes to the file at admin/includes/configure.php. I don't have an admin folder, I have one that's named adminurrhtcqq, and inside of that, yes, there is a configure.php, and that is the one I made changes to. Not sure why it has that funny name, or if that matters?

    Thank you in advance!!
    Last edited by cindygordon; 25 Jul 2017 at 06:56 AM.

  2. #2
    Join Date
    Sep 2016
    Location
    Dallas, TX USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Renamed folder and site links are broken

    Click image for larger version. 

Name:	Screen Shot 2017-07-25 at 1.03.28 AM.png 
Views:	43 
Size:	12.0 KB 
ID:	17171 It looks like there's an issue with the path for all of the links on the page. (that's a screenshot of the footer showing the link when I hover over one category.)

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Renamed folder and site links are broken

    Quote Originally Posted by cindygordon View Post
    www.cindygordon.com/rosswells is the site. I'm using version 1.5.1
    As you can see, it doesn't look quite right anymore.

    The site used to live at www.cindygordon.com/eureka, but the company has changed names, so I needed to change the path.

    I followed the instructions listed here: https://www.zen-cart.com/content.php...that-directory

    The back end is working perfectly. But the home page and all links from it are going to the wrong place.

    Can anyone please help me figure this out, what might I have missed?

    Also, one strange thing I noticed when I was making the changes to rename the folder... the instructions asked me to make changes to the file at admin/includes/configure.php. I don't have an admin folder, I have one that's named adminurrhtcqq, and inside of that, yes, there is a configure.php, and that is the one I made changes to. Not sure why it has that funny name, or if that matters?

    Thank you in advance!!
    It looks like you maybe missing a "/" for the new foldername in your configure.php file(s).

    EG
    define('DIR_WS_CATALOG', '/rosswells')
    vs
    define('DIR_WS_CATALOG', '/rosswells/')

    Cheers
    RodG

  4. #4
    Join Date
    Sep 2016
    Location
    Dallas, TX USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Renamed folder and site links are broken

    Quote Originally Posted by RodG View Post
    It looks like you maybe missing a "/" for the new foldername in your configure.php file(s).

    EG
    define('DIR_WS_CATALOG', '/rosswells')
    vs
    define('DIR_WS_CATALOG', '/rosswells/')

    Cheers
    RodG
    Rod G, THANK YOU for your reply!!

    Unfortunately, I can't find anywhere that I have done that.
    Click image for larger version. 

Name:	Screen Shot 2017-07-25 at 4.20.44 AM.jpg 
Views:	37 
Size:	6.3 KB 
ID:	17172

    here's the config file from the folder named "adminurrhtcqq/includes":
    Attachment 17173

    Here's the config file from the regular includes folder:
    Attachment 17174Attachment 17174

    Let me know if it was really dumb for me to upload these here please and I will delete...

    Also, it has to be a big clue that the backend works perfectly, but the public facing site is so messed up?
    Last edited by cindygordon; 25 Jul 2017 at 10:32 AM.

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

    Default Re: Renamed folder and site links are broken

    In your /includes/configure.php does not have single quote marks on these two lines:

    define('DIR_WS_CATALOG', /rosswells/);
    define('DIR_WS_HTTPS_CATALOG', /rosswells/);

    change to

    define('DIR_WS_CATALOG', '/rosswells/');
    define('DIR_WS_HTTPS_CATALOG', '/rosswells/');


    And yes, delete those Zip files you uploaded--plus change your Admin dir. name and the username and password for your database. Publicly posting that kind of confidential information is never good. Better to send in Private Msg. (PM) if need be.

  6. #6
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Renamed folder and site links are broken

    Quote Originally Posted by cindygordon View Post
    Unfortunately, I can't find anywhere that I have done that.
    Unfortunately, neither can I.

    Quote Originally Posted by cindygordon View Post
    Let me know if it was really dumb for me to upload these here please and I will delete...
    Sorry, to have to tell you this, but yes you really should delete, but to be honest, it is probably too late for that to do you any good. I *must* now change your database login details in order to protect your site (just changing your password should suffice)

    This is a two step process.

    1. Using your cPanel locate the MySQL database tool, then look for the option 'Current users' - next to the store DB name you will find a 'Change password' option. Change it to something pretty obscure - Take note of what you change it to though (you will only need it once).

    Now, load your two zencart confure.php files (one for admin, the other for the catalog). Enter the new password into the DB_SERVER_PASSWORD field and save the files.

    Do this *now*. Please don't wait.

    Quote Originally Posted by cindygordon View Post

    Also, it has to be a big clue that the backend works perfectly, but the public facing site is so messed up?
    Agreed. Alas, I'm not seeing *why* there is a problem... things look ok to me, but I have to admit, I'm pretty tired at the moment)

    Also, you should probably change the name of your admin folder too (most folk would insist you do this, but I've never been a fan of 'security by obscurity' so I'm not going to insist on this.

    You may be asked to re-post your config files (so others can take a look and hopefully see what you and I have missed) but *please* delete/obscure the DB credentials before re-posting. We do not need to know these, and they won't be relevant to your problem.

    I'm about to close shop for the night, but I suspect someone else will have a solution for you by (my) morning.

    Cheerrs
    RodG

  7. #7
    Join Date
    Sep 2016
    Location
    Dallas, TX USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Renamed folder and site links are broken

    Quote Originally Posted by Website Rob View Post
    In your /includes/configure.php does not have single quote marks on these two lines:

    define('DIR_WS_CATALOG', /rosswells/);
    define('DIR_WS_HTTPS_CATALOG', /rosswells/);

    change to

    define('DIR_WS_CATALOG', '/rosswells/');
    define('DIR_WS_HTTPS_CATALOG', '/rosswells/');


    And yes, delete those Zip files you uploaded--plus change your Admin dir. name and the username and password for your database. Publicly posting that kind of confidential information is never good. Better to send in Private Msg. (PM) if need be.
    I seriously LOVE you, thank you so much, that worked!!!

  8. #8
    Join Date
    Sep 2016
    Location
    Dallas, TX USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Renamed folder and site links are broken

    Quote Originally Posted by RodG View Post
    Unfortunately, neither can I.



    Sorry, to have to tell you this, but yes you really should delete, but to be honest, it is probably too late for that to do you any good. I *must* now change your database login details in order to protect your site (just changing your password should suffice)

    This is a two step process.

    1. Using your cPanel locate the MySQL database tool, then look for the option 'Current users' - next to the store DB name you will find a 'Change password' option. Change it to something pretty obscure - Take note of what you change it to though (you will only need it once).

    Now, load your two zencart confure.php files (one for admin, the other for the catalog). Enter the new password into the DB_SERVER_PASSWORD field and save the files.

    Do this *now*. Please don't wait.



    Agreed. Alas, I'm not seeing *why* there is a problem... things look ok to me, but I have to admit, I'm pretty tired at the moment)

    Also, you should probably change the name of your admin folder too (most folk would insist you do this, but I've never been a fan of 'security by obscurity' so I'm not going to insist on this.

    You may be asked to re-post your config files (so others can take a look and hopefully see what you and I have missed) but *please* delete/obscure the DB credentials before re-posting. We do not need to know these, and they won't be relevant to your problem.

    I'm about to close shop for the night, but I suspect someone else will have a solution for you by (my) morning.

    Cheerrs
    RodG
    RodG, thank you for those detailed instructions, I need them. I will attempt this now, thank you so much!! (Sorry, a bit naive, I'm afraid. Didn't know exactly what was in there.)

  9. #9
    Join Date
    Sep 2016
    Location
    Dallas, TX USA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Renamed folder and site links are broken

    ok, RodG, I changed that password info. Not sure how to change the name of the admin folder, are you up for a little more detailed instruction? I mean, I know how to change a folder name, but do you mean the funny named one "adminurrhtcqq" or another admin folder? If that one, can I simply do a search in the 2 config files to find where it's referenced, and then I'm good? Thank you

  10. #10
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Renamed folder and site links are broken

    Quote Originally Posted by cindygordon View Post
    ok, RodG, I changed that password info. Not sure how to change the name of the admin folder, are you up for a little more detailed instruction? I mean, I know how to change a folder name, but do you mean the funny named one "adminurrhtcqq" or another admin folder? If that one, can I simply do a search in the 2 config files to find where it's referenced, and then I'm good? Thank you
    While I didn't follow into the images or files of the actually posted configure.php files, you ought to be able to rename the adminurrhtcqq folder to whatever folder name you would like and do nothing else. Beginning in ZC 1.5.1 the admin folder was just "known" by the software and until it was posted that instead of admin that it was something else, no one should have been able to tell.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. v139h confused about renamed admin folder and new admin files for upgrade
    By Pazaz in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 4 Jan 2015, 07:44 PM
  2. All the links are broken
    By Chubacheroo in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Aug 2008, 10:54 PM
  3. Renamed my admin folder and cant login now
    By workaholic in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Jul 2008, 04:31 PM
  4. Renamed admin folder and lost SSL
    By wvasconcelos in forum Basic Configuration
    Replies: 2
    Last Post: 10 Jul 2008, 03:57 PM
  5. PLEASE help--Renamed folder now there's no site
    By Robbyn7 in forum Installing on a Windows Server
    Replies: 5
    Last Post: 7 Apr 2007, 01:06 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