Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    May 2012
    Posts
    6
    Plugin Contributions
    0

    help question Header Warning and PHP Fatal error after uploaded a Dutch Language pack

    I've been having this problem since yesterday, I did a lot of Googling but did not find a solution, sinçe i'm fairly new to ZenCart I might even have overlooked something. The problem started when I uploaded a Dutch Language pack, now whenever I want to add something to the Cart I get a blank page. I only get the issue when I use the Dutch Language in my store, if I use the standard English; everything works as it should

    Here is the Debug:

    Code:
    [25-May-2012 15:34:57 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/vhosts/website.nl/httpdocs/includes/languages/dutch.php:1) in /var/www/vhosts/website.nl/httpdocs/includes/init_includes/init_templates.php on line 78
    
    [25-May-2012 15:34:57 UTC] PHP Fatal error:  Call to a member function RecordCount() on a non-object in /var/www/vhosts/website/httpdocs/includes/modules/sideboxes/category_row.php on line 18
    Line 78 in init_templates.php
    Code:
      header("Content-Type: text/html; charset=" . CHARSET);
    Line 18 in category_row.php
    Code:
      $num_categories = $categories->RecordCount();
    Help would be greatly appreciated.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,039
    Plugin Contributions
    1

    Default Re: Header Warning and PHP Fatal error

    Have you checked your /cache folder for error log files ?
    http://www.zen-cart.com/content.php?124-blank-page

  3. #3
    Join Date
    May 2012
    Posts
    6
    Plugin Contributions
    0

    Default Re: Header Warning and PHP Fatal error

    Quote Originally Posted by stevesh View Post
    Have you checked your /cache folder for error log files ?
    Yes, the outputs in my first post come from the error log file (httpdocs/cache/mydebug-verylongernumber.log)

  4. #4
    Join Date
    May 2012
    Posts
    6
    Plugin Contributions
    0

    Default Re: Header Warning and PHP Fatal error

    I'm still looking for a sulution to this

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    18,039
    Plugin Contributions
    1

    Default Re: Header Warning and PHP Fatal error

    Most likely a stray character or line added to dutch.php.

    http://www.zen-cart.com/content.php?...s-already-sent

  6. #6
    Join Date
    May 2012
    Posts
    6
    Plugin Contributions
    0

    Default Re: Header Warning and PHP Fatal error

    Quote Originally Posted by stevesh View Post
    Most likely a stray character or line added to dutch.php.

    http://www.zen-cart.com/content.php?...s-already-sent
    I already looked at this and its not the case. There is no additional line or character anywhere in line 1 of dutch.php.

    The Fatal Error seems to be the likely cause but I have no idea what to do with it:


    Code:
    [25-May-2012 15:34:57 UTC] PHP Fatal error:  Call to a member function RecordCount() on a non-object in /var/www/vhosts/website/httpdocs/includes/modules/sideboxes/category_row.php on line 18

 

 

Similar Threads

  1. Dutch Language pack error
    By rikdegraaff in forum Addon Language Packs
    Replies: 3
    Last Post: 6 Mar 2011, 10:22 PM
  2. Cannot save products after installing Dutch language pack
    By Dustie in forum Addon Language Packs
    Replies: 1
    Last Post: 5 Dec 2010, 07:03 PM
  3. Dutch Language pack / English problem
    By noisybag in forum Addon Language Packs
    Replies: 0
    Last Post: 14 Mar 2010, 02:56 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
  •