Forums / Installing on a Windows Server / Can't get it to work.

Can't get it to work.

Locked

Views: 2,262

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
4 Aug 2009, 3:38 PM
#1
neweb avatar

neweb

New Zenner

Join Date:
May 2008
Posts:
17
Plugin Contributions:
0

Can't get it to work.

Hi,
I am having real problems with the back end of my cart.

If I go to ADMIN>TOOLS>DEFINE PAGES EDITOR and try to update a page I get the following Error:

Warning: fopen(C:/Inetpub/vhosts/domain.tld/httpdocs/zen/includes/languages/english/html_includes/classic/define_main_page.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\vhosts\domain.tld\httpdocs\zen\admin\define_pages_editor.php on line 75

Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\domain.tld\httpdocs\zen\admin\define_pages_editor.php on line 77

Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\vhosts\domain.tld\httpdocs\zen\admin\define_pages_editor.php on line 78

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\domain.tld\httpdocs\zen\admin\define_pages_editor.php:75) in C:\Inetpub\vhosts\domain.tld\httpdocs\zen\admin\includes\functions\general.php on line 21

If I try to add an image to a product or upload images I get the message:

Warning: move_uploaded_file(C:/Inetpub/vhosts/domain.tld/httpdocs/zen/images/tp43.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in C:\Inetpub\vhosts\domain.tld\httpdocs\zen\admin\includes\classes\upload.php on line 112

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\Temp\php26C3.tmp' to 'C:/Inetpub/vhosts/domain.tld/httpdocs/zen/images/tp43.jpg' in C:\Inetpub\vhosts\domain.tld\httpdocs\zen\admin\includes\classes\upload.php on line 112

I have Zen installed on a Windows Server running IIS6 and mySQL 5.2

can anyone help with this please!!

4 Aug 2009, 7:50 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Can't get it to work.

Ah ... a classic problem with windoze servers.

You'll have to set the right permissions on the files, as per the installation documentation.

Related FAQ: https://www.zen-cart.com/tutorials/index.php?article=9

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

4 Aug 2009, 8:38 PM
#3
newebirl avatar

newebirl

New Zenner

Join Date:
Aug 2009
Posts:
16
Plugin Contributions:
0

Re: Can't get it to work.

Your a STAR
It worked a treat. :D

Thank you very much for that.

Going off now to play with it again. :smile: