Thread: Domain issues

Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default Domain issues

    I installed my cart under one domain name, and everything was working fine, but I recently requested to rename my domain name to something i liked, and my hosting provider did that for me, and thats where it all went wrong. Now none of my products display, all the images and link are dead and if i click on a link the 'internet cannot display this page' message comes up. The layout is all haphazard now, everything is scattered all over the screen, any ideas as to what i need to correct? The only thing that was changed is the name. Using Zen cart 1.37.Thanks for any suggestions

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Domain issues

    Al,
    You will half to change these two files to match your new domain name..

    admin/ includes/ configure.php
    includes/ configure.php

  3. #3
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Domain issues

    Quote Originally Posted by haredo View Post
    Al,
    You will half to change these two files to match your new domain name..
    Fantastic! That worked like magic, and thanks for a very quick response, our emergency services could learn a thing or two from u!

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Domain issues

    Al,
    You are most welcome, glad I could point you in the right direction

  5. #5
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Domain issues

    My pleasure. But you know what, I now have another problem, which i didn't notice at first. Whenever I try to log in as a customer or add a product to cart i get this error message
    "Warning: Header may not contain more than a single header, new line detected. in /home1/XXXX/public_html/YYY/shop/includes/functions/functions_general.php on line 44"

    ...where 'XXXX' is my username and 'YYY' is the directory where my files reside.
    I can log in to admin with no problems, dont know if i will experience new/further problems as i cant seem to go past these two stages; adding to cart or customer login.
    I have tried to take this up with my hosting provider but their solutions were deleting everything and uploading it all from scratch. They cant change my username also. Is there any quick fix to this aprt from taking this 'drastic' action of pulling everthing down? Thanks

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Domain issues

    Al,
    ** comment removed by moderator **

    Just to upgrade your knowledge on the subject look at this.
    http://www.zen-cart.com/forum/showthread.php?t=55802

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Domain issues

    When you edited your configure.php files, did you accidentally leave a blank line at the end of the file, after the closing ?> tag?
    If so, I recommend removing the blank line, and ALSO remove the last line that contains the ?> tag, since it's not needed if it's the last thing in the file.
    .

    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.

  8. #8
    Join Date
    Feb 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Domain issues

    Quote Originally Posted by DrByte View Post
    When you edited your configure.php files, did you accidentally leave a blank line at the end of the file, after the closing ?> tag?
    If so, I recommend removing the blank line, and ALSO remove the last line that contains the ?> tag, since it's not needed if it's the last thing in the file.
    I had left a blank line, thats why, working alright now. Thank you so much Dr!

  9. #9
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Domain issues

    @Drbyte

    Thanks for the heads up on the situation.

    Mark,

 

 

Similar Threads

  1. Changed domain but still being led back to old domain
    By thorntongoats in forum General Questions
    Replies: 0
    Last Post: 23 Feb 2010, 01:08 AM
  2. SSL sub-domain issues
    By butterflyo in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 21 Mar 2007, 08:10 AM
  3. 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