Forums / Setting Up Categories, Products, Attributes / "please visit this product's webpage" link trouble

"please visit this product's webpage" link trouble

Locked

Started by bonkycat on 1 Aug 2009, 4:34 AM · Views: 3,969

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
1 Aug 2009, 4:34 AM
#1
bonkycat avatar

bonkycat

New Zenner

Join Date:
Aug 2009
Location:
Washington State
Posts:
54
Plugin Contributions:
0

"please visit this product's webpage" link trouble

Version: Zen Cart 1.3.8a Patch: 1:: Fresh install
Addon/customized: Template
linux with godaddy
URL: https://www.platinumringjewelry.com
I searched the forum and FAQs, found 31 posts related to this topic but none held the answer for me.

The link on the products page that takes them to the "product's webpage" is not functioning properly, it currently does this:
http://platinumringjewelry.com/index.php?main_page=redirect&action=url&goto=www.stuller.com%2Fproducts%2Fproductdetails.aspx%3Fiid%3D69634

However, it didn't have a problem before moving to new hosting. I have reloaded the information and no change.

Also, it doesn't malfunction in the admin when previewing the product before updating.

Any and all help greatly appreciated.
Lisa:blush:

1 Aug 2009, 9:10 PM
#2
bonkycat avatar

bonkycat

New Zenner

Join Date:
Aug 2009
Location:
Washington State
Posts:
54
Plugin Contributions:
0

Re: "please visit this product's webpage" link trouble

Apologies, I forgot to add an important piece of information.

One of the posts I read that contained similar information to my problem had the user look for a redirect folder. In that example the user had an empty redirect file and the problem was resolved for him and no other information was provided.

I have checked the redirect file and compared it to another and all of the information is there and appears to me (a complete novice) to be complete and accurate.

For some reason on the site I am working on, the product's webpage link is putting my own site back into the URL in front of the URL to the manufacturers actual product page.

Hope that I have been more clear.

4 Aug 2009, 3:50 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: "please visit this product's webpage" link trouble

How did you add the URL on the Product when editing it?

Example:

Products URL:
(without http://)
https://www.microsoft.com/hardware/mouse/explorer.asp

NOTE: there isn't any: http:// used on the URL for the Product ...

NOTE: when adding/editing a manufacturer, that DOES use the: http://

Example:

Manufacturers URL:
http://www.microsoft.com

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

4 Aug 2009, 11:12 PM
#4
bonkycat avatar

bonkycat

New Zenner

Join Date:
Aug 2009
Location:
Washington State
Posts:
54
Plugin Contributions:
0

Re: "please visit this product's webpage" link trouble

Hi Linda,

Yes, I checked that before posting. Both fields were entered as required and the problem still presents itself. I had another problem yesterday and was searching the forums for the answer. In doing so I came across something that might be causing all of the problems. As I mentioned in the first post, the trouble started after moving to new hosting. It appears that somewhere in the saving/downloading then uploading again process, the code became double spaced. I followed instructions in another post and looked in specific files to remove extra space before or after the code, it did fix some of the smaller problems when the extra spaces were present.

With the problem yesterday, I couldn't change the store from showcase to showcase with prices. I then discovered I couldn't change the customer shopping settings either. A poster with a similar situation was directed to the admin/includes/functions/html_output.php file. Although I didn't have the exact problem the other poster had, I did decide to copy a clean, single spaced version of that file and it fixed both of those problems. I had hoped that it might be the same for the products webpage issue and repeated the process in the redirects file. I am afraid that it didn't work.

I am beginning to think it has something to do with double spacing in a file, but which file(s) controls the "view this product's webpage" information? Unless I am totally off base and there is another possibility. At this point I am willing to try anything :)

Thanks in advance for your time,
Lisa

5 Aug 2009, 1:50 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: "please visit this product's webpage" link trouble

Could you give me an URL and a click for click to see this happen ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Aug 2009, 1:35 AM
#6
bonkycat avatar

bonkycat

New Zenner

Join Date:
Aug 2009
Location:
Washington State
Posts:
54
Plugin Contributions:
0

Re: "please visit this product's webpage" link trouble

Thank you for your continued assistance. I re-entered the information for the products webpage on one item for you to see. I had just removed these because of the problem with the links. I hope the following is what you wanted when you asked for a click for click.

link to the website home page:

http://platinumringjewelry.com/index.php?main_page=index

link to the product category:

http://platinumringjewelry.com/index.php?main_page=index&cPath=1

link to the product:

http://platinumringjewelry.com/index.php?main_page=product_info&cPath=1&products_id=102

link that comes up in the address bar when clicking the "Please visit this products webpage" link in the product description:

http://platinumringjewelry.com/index.php?main_page=redirect&action=url&goto=www.stuller.com%2Fproducts%2Fproductdetails.aspx%3Fgrp%3Dj%26gid%3D29979%26cid%3D0%26iid%3D69634

when clicking this last link the page remains grey.

Lisa
Edit to add: for some reason the forums program is shortening all of the links.

6 Aug 2009, 4:45 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: "please visit this product's webpage" link trouble

Do you have as the link:

https://www.stuller.com/products/productdetails.aspx?grp=j&gid=29979&cid=0&iid=69634

Or do you have:

