Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    133
    Plugin Contributions
    1

    Default Cannot install on Linux (premature end of script headers)

    Hi, I am having difficulty installing ZenCart 1.3.8a on a new web site host.

    Linux, php 4.4.8, apache 1.3.41 (Unix)

    I have unzipped the full install "zen-cart-v1.3.8a-full-fileset-12112007" into a directory on my site at public_html/store. As far as I can tell, I have done everything required in the initial steps of the installation instructions, setting permission on the various folders and files as requested.

    When I get to the part about installation, and I enter the URL "www.mydomain.com/store/", I get a 500 Internal Server Error, and the Error Log for my site shows the following:

    Code:
    [Mon Apr 21 10:09:03 2008] [error] Premature end of script headers: /home/usr2001/public_html/store/index.php
    SoftException in Application.cpp:238: File "/home/usr2001/public_html/store/index.php" is writeable by group
    Entering "www.mydomain.com/store/zc_install/" results in the same error, and so does "www.mydomain.com/store/zc_install/index.php".

    For what it's worth, my php.ini file is:

    Code:
    register_globals = Off
    
    [Zend]
    zend_optimizer.optimization_level=15
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.6
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.6
    zend_optimizer.version=3.2.6
    zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.4.so
    
    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
    Any ideas would be appreciated....thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Cannot install on Linux (premature end of script headers)

    Quote Originally Posted by karma-lab View Post
    SoftException in Application.cpp:238: File "/home/usr2001/public_html/store/index.php" is writeable by group
    You need to talk to your hosting company about the correct permissions levels to set on all your files. The error message is saying that the main file (and likely many others) is 'writable by group'. Your host should be able to tell you how to set/reset that appropriately on your server.
    .

    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.

 

 

Similar Threads

  1. v139h Suddenly getting Server error: Premature end of script headers
    By willstyle in forum General Questions
    Replies: 2
    Last Post: 6 Jan 2012, 09:38 PM
  2. Premature end of script headers: store_manager.php
    By manada in forum General Questions
    Replies: 10
    Last Post: 26 Mar 2007, 08:46 PM
  3. Premature end of script headers
    By spottedhaggis in forum General Questions
    Replies: 0
    Last Post: 10 Sep 2006, 06:34 PM
  4. Premature end of script headers: php-script
    By doubletiger in forum General Questions
    Replies: 8
    Last Post: 2 Jul 2006, 09:53 PM

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