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.
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
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.
Offline
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
You should have a config.php in your public and a config.php in your private directory. If not that is a problem.
Offline
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
The file is slightly different. I take it you are running version 7.
Offline
yes, I am running version 7. Wen installing it in the second 'continue', the problem happened.
Offline
Well the private config is different from the public config in several ways. Are you on shared hosting or a VPS?
Offline
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
So are you trying to update your store? or move it to this VPS? I am a little confused on that point.
Offline
move to a new VPS, so I want to install a new version of ccp7 into this server
Offline
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.
Offline
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
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.
Offline
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
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.
Offline
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
Do you have Windows applications you must run on the server? If not why did you choose Windows for hosting.
Offline
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
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.
Offline
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
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
Good deal on getting CCP loaded on Windows.
Offline
Hi Jeremy thanks. It seems version 7 changed a lot. still long way to go for making our system backing to normal.
Offline
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.
Offline