www.stuller.com%2Fproducts%2Fproductdetails.aspx%3Fgrp%3Dj%26gid%3D29979%26cid%3D0%26iid%3D69634

When I use the first one on my site, I have no problem going to the link ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Aug 2009, 8:13 PM
#8
bonkycat avatar

bonkycat

New Zenner

Join Date:
Aug 2009
Location:
Washington State
Posts:
54
Plugin Contributions:
0

Re: "please visit this product's webpage" link trouble

This is the link exactly as entered into the products page via the admin:
https://www.stuller.com/products/productdetails.aspx?grp= j&gid= 29979&cid= 0&iid= 69634

I then click the preview button, and during preview I can click the "webpage" link and it works perfectly. However, once I have clicked update and try to access it through the live site's link on the products page, it does this:
http://platinumringjewelry.com/index.php?main_page= redirect&action= url&goto= h t t p : / / w w w .stuller.com % 2Fproducts% 2Fproductdetails.aspx% 3Fgrp% 3Dj% 26gid% 3D29979% 26cid% 3D0% 26iid% 3D69634[/url]

Putting my site's url in front, adding all of the extra garbage and not redirecting to the manufacturer's site.

*I have added spaces after all = signs and % signs in both links so the complete information appears on the forums

7 Aug 2009, 4:10 AM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: "please visit this product's webpage" link trouble

Could you post, from the server, without your username and password, your /includes/configure.php file?

The only time I have seen that mess up when correctly entered is due to a bad configure.php file, bad SEO or an add-on ... :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Aug 2009, 12:04 AM
#10
bonkycat avatar

bonkycat

New Zenner

Join Date:
Aug 2009
Location:
Washington State
Posts:
54
Plugin Contributions:
0

Re: "please visit this product's webpage" link trouble

<?php /** * dist-configure.php * * @package Configuration Settings * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $ * @private */ // 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 define('HTTP_SERVER', 'http://platinumringjewelry.com'); define('HTTPS_SERVER', 'https://platinumringjewelry.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/content/n/e/m/nemasaem2/html/platinum/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); // prefix for database table names -- preferred to be left empty define('DB_SERVER', 'pla09xxxxxx45066.db.4694325.hostedresource.com'); define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxx'); define('DB_DATABASE', 'pla09xxxxxx45066'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/content/n/e/m/nemasaem2/html/platinum/cache'); ?>

There is actually an extra emptly line under the ?> on the server. I tried to delete this extra space as described in another post, and then save the file with the change and got an error that the file could not be saved.

8 Aug 2009, 5:40 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: "please visit this product's webpage" link trouble

I am not seeing anything obvious on that ...

As to not being able to save, be sure you are not editing the file directly on the server ... download it, make the change and then upload it again ...

What happens if you switch to the Classic Template ... does it work?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Aug 2009, 7:01 PM
#12
bonkycat avatar

bonkycat

New Zenner

Join Date:
Aug 2009
Location:
Washington State
Posts:
54
Plugin Contributions:
0

Re: "please visit this product's webpage" link trouble

Yep, I was being naughty and tried to remove that extra space after ?> directly on the server. I will download that file, remove the space and upload again and see what happens.

Upon switching to the classic template, no change. It does exactly the same thing as before.

I also have a new problem I think is related to this:
The cart is live, the buy now button is present and when clicked, it takes me to the same blank page I get when trying to click the products web page link. Funny thing, when I click back, the product shows as being in the cart. I can then click the shopping cart button and go to the cart and see it. BUT, then I click checkout and get the same blank page again.

It seems to be a problem with every action that needs to be redirected. Very irritating, but hopefully provides more clues to the overall problem.

Thanks again for taking the time with me.
Lisa

9 Aug 2009, 8:06 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: "please visit this product's webpage" link trouble

Bonkycat:

it takes me to the same blank page I get when trying to click the products web page link...
Try the debug logging utility mentioned here: https://www.zen-cart.com/tutorials/index.php?article=82

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Aug 2009, 9:04 PM
#14
bonkycat avatar

bonkycat

New Zenner

Join Date:
Aug 2009
Location:
Washington State
Posts:
54
Plugin Contributions:
0

Re: "please visit this product's webpage" link trouble

DrByte:

Try the debug logging utility mentioned here: https://www.zen-cart.com/tutorials/index.php?article=82

I must be absorbing some Zen! Right after I posted earlier today I went to your "blank page" forum post in the general questions section and followed the debug instructions. I was thrilled to come back here and find you advising me to do just that! :bigups:

I will say it was one of the easiest things I have ever done and...

IT SOLVED ALL THE PROBLEMS! :clap:

As it turns out, all three problems were caused by the same issue that the debug utility caught. It was, in fact, extra blank lines after the ?> in the includes/languages/english.php file. The debug found it, I removed the extra white space at the end of the code and all is well with the world. :hug:

There were a lot of files I had done this to previously when getting errors in the admin and checking this forum for the solution. A heads up to others: Godaddy's ftp will double space code and add extra space at the end of that code. Simple fix if you use the debug utility from the get go.

Thanks a million!

Lisa

9 Aug 2009, 10:41 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: "please visit this product's webpage" link trouble

Ain't that Debug Tool just the cat's meow?! :cool:

Thanks for the update that you found the problem with this ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!