Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

  • Index
  •  » ClickCartPro 6
  •  » CCP6 installation fail, file/folder permissions and heart internet

#1 06-23-2008 18:19:49

andysweb
Member
Registered: 03-28-2008
Posts: 37
Website

CCP6 installation fail, file/folder permissions and heart internet

Hi all,

I ma trying to set up CCP6 on Heart internet on a reseller package.

I have set all of the file/folder permissions to 777 but it won't install and i keep on getting the error.

'A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.'

Can anyone advice?

Thank you

Andy

Offline

 

#2 06-23-2008 20:44:17

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: CCP6 installation fail, file/folder permissions and heart internet

Is that the exact message you are getting?  The installer shouldn't be outputting anything that "brief".

Offline

 

#3 06-24-2008 01:49:08

andysweb
Member
Registered: 03-28-2008
Posts: 37
Website

Re: CCP6 installation fail, file/folder permissions and heart internet

Hi Dave, 

Yes that is the error I am getting.

I have just sent you a private message with the URL to the installer.. you can verify it if you like.

Any ideas?

Thank you

Andy

Offline

 

#4 06-24-2008 05:17:30

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: CCP6 installation fail, file/folder permissions and heart internet

As I said in my reply, if the directory and file permissions are set to 777 try changing them th 755.  That message is coming from your provider not the installer.  Some hosts try to be helpful and will prevent things from being executed if the permissions are set to 777.

Offline

 

#5 06-24-2008 05:20:33

andysweb
Member
Registered: 03-28-2008
Posts: 37
Website

Re: CCP6 installation fail, file/folder permissions and heart internet

Thank you. I am out of the office at the moment but will report back here with results when I return.

Thanks again for the help.

smile

Offline

 

#6 08-13-2008 02:26:26

picstart
Member
From: United Kingdom
Registered: 07-11-2006
Posts: 428

Re: CCP6 installation fail, file/folder permissions and heart internet

Hi andy, dave

i had this problem yesterday,  i set all file permissions to 755 as heart state that 777 is root permission only, i have now got the installer to run but i only get as far as step 3 pear installation themn i get this message 


Script Execution Error
load_pear(khxc/PEAR.php) [function.load-pear]: failed to open stream: No such file or directory
File: /installer.php Line: 7188 Error Number: 2

have just noticed that pear.php is in khxc-private directory,    the above statement appears to be saying in the khxc dir  (may be wrong)  khxc/pear.php ??????


i have 3 installs on heart but all were copied over from backups and the installer re run , i do nort want to have to do this everytime  , has the uk installer been altered in any way , this is now causing major problems and we neeed to sort it quickly any help would be appreciated.

we have two more installs of carts to do after this one

thanks in advance

Last edited by picstart (08-13-2008 02:31:29)


"It may be my worst nightmare at present..... but soon it will be my dream"

Offline

 

#7 08-13-2008 05:32:58

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: CCP6 installation fail, file/folder permissions and heart internet

