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.

#1 03-10-2012 10:52:28

Lin
Member
Registered: 09-26-2008
Posts: 61

Europacart7-ccp51 installation problem

I have been trying to install a updated version of Europacart7-ccp51, but I have got an error message as follows when in the step 1 of 13 of installation process:

Fatal error: Call to undefined method COREinstaller::GetMessage() in C:\Inetpub\vhosts\mydomain\httpdocs\store\installer.php on line 10448

Any help please?

Offline

 

#2 03-12-2012 08:04:47

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Europacart7-ccp51 installation problem

This most likely is the result of the password and password_copy fields not matching in your public and private config.php files.  Copy the password value from the public file to the password_copy field in the private file.


Nick Hendler

Offline

 

#3 03-12-2012 18:39:42

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

Hi Nick thanks, but I didn't follow you, as I only saw a config.php file in my public directory, and there was no any file in my private directory. Which private file I should copy the password vlaue to please? Thanks.

Offline

 

#4 03-13-2012 11:03:36

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Europacart7-ccp51 installation problem

You should have a config.php in your public and a config.php in your private directory.  If not that is a problem.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#5 03-13-2012 18:27:36

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

Hi Jeremy thanks, I have copied the same config.php file to the private directory, but it was same error message.  Any helps please?

Offline

 

#6 03-13-2012 18:30:59

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Europacart7-ccp51 installation problem

The file is slightly different.  I take it you are running version 7.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#7 03-13-2012 18:41:24

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

yes, I am running version 7. Wen installing it in the second  'continue', the problem happened.

Offline

 

#8 03-13-2012 18:46:04

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Europacart7-ccp51 installation problem

Well the private config is different from the public config in several ways.  Are you on shared hosting or a VPS?


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#9 03-13-2012 18:52:47

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

I am on VPS and it is new by using Microsoft IIS 7.5, also there was no previous version of CCP51 on the server

Last edited by Lin (03-13-2012 18:58:56)

Offline

 

#10 03-13-2012 18:59:00

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Europacart7-ccp51 installation problem

So are you trying to update your store? or move it to this VPS?  I am a little confused on that point.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#11 03-13-2012 19:05:02

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

move to a new VPS, so I want to install a new version of ccp7 into this server

Offline

 

#12 03-13-2012 19:07:07

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Europacart7-ccp51 installation problem

Got it.  It appears you are on a Windows host.   I would first try a clean unzipping and reuploading of the files to make sure it isn't a bad upload.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#13 03-13-2012 19:10:45

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

Yes, it is windows server. I have already tried once, also deleted 'store' directory and created a 'shop' directory, but the result was same. The files I downloaded after unzipping are as follows: admin.php 19KB, index.php 19KB installer.php 308KB and both pdf files 16KB each

Last edited by Lin (03-13-2012 19:16:44)

Offline

 

#14 03-13-2012 19:16:05

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Europacart7-ccp51 installation problem

Well if you have commandline access you can try running the script from there to see if you get the same results.  However, as stated, it seems you are on a Windows host and I haven't had much experience with PHP on Windows.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#15 03-13-2012 19:44:55

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

Hi Jeremy thanks. The line 10448 code in installer.php is as follows: 

Error Information: " . $this->GetMessage($result);

which I also copied the whole code as follows:

// +--
// | Loop through our private directories and create them if they
// | don't exist.
// +--

foreach ($dirs_private as $key => $dirname) {

     $directory = $this->globals('core.path_private') . '/' . $dirname;
     if (!(@file_exists($directory))) {

          umask(0);

          $result = $this->make_dir($directory);

          if ($this->IsError($result)) {

               $message = "The installer was unable to create a '{$dirname}'
                           directory within the Private Directory Path. 
                           Permissions may be incorrect on this directory.
                           Error Information: " . $this->GetMessage($result);

               $result = $this->RaiseError($message);     // 10448 line here!!!

               return $result;

          } // End of if statement.

     } // End of if statement.

} // End of foreach statement.

Any helps please?

Last edited by Lin (03-14-2012 03:55:14)

Offline

 

#16 03-14-2012 09:14:18

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Europacart7-ccp51 installation problem

This appears to be a permissions issue.  Be sure that permissions are set on the public and private installation directories so that the webserver can write to them.  Generally this would be CHMOD 777.


Nick Hendler

Offline

 

#17 03-14-2012 11:54:04

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

Following the installation instrction, I have set  up the permissions to 'full control' before where I am using Windows server. I have just done it again for both private and public directories, and I found out that even I set up the 'full control' for all users such as SYSTEM, Plesk IIS WP user, Plesk Domain User, Plesk IIS user, Administrator, when right clicking both directories, I can see the Attributes for both them are still Read-only. I unclicked the Read-only Option and saved the changes, but when  checking it again,   the Read-only option is still clicked. I don't know why I couldn't change it. Is this 'Read-only' prevented me for installation?

Last edited by Lin (03-14-2012 11:55:26)

Offline

 

#18 03-14-2012 12:51:52

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Europacart7-ccp51 installation problem

Do you have Windows applications you must run on the server?  If not why did you choose Windows for hosting.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#19 03-14-2012 19:38:44

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

No, I didn't have. When I was buying a new VPS, I just wanted to try a Windows server and didn't think about too much other things.

Last edited by Lin (03-15-2012 03:36:57)

Offline

 

#20 03-15-2012 09:08:31

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Europacart7-ccp51 installation problem

I would HIGHLY recommend dumping Windows and switching to Linux.  It is of course your call but Windows is far less stable and more annoying than Linux.

Also there are a lot more PHP developers offering applications for websites than there are for ASP/iNet.  While PHP runs on Windows it is really designed for Unix/Linux.  Plus if you are on Windows you are most likely running IIS over Apache or Ngix which again are more supported in forums like this one and by most PHP developers.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#21 03-15-2012 09:57:24

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

Hi Jeremy thanks. It seems my service provider is unhappy to do that, as I have already sent a request two days ago for switching, but they still didn't response. In the meanwhile I will still try to set up the permission properly for the private directory, as for the public directory, it seems OK due to  the config.php file being built up, that means it was writable. I will let you know my progress.

Last edited by Lin (03-15-2012 09:59:11)

Offline

 

#22 03-15-2012 18:01:16

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

I have finally installed the software into my new server.  It was the permission issue, after comparing both Public and private directories, I found out that for the private directory there was no Plesk IIS user and Plesk IIS WP user (strange thing). After adding both users and setting up their permissions, the installation went smoothly. Hi Jeremy and Nick, thank you both very much for for your helps.

Offline

 

#23 03-15-2012 18:06:06

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Europacart7-ccp51 installation problem

Good deal on getting CCP loaded on Windows.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

#24 03-15-2012 18:22:01

Lin
Member
Registered: 09-26-2008
Posts: 61

Re: Europacart7-ccp51 installation problem

Hi Jeremy thanks. It seems version 7 changed a lot. still long way to go for making our system backing to normal.

Offline

 

#25 03-29-2012 13:02:02

knightrideruk
Member
From: United Kingdom
Registered: 03-05-2009
Posts: 47
Website

Re: Europacart7-ccp51 installation problem

Hi

Make sure that the following groups are set up in IIS7 and have full permissions.

Machine Name/Users
Machine Name/FTP User
Machine Name/ISUSER

Without these being set IIS will not allow access

Took us a while to sort same problem.


Regards

Knightrideruk
Out of the darkness comes light...

Offline

 

Board footer