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 12-24-2010 16:44:05

fangle77
Member
Registered: 09-01-2007
Posts: 5

HostPapa Server - some initial installation snags

Hello

Background info:

My web server is HostPapa.ca.

I've uploaded CCP6's khxc directory to my Domain's public file area :  /public_html/khxc/ .

Browser and computer info: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13)

-------------------
Problem #1

The CCP6 user manual directs me to open installer.php by way of wwwmysite.ca/khxc/installer.php .
My browser can't access the khxc directory and the web server's support staff don't know why.
They suggested that I move the files out of khxc up into public_html , at least to see if the installer.php file works.
I moved the files as suggested ( wwwmysite.ca/installer.php ), and the browser opened it.
-------------------
Problem #2

But now installer.php is rejecting the installer password.  I'm copy-pasted the password from the email that was sent to me when I bought the software.

-------------------
Questions:
Are you familiar with HostPapa's software, and would you care to hazard a guess as to why the browser isn't accessing that directory.

Then, why is ClickCartPro's installer.php not recognising my installer password.

Thanks for any help.
Apologies in advance for whatever information I forgot to include.

OF

Offline

 

#2 12-24-2010 17:07:02

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: HostPapa Server - some initial installation snags

Is the khxc directory owned by the web process or has the correct permissions?

You should not have been sent a admin password, then installer will or should create it when it is accessed for the first time. Generally when the installer script is accessed the first time it asks for a encryption phrase and for a password which it inserts into the config.php files (private and publuc) and continues from there.

Where did you get the code? When was it purchased?

John

Offline

 

#3 12-24-2010 17:50:26

fangle77
Member
Registered: 09-01-2007
Posts: 5

Re: HostPapa Server - some initial installation snags

dh783 wrote:

Is the khxc directory owned by the web process or has the correct permissions?

You should not have been sent a admin password, then installer will or should create it when it is accessed for the first time. Generally when the installer script is accessed the first time it asks for a encryption phrase and for a password which it inserts into the config.php files (private and publuc) and continues from there.

Where did you get the code? When was it purchased?

1. I set the permissions to "777" according to the user manual.

1b. And I haven't seen a reference to 'web process ownership', I don't know what that is, so thanks for mentioning it, I'll try to find information about that.

2. Apologies, as I said, some info was bound to be left out.  My first attempt to install this was about a month ago.  The Installation proceeded to a question involving MySQL, then it snagged, so I tried to start over.
I don't remember being supplied a password by the Installation at the onset.
I've removed the entire directory and uploaded a fresh installer package.

