Zen Cart Logo
Forums / General Questions / Broke the product webpage link

Broke the product webpage link

Locked

Views: 678

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
1 Apr 2010, 5:38 AM
#1
halollet avatar

halollet

New Zenner

Join Date:
Mar 2010
Posts:
66
Plugin Contributions:
0

Broke the product webpage link

So I broke my code somehow somewhere and I'm a little annoyed.

My link takes me to this

http://http//mysite.ca/cart/index.php?main_page=redirect&action=url&goto=

the http// should be www. and I punched it in to check and it worked.

So where is that defined?

    <p id="productInfoLink" class="productGeneral"><?php echo sprintf(TEXT_MORE_INFORMATION, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_url), 'NONSSL', true, false)); ?></p>
1 Apr 2010, 7:05 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Broke the product webpage link

includes/configure.php around lines 16-17

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com

and similar in admin/includes/configure.php around lines 29-32

Make sure that

  1. you don't mix up the 2 files - they ARE different
  2. change permissions on the server to writable BEFORE uploading and back to read-only AFTER uploading
1 Apr 2010, 3:16 PM
#3
halollet avatar

halollet

New Zenner

Join Date:
Mar 2010
Posts:
66
Plugin Contributions:
0

Re: Broke the product webpage link

I just checked them and the both say

define('HTTP_SERVER', 'http://myDomain.ca');
  define('HTTPS_SERVER', 'https://myDomain.ca');

So, that doesn't seem to be it...

What else could it be?


p.s. thanks for the speedy reply :clap:

8 Apr 2010, 11:30 PM
#4
halollet avatar

halollet

New Zenner

Join Date:
Mar 2010
Posts:
66
Plugin Contributions:
0

Re: Broke the product webpage link

Had a thought. I don't need a redirect since its just a link to my own site.

So how would I code it just to open a link like normal with the 'action=url&goto='?

(I'm not that knowledgable about php, please help :( )

16 Apr 2010, 4:56 PM
#5
halollet avatar

halollet

New Zenner

Join Date:
Mar 2010
Posts:
66
Plugin Contributions:
0

Re: Broke the product webpage link

I'm sorry I have to bump this, but I really need help with this.

I can't have my store without this problem fixed!!!!

:(:(:(