Shopping Cart Software

Shopping Cart Software ClickCartPro XCS Version
corner image corner image

Upload pictures failed, is there anyone can help me...?

Upload pictures failed, is there anyone can help me...?

Postby lilyrst » 17 Apr 2012 09:06

When I upload picture from this module: Product Display Images, then there will be a error:

Script Execution Error

file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir

restriction in effect. File(C:\Windows\Temp\php614C.tmp) is not within the allowed path(s):

(C:\Inetpub\vhosts\photoloving.com\httpdocs\)

File: /private/core/KHXC_File/KHXC_File.php Line: 393 Error Number: 2

What can I do, is there anyone can help me, thank you very much in advance.

Besides, we use ClickCartPro Version 6...

Lily
lilyrst
 
Posts: 2
Joined: 28 Jul 2011 02:24

Re: Upload pictures failed, is there anyone can help me...?

Postby GreenbarnWeb » 18 Apr 2012 07:47

Hi Lily,
It sounds like you have not set the permissions correctly during the install see this section of the install documentation.
SETTING PERMISSIONS
After you've uploaded all two directories from the installation archive file to the Public and Private
Directories on your webserver, you will need to ensure permissions are set correctly on those
directories and files. The installer script will present an error if both the directories and the files
do not have the correct permissions level.
The Public Directory and the Private Directory as well as all the files in the Public Directory will
need to have writable permissions. Read below to find out how to set permissions on these
directories and the files in the Public Directory for your particular operating system:
For Unix/Linux webservers: Setting permissions on these two directories and the files in the
Public Directory is done using your FTP client software. Simply highlight the directory or file
and choose to change it's 'Permissions', 'Properties' or 'CHMOD'. If your webserver runs under
an anonymous account (like 'nobody' or 'apache') to execute your Internet scripts, you will
have to set a permission level of '777' on the directories and files. If your webserver runs
under your user account to execute your Internet scripts, you may be able to set a permission
level of '755' on the directories and files. When in doubt, set the directories and files to
permission level '777'.
For Windows webservers: Setting permissions on these two directories and the files in the
Public Directory is done using Windows Explorer. Permissions on Windows webservers are set
on directories only, with any file in a given directory taking on the same permission level as it's
parent directory. If you do not own and operate your own Windows webserver you will most
likely have to request that permissions be set on the Public and Private directories by your
server administrator. Ask the server administrator to set permissions on the two directories to
'Full Control' for the process that PHP runs under. Typically permissions must be set to 'Full
Control' for the groups 'Web Applications', 'Web Anonymous Users' and 'Everyone'. These
permission changes need to be done via Windows Explorer, not the IIS Control Panel.
Note for Unix/Linux webserver administrators: See the 'UNIX/LINUX INFO' section below for
information on how to change the software's default permissions level (777) for script created
files and directories.

PS Please only post your question one time in one section.
Howard Galpin
http://www.greenbarnweb.com
http://www.clickcartpro.co.uk - UK Customised version
http://www.clickcartpro.eu.com - European Customised version
GreenbarnWeb
Site Admin
 
Posts: 1155
Joined: 29 Jul 2009 10:58

Re: Upload pictures failed, is there anyone can help me...?

Postby lilyrst » 18 Apr 2012 08:42

Thank you very much for your help friend, problem was solved :D :D :D Have a nice day(*^__^*)
lilyrst
 
Posts: 2
Joined: 28 Jul 2011 02:24


Return to Installation & Upgrade Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron
corner image
Valid XHTML   Valid CSS   w3c wai aa
GreenbarnWeb.com © 2001 - 2013
corner image