Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    having problems with local development setup

    I have set up a local copy of my live site for development and am having problems.
    After transfering a copy of the site and restoring the DB and making all the adjustment I can find in the configure file I am getting the following:

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampp\htdocs\stabandstash\includes\classes\navigation_history.php:334) in C:\Program Files\xampp\htdocs\stabandstash\includes\functions\sessions.php on line 100

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\xampp\htdocs\stabandstash\includes\classes\navigation_history.php:334) in C:\Program Files\xampp\htdocs\stabandstash\includes\functions\sessions.php on line 100

    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\stabandstash\includes\classes\navigation_history.php:334) in C:\Program Files\xampp\htdocs\stabandstash\includes\init_includes\init_sessions.php on line 152

    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\stabandstash\includes\classes\navigation_history.php:334) in C:\Program Files\xampp\htdocs\stabandstash\includes\init_includes\init_sessions.php on line 167


    where to begin, maybe with a stiff drink. A good shove in the right direction would be appreciated.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: having problems with local development setup

    ok found something out. I checked the files in question and cleared the blank line at the end of the file. Then tried to reload the page, no go , but different file listed. Followed same procedure and went throught about 5 different files. Now the page tries to load but is all screwed up, no stylesheet. I figure its a problem with a blank line @ end of a file but which one.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: having problems with local development setup

    Are you working now? Seems happy at the moment ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: having problems with local development setup

    no the problem is on the local development machine not on the live site.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: having problems with local development setup

    in View Source, what are the "base href", and all the "stylesheet" 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.

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: having problems with local development setup

    <base href="http://localhost/" />

    <link rel="stylesheet" type="text/css" href="includes/templates/stab_template/css/style_imagehover.css" />
    <link rel="stylesheet" type="text/css" href="includes/templates/stab_template/css/stylesheet.css" />

    <link rel="stylesheet" type="text/css" href="includes/templates/stab_template/css/stylesheet_css_buttons.css" />
    <link rel="stylesheet" type="text/css" media="print" href="includes/templates/stab_template/css/print_stylesheet.css" />
    <script type="text/javascript" src="includes/templates/template_default/jscript/jscript_imagehover.js"></script>
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: having problems with local development setup

    what's your local server's errorlog saying?
    .

    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
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: having problems with local development setup

    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/images, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/images, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/images, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/images, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/images, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php
    [Sun Sep 03 22:39:41 2006] [error] [client 127.0.0.1] File does not exist: C:/Program Files/xampp/htdocs/includes, referer: http://localhost/stabandstash/index.php

    Make any sense to you. It appears to not to report the actual file thats missing just stops with the comma.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  9. #9
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: having problems with local development setup

    [03/Sep/2006:22:39:40 -0500] "GET /stabandstash/ HTTP/1.1" 302 -
    127.0.0.1 - - [03/Sep/2006:22:39:40 -0500] "GET /stabandstash/index.php ZENID WAS HERE HTTP/1.1" 302 -
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/stab_template/css/style_imagehover.css HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:40 -0500] "GET /stabandstash/index.php HTTP/1.1" 200 16231
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/stab_template/css/stylesheet.css HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/stab_template/css/stylesheet_css_buttons.css HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/stab_template/css/print_stylesheet.css HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/template_default/jscript/jscript_imagehover.js HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/template_default/images/icons/warning.gif HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/stab_template/images/logo.gif HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /images/serenity.jpg HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /images/sunburst.jpg HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /images/sunrise.jpg HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /images/myst.jpg HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /images/005.jpg HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/stab_template/images/pixel_silver.gif HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/stab_template/buttons/english/button_subscribe.gif HTTP/1.1" 404 1284
    127.0.0.1 - - [03/Sep/2006:22:39:41 -0500] "GET /includes/templates/stab_template/images/verification_seal.gif HTTP/1.1" 404 1284


    This I would assume would be the files its trying to get (this is from access log).

    Would this mean I probably have screwed up my config files?

    EDITED: Never, ever post the zen_id or zenAdminID (session id) in a forum, email, newsgroup, newsletter, advertisement, etc. etc. etc. or you will be doomed ...
    Last edited by Ajeh; 4 Sep 2006 at 05:15 AM.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #10
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: having problems with local development setup

    looks like you're having permissions problems ... you're getting 404 errors on your stylesheet files... that could be permissions, .htaccess, or file-not-found issues
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Having a 'GHOST' Development Server?
    By wizer in forum Basic Configuration
    Replies: 3
    Last Post: 13 Aug 2011, 08:57 PM
  2. migrating local development to a new PC
    By ajhb in forum Installing on a Windows Server
    Replies: 4
    Last Post: 9 Aug 2010, 09:46 AM
  3. Having Trouble with Product setup
    By China Jones in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Feb 2009, 12:44 AM
  4. having problems with payment setup
    By ineyard in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 19 Jan 2007, 05:49 AM
  5. local SSL setup how do I do it with zencart?
    By torahtrance in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Aug 2006, 07:35 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