First I'd like to understand why my browser won't recognise and access the khxc directory (and why my web host support staff don't understand the problem either).  Once I can access installer.php , I'll begin a fresh installation and make more notes this time, as I go along.

Thank you.
OF

Offline

 

#4 12-24-2010 19:42:46

fangle77
Member
Registered: 09-01-2007
Posts: 5

Re: HostPapa Server - some initial installation snags

dh783 wrote:

Is the khxc directory owned by the web process or has the correct permissions?
[snip] the installer will or should create [the password] when it is accessed for the first time.
When was it purchased?

Hi John

Update on your first question:

I understand more about what 'web process owner' means, and the khxc directory is in my Domain's public_html area, so I guess that doesn't count as the web process owner's area.  The Permissions to the directory had been changed to '777' according to the user manual's directions.

Update to your next questions:

I purchased the software 09/23/2007.  In the receipt email I was sent a user name, password, and licence key.
If the installer creates the password, then maybe it does so at the end of the installation process.
My installation process was interrupted (for some reason it hung near the end of the process).  Perhaps the installation process had proceeded far enough along that it was expecting the password, but it hadn't generated one.

When I tried to install the second time, and was asked for the password, I went back to that original email-receipt and tried using the password or licence key there, because I couldn't think of what other 'password' it would be requesting.

Thanks: Thinking about your questions put me on this track.
As I've said, I've uploaded a fresh installer bundle to the public_html directory.  Still can't access khxc, but I'll sleep on it.  Maybe Santa' will know.  I'll try to suss that access problem first, then walk-through a fresh installation.

Cheers, and thanks again
OF

Offline

 

#5 12-25-2010 05:08:40

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

Re: HostPapa Server - some initial installation snags

When CCP is purchased the only thing that is provided is the license key. There is no user name and password associated with CCP at purchase time. When you run the installer you are asked for a password at the very first step of the installation process and that password is used if you run the installer again AND it is used as the initial admin password.

If you have forgotten the password or wish to start the installation process from the beginning you may remove the config.php files which you will find in the public CCP directory and the private CCP directory.

Edit to add: The user and password that was confusing the issue was the user and password to download the installation ZIP file (which has nothing at all to do with installing CCP).

Last edited by Dave (12-25-2010 11:45:05)

Offline

 

#6 12-25-2010 20:10:14

fangle77
Member
Registered: 09-01-2007
Posts: 5

Re: HostPapa Server - some initial installation snags

Hi

I'm at page 11 of the CCP6 installation process.

Nothing I have entered into the Form windows works.
I get the same message (some of you know it by heart): "An error was encountered while creating a new KHXC object. Error Information: The KHXC constructor function was accessed during initialization by an Installer interface with a password, however the password supplied could not be validated."

I couldn't find mention of this error message, in CCP.pdf, and I can't find a reference to it using an online Search Engine.
Is this error message pointing to a discrepancy in the data I'm inputting into the Form windows, or is it pointing to a problem elsewhere on the server?

------------------------------------------------------------------------------------------
Here are some details...

Log-on name to my domain : fangle
I'm installing CCP6 to a subdomain: subdomain.domain.com

I used CPanel to create a MySQL Database Name:
  CPanel displays Database Name : fangle_databasename
              and Database Username : fangle_user
                               then password : password

That information is intended to fit into four Form windows:

Database Hostname ['localhost' is a suggested automatic setting]
Database Name
Database Username
Database Password

Thinking it may point to a problem with my input information, I've tried various combinations of the above information.

Can you point me to information dealing with this snag?

Thanks
OF

Offline

 

#7 12-27-2010 06:22:36

Design_Wholesale
Member
From: England!
Registered: 11-21-2008
Posts: 1104
Website

Re: HostPapa Server - some initial installation snags

First off, where did you buy your software from, if you don't mind my asking, and is it definitely CCP 6.0 [I'm wondering if, possibly, you have purchased one of Howard's forks (variants of the mainstream software) and, if not, I would definitely question the legitimacy and authenticity of the software because there is no way that a genuine copy of CCP 6.0 needs be packaged with a password (the password, as has already been said, is created during the install process - you will require a license key and a further key that can be absolutely any number sequence, within reason, : )]?

Secondly, taken from numerous working installs, you may need to change the group ownership of your web directories (both that containing your webstore and for that that is to contain your core files) to the webserver software (:  and the file permissions to 775 (there should be absolutely no need for 777 file permissions if the group ownership of your HTTP directory can be changed to that of your web server software, and not having 777 file permissions is better for the security of your site, too).

Thirdly, on the database side of things, you need to create a database and then add a user (you don't need to worry about specifically giving access to a certain database to that user because it will usually be assumed that that user has access to any database, limited only by the permissions granted to that user; although this does depend on your level of access and how the users are configured during the creation process.

The following setup should work fine, but you may not be able to set all of them on your setup:

: best kept small case, all one word, and text only

:  if possible

:  if possible

:

:

Be careful with the password, - certain special and multibyte characters, including #,@,/,\, should never be used or are best avoided.


The install process password is a basket to sort. - I usually go with something simple, like something or test, because you are asking for problems otherwise. - Anything fancy and it will simply not get set in the configuration files and the database.

Don't forget, also, that the install process is not HTTPS by default (so anyone sniffing your packets during the install process is able to pick up on every last detail of your install process, including your database details and password) ...so if you can use SSL on your site (even if it is using a self-signed certificate) !

You might also see a warning about unauthenticated content when installing using SSL.  To fix this just go into the  file and remove the two instances of

Code:

<img src="https://central.kryptronic.com/public/media/header_khxc.png" alt="KHXC" width="400" height="50" />

that you will find in there.


Finally, for now smile , rename your !! - Probably every damned script kiddie on the planet knows to looks for  and you just would not believe the number of users on this forum, never mind CCP users in total, who have really nice stores yet who do not even bother with the simple step of renaming that file to something different (and, yes, I am well aware that it doesn't take much to work out what it has been renamed to, but would you rather, if your store was to get comprised, be the person who tried to make it more difficult or the person who simply could not be bothered?).

Last edited by Design_Wholesale (12-27-2010 07:07:26)

Offline

 

#8 12-27-2010 09:10:59

fangle77
Member
Registered: 09-01-2007
Posts: 5

Re: HostPapa Server - some initial installation snags

Hi

> First off, where did you buy your software [snip]

I purchased CCP6 from Kryptronic, a few years ago, for people who dragged their feet on their project for so long that now I'm dusting-off the software and preparing to use it with a new project.
Much has been forgotten in the ensuing years.  Such as, exactly what happened when I first purchased it.
I've been hoping to learn a few things about the installation and configuration of this Cart despite the fact that most attempts I've made to focus on it have seen interruptions which can last for several days.
Ignore that reference to that email with the password, it didn't pertain to the original purchase as I'd thought it had.

> group ownership of your web directories and the file permissions
> SSL , rename your

Thanks, I'll ask my Web Host about that.  At the moment I'm just trying to be sure that I've got all the sub-directories created properly.  I was talking to Holiday Staff, over the last couple of days; maybe I should have waited.

I'm trying to find out

1. Will this install into a sub-domain.   one.ca/two/khxc  (The new project will be "two".  That's the site that will use the Cart.)

2. I've got both sub-directories in  one.ca's  public_html section:  public_html/two  +  public_html/khxc  .  Should it instead be  public_html/two/khxc

3. I interpreted the user manual to say that I should upload the installer files into a khxc directory. 
I first loaded the individual files into  one.ca/khxc  ('777' permissions as the user manual directed)
Should I have uploaded the entire folder, "installer-clickcartpro6" instead of the individual files.

4. When the installer files were in  one.ca/khxc , my browser couldn't find them.  My Web Host can't tell me why.

5. Now that I've moved the five installer files into  one.ca/public_html , my browser sees the files, and the installation has proceeded to Step 10, where now I'm snagged with MySQL.


I don't want to experiment with permissions settings until I am certain that I've got directories set-up correctly.  Maybe the installer simply thinks it should be looking in one location for a write-to file, and it's in another area because I was thinking one way while the user manual assumed I'd be thinking another way, during initial set-up.

Thanks!
FO

Offline

 

#9 12-27-2010 10:30:14

Design_Wholesale
Member
From: England!
Registered: 11-21-2008
Posts: 1104
Website

Re: HostPapa Server - some initial installation snags

Two directories - one for your core files (which should, ideally, be outside of any web directories) and one for your install files - are all you need in order to install the software.

If you had root access I would say give each of your subdomains their own directory unless the intention was to have them sharing the same content.  In your case, though, I would say to have   directory and to then have two directories in that, those being  and  (be careful with periods in directory names - it is best not to use them in that context unless absolutely necessary).

I would also ignore your second project for the moment (yes, create the directory structure, but leave anything else concerning the other project out of things until you can get the first working).

The only files you will require for installing the software are , , , and  (all of which should be in the same directory).  It also should not matter at all whether you install into a directory or sub-directory, as long as your paths are correct (: as long as the install process can correctly identify where to install everything).

One important thing to remember with setups like yours is that  is  web directory, and needs to be unique. - Place anything outside of that directory, or start creating duplicates of that folder, and you will encounter problems with , not least not being able to view pages whilst browsing.  That said, your {private} directory, for the core files, does, ideally, need to be outside of your  directory, but it will have to be owned by your web server or it will have to be accessible to your web server group name, : www-data for Apache running under Linux, for the webstore to function and it will also have to have  or  file permissions.

Last edited by Design_Wholesale (12-27-2010 10:38:45)

Offline

 

Board footer