Forums / Installing on a Windows Server / PHP Version problem with hosting co - set up SSL wrong

PHP Version problem with hosting co - set up SSL wrong

Locked

Views: 3,737

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
19 Sep 2006, 6:09 PM
#1
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

PHP Version problem with hosting co - set up SSL wrong

I am getting an error on a new installation at https://www.wine-lights.com/catalog/admin - The error is : The specified request cannot be executed from current Application Pool
I think it has something to do with my security certificate as the /catalog seems to work fine. My server admin wants to know the version of php I am using. After searchin faq- I could not find the answer. They give me the choice of 4.4.0 and 5.1.2 on the server and I have selected 5.1.2. My new installation of zen 1.3.5 was just downloaded. My only changes have been to delete the .htaccess files because this is a windows server. Any help on the version number or any potential solutions would be greatly appreciated. Thanks.

Got a Zencart Tatoo & Vanity Plate

19 Sep 2006, 6:18 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: PHP Version problem with hosting co - set up SSL wrong

Zen Cart is not officially certified to run on PHP 5 ... mostly because PHP 5 is ... well ... not complete yet.

That said, there are many folks running Zen Cart on PHP 5 without problems.

You can see version information in Admin->Tools->Server Info

FYI, as an aside, we do not recommend MySQL 5 at this time in conjunction with Zen Cart.

.
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.

19 Sep 2006, 6:44 PM
#3
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: PHP Version problem with hosting co - set up SSL wrong

Thank you for your reply. However, I don't think that I made myself clear- The admin where I host my domain is asking ME what version of php I am using. Is zen cart built with a certain version of php?

Got a Zencart Tatoo & Vanity Plate

19 Sep 2006, 7:01 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: PHP Version problem with hosting co - set up SSL wrong

The admin where I host my domain is asking ME what version of php I am using. Is zen cart built with a certain version of php?Then your admin isn't worth their salt.

If your admin is your host, then THEY are the people who INSTALLED PHP on your server.

As for Zen Cart, all Zen Cart is ... is ... PHP scripts. It runs on PHP 4 and to a large extent will run on PHP 5.

A WebServer ... runs Apache .... has PHP installed on it ... which interprets PHP commands.
Zen Cart is simply a collection of PHP commands/scripts.

It's your hosting company that needs to answer your question about PHP ... and if your "admin" person is AT the place where you host your domain ... then ... run away VERY fast...

.
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.

20 Sep 2006, 3:34 PM
#5
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: PHP Version problem with hosting co - set up SSL wrong

I am still having a problem with getting "The specified request cannot be executed from current Application Pool" at https://www.wine-lights.com/catalog/admin anyone have any suggestions. This is an ssl page. My https://www.wine-lights.com/catalog works fine.

Got a Zencart Tatoo & Vanity Plate

20 Sep 2006, 8:33 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: PHP Version problem with hosting co - set up SSL wrong

main doesn't work for me. Directory Listing Denied

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Sep 2006, 3:41 PM
#7
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: PHP Version problem with hosting co - set up SSL wrong

I did a complete re-install. You probably checked the site with no files yet. I discovered that some windows servers will not tolerate the auto-update option being on. After the re-installation I can't get the log-in screen to come up. I go to https://www.wine-lights.com/catalog/admin and I get:
The system cannot find the file specified.

Got a Zencart Tatoo & Vanity Plate

21 Sep 2006, 4:02 PM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: PHP Version problem with hosting co - set up SSL wrong

your ssl is not set correctly. copy your admin/includes/configure.php here WITHOUT passwords.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Sep 2006, 5:09 PM
#9
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: PHP Version problem with hosting co - set up SSL wrong

Thank you for your reply, but I don't understand what you are saying.
"your ssl is not set correctly. copy your admin/includes/configure.php here WITHOUT passwords."
How do I change my ssl to be correct? When you say "copy your admin/includes/configure.php here" Should I move this file to some other location? And how do I do it without passwords? I'm sorry for my ignorance- I have installed many times before and never ran into this.

Got a Zencart Tatoo & Vanity Plate

21 Sep 2006, 5:45 PM
#10
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,848
Plugin Contributions:
17

Re: PHP Version problem with hosting co - set up SSL wrong

we need to look at your configure file to see how the ssl should be entered. Copy the file and post it here in the forum WITHOUT passwords.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Sep 2006, 5:49 PM
#11
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: PHP Version problem with hosting co - set up SSL wrong

<?php // /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // Main webserver: eg, <http://localhost> - should not be empty for productive servers // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> // HTTP_CATALOG_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_CATALOG_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings */ define('HTTP_SERVER', 'http://www.wine-lights.com'); define('HTTPS_SERVER', 'https://ssl110.securefastssl.com/wine-lights.com'); define('HTTP_CATALOG_SERVER', 'http://www.wine-lights.com'); define('HTTPS_CATALOG_SERVER', 'https://ssl110.securefastssl.com/wine-lights.com'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'true'); define('ENABLE_SSL_ADMIN', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', 'C:/websites/508/wine-lights.com/catalog/admin/'); define('DIR_FS_CATALOG', 'C:/websites/508/wine-lights.com/catalog/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', '216.51.232.120'); define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'dbxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', 'C:/websites/508/wine-lights.com/catalog/cache'); ?>

Got a Zencart Tatoo & Vanity Plate

21 Sep 2006, 5:53 PM
#12
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: PHP Version problem with hosting co - set up SSL wrong

Yea - I figgured that out (duh) after I posted it.

Got a Zencart Tatoo & Vanity Plate

21 Sep 2006, 6:05 PM
#13
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: PHP Version problem with hosting co - set up SSL wrong

My server host has a install faq on zen cart. The server names and ssl look correct but I'm getting "The system cannot find the file specified.

Got a Zencart Tatoo & Vanity Plate

22 Sep 2006, 6:26 AM
#14
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: PHP Version problem with hosting co - set up SSL wrong

Alrighty folks I appreciate your help so far but - I've been at this for a week now. Still can't get to simply get the admin page to come up. I'm sorry for posting without any responses but I don't know what else to do. I'm still getting: "The system cannot find the file specified" when I go to https://www.wine-lights.com/catalog/admin. Anybody have any ideas?

Got a Zencart Tatoo & Vanity Plate

24 Sep 2006, 3:30 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: PHP Version problem with hosting co - set up SSL wrong

Were you able to fix this? I get the login page and resend password ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Sep 2006, 4:05 PM
#16
sperdie avatar

sperdie

Zen Follower

Join Date:
Feb 2005
Location:
Jim Thorpe Pennsylvania
Posts:
131
Plugin Contributions:
0

Re: PHP Version problem with hosting co - set up SSL wrong

I just found out that it was fixed. My ISP offers a choice between 2 versions of pHp 4.4.0 and 5.1.2. When I first started having the problem, I tried to see what the diferences between installations that worked and did not work. When I set up the wine-lights.com domain I selected version 5.1.2 (previous installations used 4.4.0) I heard that there were some issues with 5.1.2 so I changed back to 4.4.0. My ISP claims that is what broke the installation. They kept telling me I was not installing the applicaion correctly, but after 2 subsequent installations on the server they looked into it. They said "We finally figured out the problem.You had previously asked us to configure the SSL page as PHP5. You have reset the wine-lights.com domain to PHP4. When you did this, the settings did not take to the SSL site.
We have manually set the SSL site back to PHP4, and it appears to be working properly."

Got a Zencart Tatoo & Vanity Plate