Results 1 to 2 of 2

categories.php Premature end of script headers

This is a discussion on categories.php Premature end of script headers within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; When I click save or update when editing a product or category in the admin side, I get Premature end ...

      
  1. #1
    New Member
    Join Date
    Dec 2002
    Posts
    22
    Rep Power
    0


    Default categories.php Premature end of script headers

    When I click save or update when editing a product or category in the admin side, I get

    Premature end of script headers: /www/a/xxxxxxxxxx/htdocs/shop/admin/categories.php

    but when I go back the edit was saved.

    I have not edited categories.php, all I've done is change border colors and add my logo to the site. What could be happening?

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Could be a limit of PHP set by the host....??

    A QUICK search shows:

    What does the 'premature end of script headers' error mean?
    99% of the time, this is caused by improper permission settings. Make sure you have the proper permissions set on your script (CHMOD 755).
    You should also make sure that you are using a text-only editor such as Notepad or UltraEdit to edit your scripts (on a PC) or SimpleText or BBEdit (on a Mac).

    Also be sure to also upload your scripts in ASCII and not binary. Failure to do so will result in your files not executing properly.

    OR

    PHP is loaded as a CGI in Apache and is causing problems with PERL - specially if accessing the same files (such as server log files)

    OR

    PHP script your running needs a lot of RAM, especially using CGI/Apache.
    Try to raise your memory in php.ini

    OR

    PHP version: 4.1.0
    PHP Bug Type: Apache2 related
    Bug description: Premature end of script headers

    Error description:
    Many php scripts that works good with apache2 and php 4.0.6 doesn't work
    now with apache2 and 4.1.0.

    Solution: UPGRADE to newer version greater than 4.2.2!
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!


Similar Threads

  1. Insert Script
    By moreduff in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-25-2006, 09:41 PM
  2. max 1.5 script movement
    By wildtypitch in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-13-2004, 01:31 PM
  3. install script NOT THERE!!
    By ReginaStelling in forum osCMax v1.7 Installation
    Replies: 4
    Last Post: 06-29-2004, 08:59 AM
  4. need help on installation script
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-27-2002, 09:17 PM
  5. No Install Script
    By ramonjaime in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 11-13-2002, 05:02 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
  •