Post by midlifedesign » Thu Apr 18, 2013 4:14 am

Hi Guys and Girls
I have purchased a ssl certificate for my store. I have read every google article i can find about ssl and opencart but am running full speed into a brickwall every time. If someone could assist I would donate my first born daughter (thats a joke btw)

so far I have
Checked SSL is installed and it passes all the tests
Changed the radio button in Opencart to use SSL
Edited the root config.php to https to https
Edited the Admin config.php the same

If I look at the store it all shows but if I go to login or admin or checkout I get "You don't have permission to access /index.php on this server"

I am an enthusiastic learner but by no means a card carrying geek so any replies would be appreciated in the language of the dim. Imagine you are Yoda and I am the first guard from the left.

Thanks in advance

New member

Posts

Joined
Thu Apr 18, 2013 3:47 am

Post by bedek » Thu Apr 18, 2013 4:22 am

Website address??

Newbie

Posts

Joined
Thu Apr 18, 2013 1:06 am

Post by victorj » Thu Apr 18, 2013 5:31 am

looks like settings on server or something like that.

Give me a PM with link to store and i will have al ook.
solved problems for my store as well

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by butte » Thu Apr 18, 2013 10:46 am

Your ssl blocks even index.php and shouldn't apply to anything except sensitive owner, store, and customer information. The extremely critical passage into a payment processor is secured there. What happens if you briefly disengage ssl in the admin panel Settings (now; you'd turned it on)? You might have been too restrictive or broad in which directories are affected by ssl.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by midlifedesign » Thu Apr 18, 2013 3:13 pm

Thanks guys. I contacted the hosts, who were very unhelpful, and asked them some questions that people had suggested here. All of a sudden they seemed more interested. Anyway it turns out the config.php script was missing the www prefix which they say was causing the problem. Its now working fine.

Thanks for taking the time to reply

New member

Posts

Joined
Thu Apr 18, 2013 3:47 am

Post by butte » Fri Apr 19, 2013 4:19 am

That seemingly little difference (www. or not) arises in several quite different practical contexts, so keep in the back of your mind as a quick-fix to try. If it stays fixed, then go ahead and mark it Solved.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by midlifedesign » Fri Apr 19, 2013 6:52 pm

Okay so I thought it was fixed and started working on it today (its a work in progress) the following occurred
1. In Firefox no certificate warnings - in Internet explorer certificate warnings
2. type in the address and the https appears with the padlock. However when you click on something to buy it adds it to the cart, however if you then go to checkout it doesnt take the next stage. If you login first and buy something then go to checkout it logs you out. V frustrating.

any help gratefully received.

url is www.gostickit.co.uk

Thanks

New member

Posts

Joined
Thu Apr 18, 2013 3:47 am

Post by midlifedesign » Sat Apr 20, 2013 1:32 am

I have upgraded to 1.5.5.1 to see if that would make a difference and if I go into products I get the following error message.
"Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: "

Could this be related.

Just tying the rope up now and getting a chair ready.

New member

Posts

Joined
Thu Apr 18, 2013 3:47 am

Post by qahar » Sat Apr 20, 2013 1:56 am

check your admin/config.php, code below should be available:

Code: Select all

define('HTTP_CATALOG', 'http://yoursite.com/');
define('HTTPS_CATALOG', 'https://yoursite.com/'); 
if not then define it.

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by midlifedesign » Sat Apr 20, 2013 6:16 am

it is in there already

New member

Posts

Joined
Thu Apr 18, 2013 3:47 am

Post by midlifedesign » Sun Apr 21, 2013 6:22 am

ok so I think I have the shop working ok now but in the admin area I now get the error message

undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/sites/gostickit.co.uk/public_html/admin/model/tool/image.php on line 34Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /h

if I go into products.

Any ideas anyone?

New member

Posts

Joined
Thu Apr 18, 2013 3:47 am

Post by butte » Sun Apr 21, 2013 12:23 pm

Preliminarily, note that where it was logging you out on 19th, IF you were logged in BOTH as admin and as customer, you had caused admin panel and store to set mutually incompatible cookies when you went back and forth. First retry without doing that; kill all cookies, then go in as customer only. If you were NOT logged in that way, then there's a problem to find there.

Probably Firefox and IE have different security settings for certificates. Customers' settings are beyond reach, but at least what you saw alerts you to what customers might encounter just because of what they have set on their own machines. On your own machine you can check what you did to IE.

I understand why the entries were put into the config.php files, but I'd try two simple steps right now, since from whatever other settings there are anywhere else you're getting "Use of undefined constant HTTPS_CATALOG" and "assumed . . . image.php" out of it (note ASSUMED). (1) Double-check that "www." AND ALL of the punctuation marks (per line: PAIRED parentheses and quotation marks, ONE semicolon) are still in there in both config.php files. If fixed, then retry. (2) Otherwise, then try REMOVING the lines for HTTPS_CATALOG (but put 'em back afterward if that doesn't help, either).

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by midlifedesign » Wed Apr 24, 2013 3:59 pm

