|
|
|
|
Joined: 1/30/2012
Posts: 6
|
|
|
Hi,
I am using the latest version 4.86 of Smith Cart. On the Product details page I found an error in Google Chrome, the error is a file not found 404 error message for the module.css file.
I then noticed this on every product details page, it seems like the url for the module.css file is not correct and is in the format:
http://www.mysite.com/Products/Item/tabid/114/ProductID/2/myseotag/module.css
Is there any way to turn off the url generation?
Regards,
Vinod
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hello,
Which version of DNN are you currently running?
Do you have friendly urls turned on in your dnn portal? Do you have any errors showing in your dnn event viewer or windows event viewer?
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 1/30/2012
Posts: 6
|
|
|
Hello,
Which version of DNN are you currently running?
We are using DNN 06.01.03
Do you have friendly urls turned on in your dnn portal?
Yes, friendly URL's are turned on and are using the DNN defaults
Do you have any errors showing in your dnn event viewer or windows event viewer?
There are no errors related to this in the dnn event viewer or windows event viewer.
|
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hello,
I just tried to re-produce this error on my test portal and was unable to recreate the error but I may not have the exact same configuration as you. Can you login to our test site http://www21.smith-consulting.com/ and try to replicate the error. This will determine if the issue is with the latest version of the cart or an issue with your specific dnn portal/cart install.
Please send an email with a link to this post to kevin@smith-consulting.com to receive login credentials to the test site.
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 1/30/2012
Posts: 6
|
|
|
Hi Kevin,
I was able to replicate the issue on your portal right away. There are two files that give a 404 error. (I fixed the zoomloader.gif error by copying the file to the directory). The important one is the module.css file as that url is generated dynamically. Please see the screenshot link below (I could not upload the image because your Upload new attachment is giving an error: An error has occurred. Error: is currently unavailable.).
http://s14.postimage.org/4t5lronr5/02...
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hello,
Please explain the steps taken to cause "module.css" added to the url, the screenshot you included above did not show this issue.
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 1/30/2012
Posts: 6
|
|
|
Hi Kevin,
I have not changed the www21.smith-consulting.com page in anyway, I just opened the page on my brower and the 404 was generated.
To replicate, open this page on the Google Chrome browers http://www21.smith-consulting.com/Sto... which shows the productdetail module. Then view the developer tools of Google Chrome, there will be two errors, when you check the errors in the console tab it will show that two files failed to load. One of the files is module.css from the smith cart module.
Alternatively, try running the w3c link checker or any broken link checker app on the url above :
http://validator.w3.org/checklink?uri...
The w3c results will show the following issue with the page:
-
Line: 126 http://www21.smith-consulting.com/Sto...
-
Status: 404 Not Found
-
The link is broken. Double-check that you have not made any typo, or mistake in copy-pasting. If the link points to a resource that no longer exists, you may want to remove or fix the link.
|
|
|
|
| |
|
|
|
|
Joined: 1/30/2012
Posts: 6
|
|
|
Any update on this issue?
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hello,
You need to use relative links in your descriptions and images. If you do a view source of your page, you will see http://www.yoursite.com/...
That http is what the error is referring to. It should be https, so instead of the absolute link, you need use relative links "/Portals/0/SmithCart/ZoomImages/1650416-gran_turismo_5_box_art.jpg"
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 1/30/2012
Posts: 6
|
|
|
Hi Kevin,
The problem is not on the product images, it is with the module.css file. i.e
http://www21.smith-consulting.com/Store/ProductDetails/tabid/81/ProductID/1/module.css
This url gets generated automatically by the Smith Cart module, so I do not have any way to define it as relative or absolute url.
It is happening right now on the http://www21.smith-consulting.com/ site.
Regards,
Vinod
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Vinod,
What Google developer tools is referring to is the "Add To Wishlist" button. It was originally designed to use a asp:linkbtton with an image although the image aspect the button has not been fully deployed although it is referenced. Disabling the Wishlist Button feature will prevent the message from being shown or if you would like to use the feature, I would not worry about the message in Google Developer tools as it does not have an negative implications on the performance of the module.
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 6/8/2010
Posts: 1
|
|
|
I ran into the same issue even on version 5.0 of SmithCart on the confirmation page.
The fix is simple:
Go to Confirm.ascx of the BuyNow module.
Line #2 Before:
<link href="module.css" rel="stylesheet" type="text/css" runat="server" />
Line #2 After:
<link href="/DesktopModules/Smith.BuyNow/module.css" rel="stylesheet" type="text/css" runat="server" />
You can do the same thing to any of the ascx files located in the ProductDetail page.
Remember that the new href tag will be different there.
Make sure you change the url to:
/DesktopModules/Smith.ProductDetail/module.css
All the best,
Simcha Khabinsky
|
|
|
|