Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Posts
    1
    Plugin Contributions
    0

    Pre-Install Questions

    I have been trying to install zen cart several times on my server. Cannot get past the phpBB step. Here are the orange marked settings. Anything that would avoid the installer go past the previous mentioned step?

    PHP open_basedir restrictions = /home/www/44ac5cd32250fb5ee0544c7ce3741949/:/tmp
    # Disabled PHP Functions = set_time_limit,passthru,exec,system,popen,shell_exec,proc_open

    # Register Globals = ON
    # MySQL Version = Unknown

    Server Specs:
    # Webserver = Apache
    # PHP O/S = Linux
    # PHP API Mode = apache
    # PHP Max Execution Time per page = 10

  2. #2
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Pre-Install Questions

    set_time_limit is used in the following files in the install. You'll probably need to comment those instances out.

    zc_install\mysql_upgrade_zencart_114_to_120.sql(848): INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Admin Set max_execution_time for processes', 'GLOBAL_SET_TIME_LIMIT', '60', 'Enter the time in seconds for how long the max_execution_time of processes should be. Default=60<br />Example: 60= 1 minute<br /><br />Note: Changing the time limit is only needed if you are having problems with the execution time of a process', 1, 42, NULL, now(), NULL, NULL);

    zc_install\mysql_zencart.sql(1927): INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Admin Set max_execution_time for processes', 'GLOBAL_SET_TIME_LIMIT', '60', 'Enter the time in seconds for how long the max_execution_time of processes should be. Default=60<br />Example: 60= 1 minute<br /><br />Note: Changing the time limit is only needed if you are having problems with the execution time of a process', 1, 42, NULL, now(), NULL, NULL);

    zc_install\techsupp.php(168): <li><?php echo '<strong>PHP set_time_limit</strong> (max execution time) = '.ini_get("max_execution_time"); ?></li>

    zc_install\includes\functions\general.php(89): @set_time_limit(1200);

    zc_install\includes\languages\english.php(613): define('POPUP_ERROR_TEXT', 'Your PHP configuration has one or more of the following functions marked as "disabled" in your server\'s PHP.INI file:<br /><ul><li>set_time_limit</li><li>exec</li></ul>Your server may suffer from decreased performance due to the use of these security measures which are usually implemented on highly-used public servers... which are not always ideal for running an e-Commerce system.<br /><br />It is recommended that you speak with your hosting provider to determine whether they have another server where you may run your site with these restrictions removed.');

    zc_install\includes\languages\english\inspect.php(52): define('LABEL_SET_TIME_LIMIT','PHP Max Execution Time per page');

    zc_install\includes\modules\pages\inspect\header_php.php(149): $set_time_limit = ini_get("max_execution_time");

    zc_install\includes\modules\pages\inspect\header_php.php(150): $status_check[] = array('Importance' => 'Info', 'Title' => LABEL_SET_TIME_LIMIT, 'Status' => $set_time_limit, 'Class' => 'NA', 'HelpURL' =>'', 'HelpLabel'=>'');

    zc_install\includes\modules\pages\inspect\header_php.php(154): if (zen_not_null($disabled_funcs)) $status_check[] = array('Importance' => 'Recommended', 'Title' => LABEL_DISABLED_FUNCTIONS, 'Status' => $disabled_funcs, 'Class' => (@substr_count($disabled_funcs,'set_time_limit') ? 'WARN' : 'NA'), 'HelpURL' =>ERROR_CODE_DISABLE_FUNCTIONS, ERROR_TEXT_DISABLE_FUNCTIONS);

    There are also instances within files.

    Vger

  3. #3
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Pre-Install Questions

    Your best bet would be a host with fewer restrictions.

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

    Default Re: Pre-Install Questions

    Quote Originally Posted by bim
    I have been trying to install zen cart several times on my server. Cannot get past the phpBB step. Here are the orange marked settings. Anything that would avoid the installer go past the previous mentioned step?

    PHP open_basedir restrictions = /home/www/44ac5cd32250fb5ee0544c7ce3741949/:/tmp
    # Disabled PHP Functions = set_time_limit,passthru,exec,system,popen,shell_exec,proc_open

    # Register Globals = ON
    # MySQL Version = Unknown

    Server Specs:
    # Webserver = Apache
    # PHP O/S = Linux
    # PHP API Mode = apache
    # PHP Max Execution Time per page = 10
    1. Your problem is not related to any set_time_limit issues.
    2. You didn't indicate whether you were attempting to "use" phpBB or leave it disabled. If you leave it disabled, does it progress to the next step? If you set it to no and leave the path field blank, and it works, then your problem is likely related to open_basedir restrictions.
    3. What version of Zen Cart are you trying to install?
    4. Can you post a URL to your zc_install/techsupp.php? It might be helpful to see what other apache modules have been activated, and determine whether this block is being caused by mod_security or by your open_basedir restrictions.
    5. Who is your host?
    .

    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
    May 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Pre-Install Questions

    Hi,

    1) the version I try to install is the latest available.
    2) I don't use the cart with phpBB
    3) http://www.editions-bim.com/onlinest...l/techsupp.php
    4) My host: www.infomaniak.ch

    I hope this will help
    Thanks

    Jeremy

    (logged as "bim" for the first post)

 

 

Similar Threads

  1. v150 Pre-questions
    By Sonictech in forum General Questions
    Replies: 3
    Last Post: 31 May 2012, 07:38 PM
  2. Pre Download questions
    By Dendaw in forum General Questions
    Replies: 2
    Last Post: 21 Apr 2009, 12:43 PM
  3. Pre-Installation Questions
    By fidgets.net in forum General Questions
    Replies: 1
    Last Post: 2 Mar 2007, 11:43 PM
  4. Pre-Install Concerns
    By kallel in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Jul 2006, 10:47 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