Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jan 2007
    Posts
    33
    Plugin Contributions
    0

    Default I have a very large error log file but I dont know what these errors mean

    Hi all,
    My error log file recently started growing. It got up to 400mb and kind of jamed up my server for a bit. Old news. Deleted it but I want to fix teh errors its reporting.

    I have looked at the lines it is saying are a problem but cant see anything unusual.

    The errors are pretty much all the same and relate back to Jan 2007.

    Any idea how I fix these would be great. Ive created test accounts but with no problems I can see.

    Site address: http://entryzone.com.au/

    So below are the two common lines in the error log.

    [13-Feb-2010 18:20:27] PHP Warning: Invalid argument supplied for foreach() in /home/sportrec/public_html/entryzone.com.au/includes/templates/template_default/templates/tpl_create_account_success_default.php on line 26

    [16-Feb-2010 13:53:56] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/sportrec/public_html/entryzone.com.au/includes/languages/english/address_book.php on line 31

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: I have a very large error log file but I dont know what these errors mean

    Quote Originally Posted by sportrecovery View Post
    Hi all,
    My error log file recently started growing. It got up to 400mb and kind of jamed up my server for a bit. Old news. Deleted it but I want to fix teh errors its reporting.

    I have looked at the lines it is saying are a problem but cant see anything unusual.

    The errors are pretty much all the same and relate back to Jan 2007.

    Any idea how I fix these would be great. Ive created test accounts but with no problems I can see.

    Site address: http://entryzone.com.au/

    So below are the two common lines in the error log.

    [13-Feb-2010 18:20:27] PHP Warning: Invalid argument supplied for foreach() in /home/sportrec/public_html/entryzone.com.au/includes/templates/template_default/templates/tpl_create_account_success_default.php on line 26

    [16-Feb-2010 13:53:56] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/sportrec/public_html/entryzone.com.au/includes/languages/english/address_book.php on line 31
    FTP the following file to your hard drive:

    /includes/languages/english/address_book.php

    Open it in a plain text editor.

    Look at what is being rendered in line 31

    POST that line of code in this thread so we can see the error.
    Last edited by Kim; 5 Mar 2010 at 06:11 PM.
    20 years a Zencart User

  3. #3
    Join Date
    Jan 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: I have a very large error log file but I dont know what these errors mean

    define('ADDRESS_BOOK_TITLE', 'Address Book Entries');

    thanks in advance

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: I have a very large error log file but I dont know what these errors mean

    Quote Originally Posted by sportrecovery View Post
    define('ADDRESS_BOOK_TITLE', 'Address Book Entries');
    That looks ok to me... The error is probably in the line before the one reported. However, since this is a very small file anyway perhaps it may be more convenient to paste the entire thing here for us to see.

    Cheers
    Rod

  5. #5
    Join Date
    Jan 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: I have a very large error log file but I dont know what these errors mean

    define('NAVBAR_TITLE_1', 'My Account');
    define('NAVBAR_TITLE_2', 'Address Book');

    define('HEADING_TITLE', 'My Personal Address Book');

    define('PRIMARY_ADDRESS_TITLE', 'Primary Address');
    define('PRIMARY_ADDRESS_DESCRIPTION', 'This address is used for the Entry details and billing address for Entries made using Entry Zone.<br /><br />'');

    define('ADDRESS_BOOK_TITLE', 'Address Book Entries');

    define('PRIMARY_ADDRESS', '(primary address)');

    define('TEXT_MAXIMUM_ENTRIES', '<span class="coming"><strong>NOTE:</strong></span> A maximum of %s address book entries allowed.');
    ?>

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: I have a very large error log file but I dont know what these errors mean

    Here is your error:

    'This address is used for the Entry details and billing address for Entries made using Entry Zone.<br /><br />''
    You have TWO single quotes at the end of this line.

    Get rid of one of them
    20 years a Zencart User

  7. #7
    Join Date
    Jan 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: I have a very large error log file but I dont know what these errors mean

    Thanks for that, I have done that.
    2 questions. How do I clear the error log. I keep deleting the file but it appears again at the same size some hours later? Cant find anything in the zen car admin area. Do I do it in the database?

    Also the other error reporting is in tpl_create_account_success_default.php line 26.

    This is the code around there
    /**
    * Used to loop thru and display address book entries
    */
    Line26 foreach ($addressArray as $addresses) {
    ?>

    I just typed that line 26 bit in for your reference. Or is this error linked back to the other file?

  8. #8
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: I have a very large error log file but I dont know what these errors mean

    Quote Originally Posted by sportrecovery View Post
    How do I clear the error log. I keep deleting the file but it appears again at the same size some hours later? Cant find anything in the zen car admin area. Do I do it in the database?
    Neither. You'll probably need to contact your webhost for this.

    Quote Originally Posted by sportrecovery View Post
    Also the other error reporting is in tpl_create_account_success_default.php line 26.

    This is the code around there
    /**
    * Used to loop thru and display address book entries
    */
    Line26 foreach ($addressArray as $addresses) {
    ?>

    I just typed that line 26 bit in for your reference. Or is this error linked back to the other file?
    Is this error still occuring? If not, it is probably safe to assume that both errors are related.

    Cheers
    Rod

  9. #9
    Join Date
    Jan 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: I have a very large error log file but I dont know what these errors mean

    Thankyou very much for all your help.
    I will monitor the error log file and see what happens and contact my host to clean up the files.

    Thanks again

  10. #10
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: I have a very large error log file but I dont know what these errors mean

    I have one too and I'm not sure whats it is either. I know It's coming from an add on. Could you please take a peek and see what could be causing this. Thank you so much. Here is the error.
    The numbers are beside the line.

    [04-Jul-2010 06:02:20] PHP Warning: Invalid argument supplied for foreach() in /home/content/x/x/x/xxxxxxx/html/includes/functions/extra_functions/jscript.php on line 71


    67 function getMinifyfiles($files, $request_string, $folder){
    68 global $request_type, $current_page_base, $template;
    69 $relative_path = $request_type == 'NONSSL' ?
    DIR_WS_CATALOG : DIR_WS_HTTPS_CATALOG;
    70 $files_paths = '';$result = array();
    71 foreach($files as $file=>$order){
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h What do these errors mean?
    By nolsowski in forum General Questions
    Replies: 1
    Last Post: 1 May 2012, 05:52 AM
  2. What do these UPS codes mean?
    By ewright1234 in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 8 Nov 2010, 10:00 PM
  3. Anyone Know what this Error could mean? Stamps.com
    By SALAGR in forum Addon Shipping Modules
    Replies: 21
    Last Post: 26 Sep 2010, 07:36 PM
  4. Please help!  What do these symbols mean?
    By Mir13 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 16 Aug 2008, 05:44 PM
  5. Replies: 1
    Last Post: 28 Jan 2008, 08:26 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