Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Jun 2007
    Posts
    42
    Plugin Contributions
    0

    Default V1.3.7.1 causing these Server errors ?

    What is causing these errors I see on the domain server ?
    Is there a bug and if so what is fix ?

    Thanks
    =============================

    <!--StartFragment-->/home/teamzron/public_html/fstore/error_log:
    [24-Aug-2007 01:09:36] PHP Warning: Variable passed to each() is not an array or object in /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php on line 1708
    [24-Aug-2007 01:09:36] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php:1708) in /home/teamzron/public_html/fstore/includes/functions/functions_general.php on line 44
    [24-Aug-2007 01:12:28] PHP Warning: Variable passed to each() is not an array or object in /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php on line 1708
    [24-Aug-2007 01:12:28] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php:1708) in /home/teamzron/public_html/fstore/includes/functions/functions_general.php on line 44
    [24-Aug-2007 07:04:32] PHP Warning: Variable passed to each() is not an array or object in /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php on line 1708
    [24-Aug-2007 07:04:32] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php:1708) in /home/teamzron/public_html/fstore/includes/functions/functions_general.php on line 44
    [24-Aug-2007 07:07:19] PHP Warning: Variable passed to each() is not an array or object in /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php on line 1708
    [24-Aug-2007 07:07:19] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php:1708) in /home/teamzron/public_html/fstore/includes/functions/functions_general.php on line 44
    [24-Aug-2007 07:09:14] PHP Warning: Variable passed to each() is not an array or object in /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php on line 1708
    [24-Aug-2007 07:09:14] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php:1708) in /home/teamzron/public_html/fstore/includes/functions/functions_general.php on line 44
    [24-Aug-2007 07:11:40] PHP Warning: Variable passed to each() is not an array or object in /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php on line 1708
    [24-Aug-2007 07:11:40] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php:1708) in /home/teamzron/public_html/fstore/includes/functions/functions_general.php on line 44
    [24-Aug-2007 07:12:09] PHP Warning: Variable passed to each() is not an array or object in /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php on line 1708

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: V1.3.7.1 causing these Server errors ?

    Not a BUG....You most likely have a corrupt file or 2.

    You can look for any that are "0" bytes in length or just re-load them all and use a FTP client that will mitigate errors like filezilla
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: V1.3.7.1 causing these Server errors ?

    Quote Originally Posted by kobra View Post
    Not a BUG....You most likely have a corrupt file or 2.

    You can look for any that are "0" bytes in length or just re-load them all and use a FTP client that will mitigate errors like filezilla
    How did you come up with that answer ?

    the software is funcitonal so I would assume if either of these files were at 0 bytes the frontstore would not be online and funcitonal

    the 1st error

    [24-Aug-2007 07:04:32] PHP Warning: Variable passed to each() is not an array or object in /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php on line 1708

    I am a customer of the product and not a software programer but if this file was corrputed how is the store functional ?


    [24-Aug-2007 07:04:32] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/teamzron/public_html/fstore/includes/classes/shopping_cart.php:1708)
    in /home/teamzron/public_html/fstore/includes/functions/functions_general.php on line 44

    Again both files are not zero bytes and the errors are not about the file itself but errors at certain line number of code.

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

    Default Re: V1.3.7.1 causing these Server errors ?

    What version of Zen Cart are you using?
    Was this an upgrade from a prior version? Which version?
    What addons/contributions are installed on your site?
    What version of PHP is running on the server?
    Who is your hosting company?

    When did these errors start happening? How does the "when" correlate to anything else related to the website's operations?

    Is there anything that's not functioning properly due to these errors?
    You said the store is functional. Are you therefore saying that these errors are not preventing customers from shopping?

    One which screens do you see this error displayed?
    Under what conditions does it occur?
    What exact steps can be taken to reproduce this error on your site?
    What is the URL where it can be seen in action?

    If you add this to the top of your /index.php file (in your main Zen Cart folder) and attempt to create the error again, what does it show on the top of the page before the Variable passed to each() error appears ?:
    Code:
    echo '<pre>' . print_r($_POST, true) . '</pre>';
    (You're going to see some "headers already sent" warnings, which can be ignored while doing this testing)
    .

    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. #5
    Join Date
    Jun 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: /includes/classes/shopping_cart.php

    This is appauling the same error we are getting today was posted here back last Feb and answers I get is files are corrupt when it has nothing to do with the function in line 1708

    I posted yesterday http://www.zen-cart.com/forum/showthread.php?t=73800

    includes the same error your getting and very little response as what is going on which scares us this software has some code problem that allows hackers or someone getting customer information but clearly if the same bug is showing up for months and no fix something is not being researched as the problem and fix.

    Why is it taking months for the programmers to not find out what their code problem is ?



    MODERATOR NOTE: Post was originally made in and moved from this thread in order to maintain continuity of thought in this discussion.

  6. #6
    Join Date
    Jun 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: V1.3.7.1 causing these Server errors ?

    Quote Originally Posted by DrByte View Post
    What version of Zen Cart are you using?
    Was this an upgrade from a prior version? Which version?
    What addons/contributions are installed on your site?
    What version of PHP is running on the server?
    Who is your hosting company?

    When did these errors start happening? How does the "when" correlate to anything else related to the website's operations?

    Is there anything that's not functioning properly due to these errors?
    You said the store is functional. Are you therefore saying that these errors are not preventing customers from shopping?

    One which screens do you see this error displayed?
    Under what conditions does it occur?
    What exact steps can be taken to reproduce this error on your site?
    What is the URL where it can be seen in action?

    If you add this to the top of your /index.php file (in your main Zen Cart folder) and attempt to create the error again, what does it show on the top of the page before the Variable passed to each() error appears ?:
    Code:
    echo '<pre>' . print_r($_POST, true) . '</pre>';
    (You're going to see some "headers already sent" warnings, which can be ignored while doing this testing)
    Server Information Server Host: host111.hostmonster.com (74.220.207.111) Database Host: localhost (127.0.0.1) Server OS: Linux 2.6.21-3_1.BHsmp Database: MySQL 5.0.27-standard-log Server Date: 08/26/2007 10:11:10 Database Date: 08/26/2007 10:11:10 Server Up Time: 10:11:10 up 19 days, 6:03, 3 users, load average: 0.63, 0.65, 0.64
    PHP Version: 5.1.6 (Zend: 2.1.0)
    HTTP Server: Apache/1.3.37 (Unix)mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
    table, td, tr {font-family: sans-serif; font-size: 11px;}.p {text-align: center;}.e {background-color: #ccccff; font-weight: bold; font-size: 11px;}.h {background-color: #9999cc; font-weight: bold; font-size: 11px;}.v {background-color: #cccccc; font-size: 12px;}i {color: #666666; font-size: 11px;}hr {display: none; font-size: 11px;} Zen Cart 1.3.7.1

    Database Patch Level: 1.3.7

    v1.3.7 [2007-06-20 20:21:16] (Fresh Installation)
    PHP Version 5.1.6




    this is a small site and few purchases so this frontstore is seldom visited thus idle most of the time
    We have no clue as when errors happen, all the functions seem to work but maybe only happens when someone has tried to order something and then it fails.

    This was updated to .1 from 1.3.7.0 few weeks back.
    All we can go by is the server error log and the time/dates it shows
    Last edited by teamzr1; 26 Aug 2007 at 05:35 PM.

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

    Default Re: /includes/classes/shopping_cart.php

    Quote Originally Posted by teamzr1 View Post
    This is appauling the same error we are getting today was posted here back last Feb and answers I get is files are corrupt when it has nothing to do with the function in line 1708

    I posted yesterday http://www.zen-cart.com/forum/showthread.php?t=73800

    includes the same error your getting and very little response as what is going on which scares us this software has some code problem that allows hackers or someone getting customer information but clearly if the same bug is showing up for months and no fix something is not being researched as the problem and fix.

    Why is it taking months for the programmers to not find out what their code problem is ?
    Gimme a break. You won't find me venting very often, but this is absurd.

    I posted there as follow-up due to some new discoveries after spending hours debugging and testing a couple sites where people were actively assisting with feedback about what was and wasn't working.

    Attitudes like you have expressed in your posts will *NOT* win you many favors here ...

    Now, if you *want* to get to the bottom of the problem, then finish posting the answers to the rest of the questions I asked you in the post you are complaining about.
    .

    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
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: V1.3.7.1 causing these Server errors ?

    You missed posting answers to some important questions:
    Quote Originally Posted by DrByte View Post
    What addons/contributions are installed on your site?
    - What version of PHP is running on the server?
    - Is there anything that's not functioning properly due to these errors?
    - You said the store is functional. Are you therefore saying that these errors are not preventing customers from shopping?
    - On which screens do you see this error displayed? ... ie: have you actually *seen* it happen?
    - Under what conditions does it occur?
    - What exact steps can be taken to reproduce this error on your site?
    - What is the URL where it can be seen in action? (is it the same as the url in the image you included in your last post?)

    -If you add this to the top of your /index.php file (in your main Zen Cart folder) and attempt to create the error again, what does it show on the top of the page before the Variable passed to each() error appears ?:
    Code:
    echo '<pre>' . print_r($_POST, true) . '</pre>';
    (You're going to see some "headers already sent" warnings, which can be ignored while doing this testing)
    I may as well add another few to the list ...
    - Do you have an SSL certificate installed for your site? Are you using it in your store?
    - Do you have any manually-configured redirects set up to force SSL operation?
    - What are your PHP settings for - post_max_size and file_uploads and upload_max_filesize


    And, by the way, if you're gonna belly-ache and point blame with statements like "Why is it taking months for the programmers to not find out what their code problem is ?" then perhaps it would behoove you to do some legwork to understand under exactly what conditions the problem occurs, and share your discoveries.

    We *do* try to help. If a problem can be reproduced consistently, it can be fixed. If it can't, we have to wait for the (few) people *having* the problem to provide usable information for debugging and analysis.
    .

    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.

  9. #9
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: V1.3.7.1 causing these Server errors ?

    I just ran a complete create account and test purchase, and no errors displayed in the shopping cart page, which according to your error log if any errors were going to be displayed it would have happened here


    Try clearing your logs and watch em over the nest few hours,
    Zen cart PCI compliant Hosting

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

    Default Re: V1.3.7.1 causing these Server errors ?

    Quote Originally Posted by teamzr1 View Post
    this is a small site and few purchases so this frontstore is seldom visited thus idle most of the time
    We have no clue as when errors happen, all the functions seem to work but maybe only happens when someone has tried to order something and then it fails.

    This was updated to .1 from 1.3.7.0 few weeks back.
    All we can go by is the server error log and the time/dates it shows
    Do the dates/times in your errorlog correspond with any orders actually being placed? How about registration of new customers?

    Have you had any actual complaints from customers ?
    .

    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 3 123 LastLast

Similar Threads

  1. v139h csshover.htc causing 404 errors
    By adb34 in forum General Questions
    Replies: 10
    Last Post: 22 Oct 2012, 08:04 PM
  2. v150 change in c panel password causing all these problems
    By bamboleo in forum General Questions
    Replies: 3
    Last Post: 13 Sep 2012, 08:35 AM
  3. What is causing these extra images?
    By meljen in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 16 Jul 2012, 06:53 PM
  4. Shipping module causing errors on site
    By moltres93 in forum Addon Shipping Modules
    Replies: 0
    Last Post: 5 Apr 2012, 01:45 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