If this is your first visit, check our documentation. To post, register or login.

Pre-Install Questions

Locked

Started by bim on 30 Jun 2006, 3:12 PM · Views: 1,954

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Jun 2006, 3:12 PM
#1
bim avatar

bim

New Zenner

Join Date:
Jun 2006
Posts:
1
Plugin Contributions:
0

Post #1 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

30 Jun 2006, 4:46 PM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Post #2 by vger

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

30 Jun 2006, 5:08 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,758
Plugin Contributions:
0

Post #3 by Kim

Your best bet would be a host with fewer restrictions.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

30 Jun 2006, 7:46 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

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.