Zen Cart Logo
Forums / Installing on a Windows Server / installation problem with version 1.3.7.1

installation problem with version 1.3.7.1

Locked

Views: 2,103

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
4 Oct 2007, 12:20 PM
#1
gmli avatar

gmli

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

installation problem with version 1.3.7.1

I am trying to install Zen cart on my localhost and I am following the doc and run install from browser

please see the following:

  1. system inspection results

System Inspection Results
Webserver = Apache/2.2.2 (Win32) PHP/5.2.0-dev mod_perl/2.0.3-dev Perl/v5.8.8
HTTP Host = localhost
Path_Translated = C:/www/webroot/cart/zc_install/index.php(SCRIPT_FILENAME)
PHP O/S = WINNT
PHP API Mode = apache2handler
PHP Max Execution Time per page = 30
Register Globals = OFF
MySQL Support = ON
PHP Version = 5.2.0-dev
PHP Safe Mode = OFF
PHP Sessions Support = ON
PHP Session.AutoStart = OFF
PHP session.use_trans_sid = OFF
Suggested SQL Cache Folder = C:/www/webroot/cart/cache
PHP magic_quotes_runtime setting = OFF
PHP GD Support = ON
GD Version = GD bundled (2.0.28 compatible)
PHP ZLIB Compression Support = ON
PHP cURL Support = ON
PHP Upload Support = ON upload_max_filesize=2M; post_max_size=8M
PHP Upload TMP dir = c:\phpupload

View PHPINFO for your server Other System Information (For Reference Only)
The following info does not necessarily indicate any problem or configuration issue. It is simply for the sake of displaying it in an easy-to-find location.
PHP include_path = .;C:\php5\pear
PHP SMTP destination = localhost
PHP sendmail path =
PHP sendmail 'from' = admin@localhost
PHP open_basedir restrictions =
PHP Output Buffering (gzip) = ON
PHP FTP Support = ON
PHP XML Support = ON
PHP Session.Save_Path = C:/www/tmp/ -->Writeable
File and Folder Permissions
In order for many Zen Cart™ administrative and day-to-day functions to work properly, You need to mark several files/folders "Writeable". The following is a list of folders which need to be "read-write", along with recommended CHMOD settings. Please correct these settings before continuing installation. Refresh this page in your browser to re-check settings.

Some hosts may not allow you to set CHMOD 777, but only 666. Start with the higher setting first, and switch to lower values if required.
includes/configure.php = Writeable
admin/includes/configure.php = Writeable

cache = OK
images = OK
includes/languages/english/html_includes = OK
media = OK
pub = OK
admin/backups = OK
admin/images/graphs = OK

  1. then install (click install)Server Settings
    Physical Path
    Physical Path to your
    Zen Cart directory.
    Leave no trailing slash. more info...

Virtual HTTP Path
Virtual Path to your
Zen Cart directory.
Leave no trailing slash. more info...

Virtual HTTPS Server
Virtual server for your
secure Zen Cart directory.
Leave no trailing slash. more info...

Virtual HTTPS Path
Virtual Path to your
secure Zen Cart directory.
Leave no trailing slash. more info...

YES NO Enable SSL
Would you like to enable Secure Sockets Layer in Customer area?
Leave this set to NO unless you're SURE you have SSL working. more info...

YES NO Enable SSL in Admin Area
Would you like to enable Secure Sockets Layer for Admin areas?
Leave this set to NO unless you're SURE you have SSL working. more info...

AFTAR clinck SaveSystem Settings

I get page deos not exist!

help please

4 Oct 2007, 6:52 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: installation problem with version 1.3.7.1

gmli:

AFTAR clinck SaveSystem Settings

I get page deos not exist!

  1. Try renaming the /zc_install/.htaccess to htaccess_OFF and try again.

  2. What does your localhost apache errorlog say about this error?

8 Oct 2007, 2:48 PM
#3
gmli avatar

gmli

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: installation problem with version 1.3.7.1

thank you for reply Drbyte.
My Apache says:

[error] [client 127.0.0.1] mod_security: Access denied with code 500. Pattern match "\\\\.php(3|4|5)?(\\\\?|&).*=(ht|f)tps?:/.*(\\\\?|&)" at REQUEST_URI [severity "EMERGENCY"] [hostname "localhost"] [uri "/cart/zc_install/index.php?main_page=phpbb_setup&language=english&physical_path=C:/www/webroot/cart&virtual_http_path=http://localhost/cart&virtual_https_path=https://localhost/cart&virtual_https_server=https://localhost&enable_ssl=false&enable_ssl_admin=false&sql_cache=C:/www/webroot/cart/cache&is_upgrade="]

that is that mean? do you know?

thanks,
Gary

8 Oct 2007, 2:57 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: installation problem with version 1.3.7.1

That means your server's got the mod_security filter installed and protecting against the use of HTTP: or HTTPS: as extra parameters in the browser URL (because those can commonly be used for spoofing/hacking etc).

If you use the supplied zc_install/.htaccess file, it should override the mod_security filter during installation. If it won't, then you may need to talk to the server administrator to allow the option of disabling it temporarily.

8 Oct 2007, 3:07 PM
#5
gmli avatar

gmli

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: installation problem with version 1.3.7.1

thanks. I am the administrator and I installed Apach. but it was working before.

I fine this after restart Apach.

[Mon Oct 08 15:57:55 2007] [error] [client 127.0.0.1] PHP Fatal error: Class 'notifier' not found in C:\www\webroot\cart\includes\autoload_func.php on line 79

regards,

Gary

8 Oct 2007, 3:12 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: installation problem with version 1.3.7.1

That suggests that the install hasn't completed properly ... either files are missing from the /includes/classes folder or the configure.php files haven't been written properly by the zc_install

9 Oct 2007, 11:42 AM
#7
gmli avatar

gmli

New Zenner

Join Date:
Oct 2007
Posts:
4
Plugin Contributions:
0

Re: installation problem with version 1.3.7.1

Hi DrByte,
It apears that the problem caused was the "Save System Settings" was not working.

I have compared the old installation with the new installation. the difference is that the Apache 2.2 has mod_security provent the patten .php? ttps: to be requested.

therefore the request cannot be processed.

gary

9 Oct 2007, 3:06 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: installation problem with version 1.3.7.1

gmli:

Hi DrByte,
It apears that the problem caused was the "Save System Settings" was not working.

I have compared the old installation with the new installation. the difference is that the Apache 2.2 has mod_security provent the patten .php? ttps: to be requested.

therefore the request cannot be processed.

gary

Yes, that is correct ... and is why the supplied zc_install/.htaccess contains these lines to deactivate mod_security if it's turned on:```
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>