Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: apache 2.x css/images don't load

    MODERATOR NOTE: Your multiple threads on the same topic have been merged into one.
    .

    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.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: apache 2.x css/images don't load

    You need:
    a) name resolution working properly so *all* computers everywhere can see the server and its domains
    b) server configured to use the domain name in your vhost
    c) your Zen Cart configure.php files set to use the publicly-reachable domain name

    http://www.zen-cart.com/forum/showthread.php?t=146848

    If you're looking for help in properly setting up a homespun webserver to run websites either casually or professionally, I suggest taking that discussion to a forum which specializes on that topic, like webhostingtalk.com

    The only part of your problem that's related to Zen Cart is the configure.php files needing the correct publicly-accessible domain name.
    .

    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.

  3. #13
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: apache 2.x css/images don't load

    Quote Originally Posted by DrByte View Post
    You need:
    a) name resolution working properly so *all* computers everywhere can see the server and its domains
    b) server configured to use the domain name in your vhost
    c) your Zen Cart configure.php files set to use the publicly-reachable domain name

    http://www.zen-cart.com/forum/showthread.php?t=146848

    If you're looking for help in properly setting up a homespun webserver to run websites either casually or professionally, I suggest taking that discussion to a forum which specializes on that topic, like webhostingtalk.com

    The only part of your problem that's related to Zen Cart is the configure.php files needing the correct publicly-accessible domain name.
    Name resolution is working properly as I can hit the ZenCart server by FQDN from any computer. (catalog.domain.com)

    Virtual server is configured to use vhost name.

    Where in the configure.php do I need to edit the server statement?

  4. #14
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: apache 2.x css/images don't load

    If you look in the file, you'll see that the first define in the file is for HTTP_SERVER, which has the domain name that your Zen Cart is setting in all its URL links.
    .

    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.

  5. #15
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Page layout different on remote computer

    Ok,

    I edited both configure.php files and restarted Apache. is there anything else I should restart? Not sure where to restart Zen Cart.

  6. #16
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Page layout different on remote computer

    There is no "restart" for Zen Cart. None is needed. Nor is it necessary to restart Apache when editing Zen Cart files.
    .

    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.

  7. #17
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Page layout different on remote computer

    Ok, I wasn't sure..

  8. #18
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Page layout different on remote computer

    So, the only configure.php that I need to edit would be the store version, correct?

  9. #19
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Page layout different on remote computer

    As you can see by actually looking at the 2 configure.php files there are 6 places where you need to have reachable URLs depending on whether you're using SSL or not.
    In the non-admin configure.php file there is HTTP_SERVER and HTTPS_SERVER
    In the admin configure.php file there are four HTTPx_xxxx_SERVER settings.

    Set all according to your intended use.

    Normally, if you install Zen Cart by actually using the domain name you're using on the server, those values will all be automatically set appropriately as a result of your answers to the questions asked during the zc_install installation/setup process.
    If you change your server configuration, including vhosts and domain names, after you've installed Zen Cart, you'll need to manually edit those settings yourself.
    .

    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.

  10. #20
    Join Date
    Jan 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Page layout different on remote computer

    Copy that... Is there supposed to be an "AllowOverride Limit" under the vhost config in Apache?

    Is the .htaccess file only accessable through an ftp client? Couldn't see that file to rename with hopes that it would resolve my issue.


    Thanks

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Moving store to different computer
    By jusneale in forum General Questions
    Replies: 2
    Last Post: 13 May 2008, 11:03 PM
  2. Remote Viewing of Page Background and Layout is Wrong
    By SubVersion in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 31 Mar 2008, 09:20 PM
  3. Remote Viewing of Page Background and Layout is Wrong
    By SubVersion in forum General Questions
    Replies: 1
    Last Post: 24 Mar 2008, 05:22 AM
  4. Font Different on other computer?
    By ryanb4614 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 24 Feb 2008, 06:07 PM

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