Jump to content

Links Broken after upgrade from 4.02 to 4.1.1


Guest maksum

Recommended Posts

I upgraded from 4.0.2 to 4.1.1 and everything seemed to go smooth, but now some of the links are broken and go to a page not found screen. I can kind of see what it's doing.

First off, I looked at the links within the skin folder and it looks like this:

a href="index.php?_g=co&_a={CART_STEP}"

Which seems fine, as a fresh install of 4.1.1 looks that same way. On the front end when I look at the link it's like this:

http://kidzkaffe.com/shop/index.php?_g=co&_a=cart

That also looks fine, BUT the page it actually navigates to is this:

https://www.kidzkaffe.com/shopkidzkaffe.com...2aa0f29472d75ff

(see the extra "kidzkaffe.com" in there?)

Everything was working fine on 4.0.2 with regard to these links. Anyone know why it would suddenly be adding that?

Product links are fine. It's just links like "View Cart", "Login", "Register", etc.. Site docs links seem fine too.

Thanks for any help that can be provided.

Link to comment
Share on other sites

I might be making some progress, in that I was told to try turning off SSL to see if the links work. They DO work when I turn it off?

Still, don't know where to fix the problem.

Here is what I have in admin under the SSL settings. You see anything that might be off?

HTTP Root Relative Path: /shop/ *

e.g. /store/

HTTP Absolute URL: http://kidzkaffe.com/shop *

e.g. http://www.domain.com

HTTP Root Path: /home/lconant/public_html/shop *

e.g. /path/to/your/webstore

Enable SSL: YES

Force SSL: NO

HTTPS Root Relative Path: /shop/

e.g. /store/

HTTPS Absolute URL: https://www.kidzkaffe.com/shop

e.g. https://secure.domain.com/store

HTTPS Root Path: /home/lconant/public_html/shop *

e.g. /path/to/your/secure/webstore

And of course the note for the asterisks is:

* This textbox is for reference only. To change the value please edit includes/global.inc.php

If it would be helpful, here is what's in by global.inc.php file:

<?php

$glob['adminFile'] = 'admin.php';

$glob['adminFolder'] = 'admin';

$glob['dbdatabase'] = '*****';

$glob['dbhost'] = 'localhost';

$glob['dbpassword'] = '*****';

$glob['dbprefix'] = '';

$glob['dbusername'] = '*****';

$glob['encoder'] = 'ioncube';

$glob['installed'] = '1';

$glob['license_key'] = '*****';

$glob['rootRel'] = '/shop/';

$glob['storeURL'] = 'http://kidzkaffe.com/shop';

?>

***** = stuff you probably don't need and I probably shouldn't post to the public.

So?? Any thoughts... anything look obvious? Like I said, I've messed around with a lot of things, but haven't seemed to stumble upon a solution. Like I said, turning off SSL does indeed make those pages work. Thanks for that clue.

Mike

Link to comment
Share on other sites

Your setting in global.inc.php is $glob['storeURL'] = 'http://kidzkaffe.com/shop'; but for SSL you have 'https://www.kidzkaffe.com/shop'; ?

Thanks for your response. When I add the "www." to the global.inc.php file the problem is still there and I see no change. When I delete the "www." from the HTTPS setting in admin it gives me a new error:

kidzkaffe.com uses an invalid security certificate.



The certificate is only valid for www.kidzkaffe.com



(Error code: ssl_error_bad_cert_domain)





	* This could be a problem with the server's configuration, or it could be someone trying to impersonate the server.



	* If you have connected to this server successfully in the past, the error may be temporary, and you can try again later.

Any other ideas?

Link to comment
Share on other sites

According to your certificate your should have the www. in your url so $glob['storeURL'] = 'http://kidzkaffe.com/shop'; should have the www. added

Do you have SEO enabled? If so try turning it off.

Ok, added it back into the global.inc.php file. Still getting this link when clicking on "View Cart":

(see the extra "kidzkaffe.com/" in there?)

SEO is turned off... never had it on through this process.

Link to comment
Share on other sites

YAY. :yeahhh:

I think we're fixed now. I wrote to support and they responded:

Use the latest release of /includes/sslSwitch.inc.php (ie one from V4.2.3). That should take care of the issue. Also, make sure that your standard and SSL domains match exactly as anything else will wreak havoc with some browsers -- this means if your certificate has the 'www' on it, that ALL instances should use the 'www'. Hope this helps!

That newer file seems to have done the trick. I hope that someone else can benefit from this thread sometime.

Mike

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...