Hi

The line34 is now solved.
The only problem is in Firefox and in Chrome if someone puts items in the cart and then click checkout it goes to cart but wont go to checkout. The only way is to login first for it to work. Obviously that isnt ideal. Any suggestions?

New member

Posts

Joined
Thu Apr 18, 2013 3:47 am

Post by butte » Wed Apr 24, 2013 11:22 pm

We seem to have gone from seems to be working but admin doesn't work, to admin working but checkout doesn't work in Firefox and Chrome, so I'll restart there.

There's an OC setting to require registration (manual preregistration included) and approval, then log-in. in order to order. Check that one.

You seem to have favored IE and its spinoffs (AOL, Earthlink, etc.), and possibly Safari and Opera (using IE rendering), to the extent that Firefox and Chrome are sub- or de- or dysoptimized.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by midlifedesign » Thu Apr 25, 2013 4:41 am

butte wrote:We seem to have gone from seems to be working but admin doesn't work, to admin working but checkout doesn't work in Firefox and Chrome, so I'll restart there.

There's an OC setting to require registration (manual preregistration included) and approval, then log-in. in order to order. Check that one.

You seem to have favored IE and its spinoffs (AOL, Earthlink, etc.), and possibly Safari and Opera (using IE rendering), to the extent that Firefox and Chrome are sub- or de- or dysoptimized.
I havent planned to favour either - how could I have done that?

Cannot find the section about require registration any clues?

Thanks

New member

Posts

Joined
Thu Apr 18, 2013 3:47 am

Post by deltaguns » Thu Apr 25, 2013 6:30 am

I'm a SSL Expert. Let me know your web address and I'll check it out for you.

New member

Posts

Joined
Wed Apr 24, 2013 7:03 pm

Post by butte » Thu Apr 25, 2013 7:02 am

You seem to be rummaging amongst changes without knowing what you're doing and without doing enough homework.

(1) You can optimize for one or another sort of browser by choice or by default, such as to alternative sequences and syntax of code that different browsers or versions will NOT read the same way even if you were unaware that there are alternate code sequences and syntax and used only one snippet at a time of codespeak that you found somewhere.

(2) Bear in mind that in the entire admin panel there are taken together a small finite number of items to read and to set, before you might add enough categories, products, customers, and the like to complicate a few portions of that, and a quick perusal of your URL shows plainly that there does appear for all the world to be only a very small and finite number of entries among the entirety of your categories, products, and from them probably also customers. It would actually have been helpful to have looked among the few buttons and tabs.

I said "an OC setting"; that pretty well must mean inside the admin panel, where, lo, under System you'll see Store and Edit, and Edit will bring up an array of tabs, one of which in intelligible English says, "Approve New Customers: Yes No Don't allow new customer to login until their account has been approved," and another just below it in intelligible English says, "Guest Checkout: Yes No Allow customers to checkout without creating an account. This will not be available when a downloadable product is in the shopping cart." At this juncture I shall assume that the checkboxes labeled Yes and No will be self-explanatory.

Approval relates to registration, which as the signup label says (registration) is what they do in order to sign up or to await your approval. Under Sales / Customers you will see a roster, with two columns labeled "Status" and "Approved" (or similar). You can manually insert, you can manually approve, and you can manually enable customers; or instead wipe them out. There is nothing of whatsoever nature newsworthy on either side of The Pond about the plain meanings and interrelationships among registration, account, and various other commonly deployed words bearing upon those.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by deltaguns » Thu Apr 25, 2013 7:19 am

If your website is gostickit.co.uk you have a hostname mismatch.

gostickit.co.uk redirects to 79.170.40.48 goes to a invalid self-signed SSL Certificate from your host.
http://www.gostickit.co.uk redirects to 79.170.43.19 which has your valid SSL.

Go to your DNS Zone and edit gostickit.co.uk to point to 79.170.43.19
and have www just use a cname to that ip.

This is why you are getting certificate errors on IE, because some of your static content loads from the non-www hostname.

New member

Posts

Joined
Wed Apr 24, 2013 7:03 pm

Post by butte » Thu Apr 25, 2013 7:42 am

Now is the time, from what was said about "www." somewhat earlier above, and from what about "www." was just posted, to ensure that both OC config.php files, all of your registrar account's dns or forwarding domain settings, and all of your hosting account's dns or forwarding or redirection domain or subdomain or (sub)directory settings, and whatever is in your .htaccess file(s), are in strict mutual agreement. All of them.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by midlifedesign » Thu Apr 25, 2013 4:58 pm

Thanks will try when I get back to office

New member

Posts

Joined
Thu Apr 18, 2013 3:47 am
Who is online

Users browsing this forum: No registered users and 34 guests