There have been no changes to the installer and there is only one version of the installer (it's used for both the US and UK/EU versions ... the license key determines which one is installed).

The error you are seeing would seem to indicate that the installer was not able to create the directory for pear in the private directory path that was specified.  As the installer downloads things they are put into a temporary directory until they are unpacked and moved to their final destination.

Offline

 

#8 08-13-2008 06:40:33

picstart
Member
From: United Kingdom
Registered: 07-11-2006
Posts: 428

Re: CCP6 installation fail, file/folder permissions and heart internet

hi dave,
the pear directory is there and there are four directories in there including install all dirs have 777 settings on them, there is also a temp dir in khxc private dir

should they be set to 755 as heart states?


i have tried to run the installer again and it now says the following

Script Execution Error
load_pear(khxc/PEAR.php) [function.load-pear]: failed to open stream: No such file or directory
File: /installer.php Line: 7188 Error Number: 2

Last edited by picstart (08-13-2008 06:42:54)


"It may be my worst nightmare at present..... but soon it will be my dream"

Offline

 

#9 08-13-2008 06:47:35

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: CCP6 installation fail, file/folder permissions and heart internet

By default all file and folder permissions are set to 777 by the installer and by CCP itself if/when it creates files and/or folders.  I suspect that the way your provider has things the 777 permissions are causing you the problem.  Try changing everything to 755 and see if it helps.  Depending on your FTP client or control panel you should be able to select the top level directory and change everything at once from there.

Offline

 

#10 08-13-2008 07:06:02

picstart
Member
From: United Kingdom
Registered: 07-11-2006
Posts: 428

Re: CCP6 installation fail, file/folder permissions and heart internet

Hi Dave,
rest all dirs to 755,

had to delete all previously installed files as installer script would not run, progressed through installer till same point and got same error

getting frustrated now please help

also checked permissions all dirs in private dir set to 777 ( must be by installer not me ) can this be changed


"It may be my worst nightmare at present..... but soon it will be my dream"

Offline

 

#11 08-13-2008 07:13:59

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: CCP6 installation fail, file/folder permissions and heart internet

Edit installer.php and right near the top you will see 3 variables for permissions which will all be 777.  Change all 3 of them to 755 and give it another whirl.

What I've seen hosts do is block files from being "visible" if their permissions are set to 777 when the host will only allow/support 755.  If you change the installer permission defaults to 755 everything that is created during the installation should end up with permissions as 755 instead of 777.

Offline

 

#12 08-13-2008 08:58:54

picstart
Member
From: United Kingdom
Registered: 07-11-2006
Posts: 428

Re: CCP6 installation fail, file/folder permissions and heart internet

Hi Dave ,
done the changes to the installer file and i still get the same error


all the dirs are now showing 755 and i still get exactly the same error


Script Execution Error
load_pear(khxc/PEAR.php) [function.load-pear]: failed to open stream: No such file or directory
File: /installer.php Line: 7188 Error Number: 2


"It may be my worst nightmare at present..... but soon it will be my dream"

Offline

 

#13 08-13-2008 09:47:14

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: CCP6 installation fail, file/folder permissions and heart internet

Hate when that happens sad  If you want to e-mail me your URL, installer PW and FTP details I'll take a quick look for you.  I seem to recall some odd things with that provider from an install I did somewhere along the lines but the details escape me (or I might have been dreaming it).  I run into so much strange stuff with providers it's scary.

Offline

 

#14 08-13-2008 10:47:08

picstart
Member
From: United Kingdom
Registered: 07-11-2006
Posts: 428

Re: CCP6 installation fail, file/folder permissions and heart internet

details sent (email)


"It may be my worst nightmare at present..... but soon it will be my dream"

Offline

 

#15 08-13-2008 11:17:03

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: CCP6 installation fail, file/folder permissions and heart internet

And I've replied smile

Offline

 

#16 08-14-2008 08:09:28

picstart
Member
From: United Kingdom
Registered: 07-11-2006
Posts: 428

Re: CCP6 installation fail, file/folder permissions and heart internet

sorted ,

many thanks to Dave


"It may be my worst nightmare at present..... but soon it will be my dream"

Offline

 

#17 08-26-2008 08:51:13

Litemaster
Member
From: Plymouth, Devon, UK
Registered: 12-03-2005
Posts: 147
Website

Re: CCP6 installation fail, file/folder permissions and heart internet

Hi Dave,

Some of my servers are on the Hart network. Can you let us into the fix details? I am currently running uphill very slowly trying to get our CCP6 cart back on line after a complete re-install from scratch. The back end xcore is working fine but we have problems with the front end CCP 6.0.7 in particular we cannot alter or edit any of the cart database data such as products and more importantly Commerce: Orders and Checkout.

When viewing the pages the Update Delete Manage Items Summary / Invoice appears at the top line of the Data Overview and not in-line with each entry. this means we cannot edit or manage any of the data. It could be a permissions problem or a problem with the page layout template.

All suggestions are welcome, I have cleaned down the server and reloaded the default cart a number of times to no avail.


Mike Simpson
wwwdjshopper.net
(Currently unable to trade)

Offline

 

#18 08-26-2008 09:07:02

picstart
Member
From: United Kingdom
Registered: 07-11-2006
Posts: 428

Re: CCP6 installation fail, file/folder permissions and heart internet

Hi Litemaster,
some of the problems i had were all related to permissions errors , the rest were a misundertstanding of the installer and how it runs,

I found out from heart that the permision 777 cannot be used (it will be ignored as it is root level only) so they advised that i set any 777's to 755 (directorys)

you have to modify installer.php directly after this line

Code:

$main_path_force   = '';

and change the permissions from 777 to 755 for the three lines.

make sure there is no config.php installed already on the site where the install is going.

Dave also said that the install files all must be in the directory where you want the files to be installed.  (which is one of the things that caused one of my problems)

also i made the silly msitake of leaving part of a file path off , which caused my final problem of the admion working but not the front end (dont ask me why)

dont know whether this helps.

regards Picstart


"It may be my worst nightmare at present..... but soon it will be my dream"

Offline

 

#19 08-26-2008 09:19:38

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: CCP6 installation fail, file/folder permissions and heart internet

According to my notes it was simply a matter of incorrect paths to where things were Mike.

Offline

 
  • Index
  •  » ClickCartPro 6
  •  » CCP6 installation fail, file/folder permissions and heart internet

Board footer