Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2007
    Location
    South Florida
    Posts
    6
    Plugin Contributions
    0

    cart error I went from www.AAA.com/dir and got a new domain name for the site.. help

    Long story short I have 1 webhost account and multiple sites running off it.. I own domains and have them point to dirs from this one hosted site. Usually I don't have an issues but for some reason zen doesn't like this.

    I started with a clean install of zen to www.AAA.com/dir and everything was fine. I then purchased a new domain name for this website www.BBB.com. I then set the URL to point to www.AAA.com/dir which is normally enough.

    The problem with zen is when I click on something it takes me back to www.AAA.com/dir instead of continuing on www.BBB.com.

    I've changed both configure files onlys to lead to a line 40 something error.. Now I'm back on the old configure files and am at a loss. Any help would be greatly appreciated as I'd like to continue working on this cart. Thanks.

  2. #2
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: I went from www.AAA.com/dir and got a new domain name for the site.. help

    Check your CHMOD on those two config files(yoursite/includes/configure.php and yoursite/admin/includes/configure.php). I know my FTP can't override the settings if they are set too tight and won't upload any changes. So, I still had errors and I was pulling my hair out.. wondering why I would see the same on the files without change. I figured out that I had to reset the CHMOD in the host's control panel in order to apply any changes.

    If I were you, I'd download both config files to my desktop and open them up in an editor. Then, I'd use the "Find" function to scan the files for settings from the old site. In your case, I'd focus on the old folder name to see if there were still traces to erase. It's very important that you don't fudge the fine details, so take your time.

  3. #3
    Join Date
    Jan 2007
    Location
    South Florida
    Posts
    6
    Plugin Contributions
    0

    Default Re: I went from www.AAA.com/dir and got a new domain name for the site.. help

    Quote Originally Posted by Sketchy View Post
    Check your CHMOD on those two config files(yoursite/includes/configure.php and yoursite/admin/includes/configure.php). I know my FTP can't override the settings if they are set too tight and won't upload any changes. So, I still had errors and I was pulling my hair out.. wondering why I would see the same on the files without change. I figured out that I had to reset the CHMOD in the host's control panel in order to apply any changes.

    If I were you, I'd download both config files to my desktop and open them up in an editor. Then, I'd use the "Find" function to scan the files for settings from the old site. In your case, I'd focus on the old folder name to see if there were still traces to erase. It's very important that you don't fudge the fine details, so take your time.
    Thanks for the quick reply, since my post I went over everything again and I'm sure I didn't miss anything. I think my problem is that I don't know what is ok to put where.. I learned about those CHMOD issues when I was trying to secure things.. I was pulling my hair out too !

    Because I'm using the same hosted account for both www.AAA.com/dir and www.BBB.com it complicates things.. It's not just like a simple switch over to a new URL, I still need to point to www.AAA.com/dir behind the scenes since everything is still installed there. I was hoping something like this would be in the FAQ or a tutorial somewhere but as you can see from my title I can't really put a name on the situation.

  4. #4
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: I went from www.AAA.com/dir and got a new domain name for the site.. help

    You're welcome.

    Hmm.. I had to do something similar, but in a different context. Perhaps, it's relative all the same. I'll tell my story, then see if it relates and provides insight.

    I had to find a free host to install a test store, one that didn't implement forced banner ads which broke the front layout. I found one soon after and they also didn't require a domain name as they supplied a sub domain name. Anyways, they gave me a sub domain with a silly name. I didn't care, so I installed the store there. Anyways, I wanted to experiment with a personal web page and put built a mini site in there too. Then, I wanted a semi-personal sub domain name. I peered into the control panel to see that I was allowed to have more sub domains in which I could put my nickname on half of it and I only limited to a single database. Fine, I made a new sub domain name. I wondered how I was going to move the store over as well as the cart was in that old silly sub domain named root folder. It wasn't very hard, seeing how everything was virtually in one spot. I noticed that I could point my new sub domain name at any folder in my space. No big deal. I changed the old sub domain named folder to my new sub domain name and transferred all the info back into my carts configure files. Worked like a gem. I didn't have to touch the database at all.

    That may sound like babble. But, I wonder if you can do similar. You say that all your stuff is in one space and you have two domain names with the same host. So, why can't you point the DNS to the folder where all your files are located and even rename the old folder to something else if you wish?

    Maybe, I'm missing something. I don't know much about hosts. There are probably some good folks like Kobra or Merlinpa1969 and perhaps others that know about hosting, who can give you straight insight.

  5. #5
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: I went from www.AAA.com/dir and got a new domain name for the site.. help

    Sketchy, you are correct, all that is necessary is to edit the DNS at the domain registrar or whatever, and point www.BBB.com at www.AAA.com/dir, or if AAA.com has a dedicated IP, IPaddress/dir. Can also use mod_rewrite or any number of other options, but the DNS solution is usually the easiest, particularly if the DNS panel allows aliases etc.

  6. #6
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: I went from www.AAA.com/dir and got a new domain name for the site.. help

    Thanks for your input, I thought it was similar to my situation. Although, I forgot about the DNS change at the registrar.. seeing how I just have sub domains only. I'm a free host leech.

    This should be great news for the person.

  7. #7
    Join Date
    Jan 2007
    Location
    South Florida
    Posts
    6
    Plugin Contributions
    0

    Default Re: I went from www.AAA.com/dir and got a new domain name for the site.. help

    Thanks guys but maybe I didn't make it clear in my OP.. That's how I usually do it.. I think that I read somewhere that I need to change things in includes/configure.php and admin/includes/configure.php.. Which I tried and that's when I got the error, then I looked over everything and it was as it should be..

    I need a walk through of what to change in the configure files and and why so I can put together my own solution..

    One theory I have is using absolute urls instead of letting it pick up from root.. example

    www.AAA.com/dir1/images/ instead of dir1/images/

    Will it allow me to do that? I've been messing with other things for now since the page still functions but I've got to figure something out.. If you'd like to see the page it's the one in my signature. Thanks again.

  8. #8
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: I went from www.AAA.com/dir and got a new domain name for the site.. help

    You're welcome.

    I find this old post to be very handy as a configuration guide.
    http://www.zen-cart.com/forum/showthread.php?t=45440

    Oh yeah, I kind of figured out about finding your two sites.. I was hungry and there was a bread crumb within the bottom of your posts.

    I'm sure if those configure files are set right.. it should be smooth sailing. You could always post what you have, minus the secret stuff replaced with "x"s. Then, a lot more people can lend some inquisitive eyeballs your way. If that's too public, you can PM me and we'll swap e-mails, I may be able to find something. Of course, still blot out your private stuff in the files.

  9. #9
    Join Date
    Jan 2007
    Location
    South Florida
    Posts
    6
    Plugin Contributions
    0

    Default Re: I went from www.AAA.com/dir and got a new domain name for the site.. help

    Well I got it..

    While I thought I had done everything right in the configure file before it's clear to me now I should have read everything.. Instead of acting like a know-it-all I would have easily caught this and saved all of us the trouble. It was simple, I forgot to leave the "/" in the configure files after I changed the structure of the DIR_WS_CATALOG and others..

    It took two seconds to read over it and realize it.. sorry, I wish I had sat down and read it earlier. The site is working fine now and back on track to opening soon. Thanks again.

  10. #10
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: I went from www.AAA.com/dir and got a new domain name for the site.. help

    That's fantastic!

    Yeah, it's those little things that kill. I know.. I've been there.

 

 

Similar Threads

  1. Why my domain name is not WWW.MYSITE.COM but is MYSITE.COM
    By Carl85 in forum General Questions
    Replies: 4
    Last Post: 30 Jan 2011, 04:00 PM
  2. Moving my yahoo site from domain.com/store to just domain.com ?
    By shanesoine in forum Basic Configuration
    Replies: 5
    Last Post: 27 Aug 2010, 07:14 AM
  3. Replies: 5
    Last Post: 27 Apr 2010, 07:56 PM
  4. Help My domain rewrites to http://domain.com instead of www
    By toussi in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 21 Aug 2008, 03:55 AM
  5. Transfer Site to new domain, and changeing domain name
    By dng in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 9 Mar 2007, 12:28 AM

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