So I did an empty search through Advanced Search at here:
http://www.princessly.com/catalogsearch/advanced/
And Magento redirected me to here:
http://www.princessly.com/errors/report.php?id=693893419&skin=default
And when I click "Back" button to get back to http://www.princessly.com/catalogsearch/advanced/, it correctly gave me the error message: "Please specify at least one search term."
This is really weird.
My questions are:
Why did Magento not behave well by giving a nice error message at http://www.princessly.com/catalogsearch/advanced/ but rather redirected me to http://www.princessly.com/errors/report.php?id=693893419&skin=default ? This is not user-friendly IMHO.
How to specify a theme for the /errors/report.php page?
Thanks!
Seems I installed a theme which has a class file that has white spaces before the code begins, thus typical "headers already sent" error.
And one can change the theme of the error page by this guide: http://www.magentogoreview.com/custom-magento-theme-for-error-there-has-been-an-error-processing-your-request~144
I found this by the help of this doc: http://www.magentocommerce.com/wiki/there_has_been_an_error_processing_your_request
Related
I was going to buy this wordpress theme.
http://progressionstudios.com/themes-wp/?theme=Renovation
But when I checked it through validator.w3.org , it says the page is Invalid.
It says 5 Errors, 36 warnings
http://validator.w3.org/check?uri=http%3A%2F%2Fprogressionstudios.com%2Fthemes-wp%2F%3Ftheme%3DRenovation&charset=%28detect+automatically%29&doctype=Inline&group=0
Well, my question is, does it really matter ? Should I really care about these 5 Errors, 36 warnings and avoid buying this theme ? Or forget the errors and go ahead. ?
You checked the site which is embeding the theme for errors not the theme itself. Click the remove this frame button on the top right and you will get the original adress of this theme.
The Theme:
http://renovation.progressionstudios.com/
The Validation:
http://validator.w3.org/check?uri=http%3A%2F%2Frenovation.progressionstudios.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices
8 Errors & 1 Warning
Doesnt look so bad i think - you could just fix these by yourself the validator even tells you how.
I'm using shopify and i'm got some trouble with my online store.
I wanted to set up a french store and replace in my cart "check out" by "commander" and "remove" by "retirer".
I went to "theme.liquid" and changed the code.
Unfortunately, it doesn't change anything, at least i don't get what i want. As you can see on the screenshot below, the "check out" and the "remove" are still showing up. They are eventually replace by "commander" and "retirer" as i wanted if i refresh the page and only if i do so. How can i modify the code so they are definitely replaced by the new values?
Thanks for helping
Regards
You should edit cart.liquid instead of theme.liquid
I am a working on a website for a leisure portal company in Germany. I am having trouble dealing with a truncated url. If you were to go to the web link http://www.regiondo.de/staedte/duesseldorf/lernen-unterricht-duesseldorf/musikkurse-duesseldorf , on the left side of the screen under KATEGORIEN, you would see Gitarrenunterricht (1).
If you click on it, the user is redirected and gets a 404 page not found error, since the actual url to where the user is supposed to redirected is http://www.regiondo.de/staedte/duesseldorf/lernen-unterricht-duesseldorf/musikkurse-duesseldorf/gitarrenunterricht-duesseldorf , is truncated and 'duesseldorf' at the end of the url truncates to just duessel
Now I have looked at the HTML code for the webpage and it has the specific code:-
a href=/staedte/duesseldorf/lernen-unterricht-duesseldorf/musikkurse-duesseldorf/gitarrenunterricht-duessel>Gitarrenunterricht (1)
Now I understand that by changing duessel to duesseldorf I can rectify this issue but this url truncation inside the HTML is happening for many other urls as well(all of which were knowingly typed correctly). What are the possible problems or bugs from the backend which could cause such URL truncation problems. Since I am new to web development I would love to hear your suggestions and views. Thank you.
In your Magento build set the products to not use the category name in the URLs. Then the problem goes away.
http://www.example.com/index.php/admin/system_config/edit/section/catalog/
Then in Search Engine Optimisations section:
Use Categories Path for Product URLs -> No
This is something of a follow-up question to my question here. You can find the HTML source in a text file here.
When I load that page in IE8, I get the "Done, but with errors on page." message in my status bar. The detail view shows
Expected identifier
sms Line: 147
Code: 0 Char: 67
and I see absolutely no problems anywhere near there. In IE8, the page is still behaving erratically w/r/t the randomly losing focus as mentioned in my other question.
When I load the same exact page in Firefox (using Firebug) the console shows no errors and the page works perfectly. Any thoughts on what's going on here? This is driving me nuts and making me want to give up on even trying to write an IE friendly page.
Edit: Thanks for all the comments! This page is written as a JSP, so I edit in Eclipse. I found an Eclipse warning about the onblur event for the username field. I switched it from
onblur="alert(document.activeElement + ' class:' + document.activeElement.class)"
to
onblur="alert(document.activeElement)"
and that made the bizarre IE page error vanish. I had been trying to give more info (namely, its CSS class) about specifically which element is stealing focus - to my own detriment, apparently, since Javascript was interpreting the '.class' part in the Java(script) sense there is no class property (I should have been using className).
And, no, the page doesn't validate. But the errors were mostly/all ones that just didn't make sense to me, such as
Line 14, Column 41: Attribute "LANGUAGE" is not a valid attribute. Did you mean "language"?
But I'm still stuck trying to figure out why, as I enter text in the username & password fields, focus randomly switches to a div (working on figuring out which div currently).
Edit 2: It's the div between the two "global nav" comments, at the very top of the body. Still no idea why it's happening, though.
The problem appears to be the line
onBlur="alert(document.activeElement + ' class:' + document.activeElement.class)"
when you take off the ".class" it loads without issue. Are you sure ".class" is valid?
Does your HTML validate?
I agree, IE does a terrible job giving developers information about page errors. I only support IE on the principle that users shouldn't have to download twenty-odd browsers to go to their favorite websites. Web developers have a responsibility to make it "just work". Browser developers have a responsibility to communicate with each other and conform to standards.
Run your javascript through JSLint. You probably have a missing semicolon somewhere or a comma at the end of an object property that shouldn't be there. Firefox is more forgiving than IE when it comes to those types of syntax errors.
Edit: The inline js in your page seems to be OK. Check the contents of qm_scripts.js.
When I remove the .class from document.activeElement.class the error goes away.
The real issue is that you need to be able to debug your JS in IE 8, correct? There is a tool for that! :)
Hey. the busted website is: www.mgxvideo.com/mgxcopy-alpha-3, and the specific error that I'm getting is the thing where IE prints out all my source code.
As far as I can tell, the error is appearing at random in IE6, 7, and 8, but it's a commonly occuring error. I'm looking for explanations, debugging tools, fixes. Anything is appreciated, because I'm fully stuck.
Here's how to reproduce:
Add item(s) into cart.
At the display cart (the url shud end with cart_display_ie.php)
Use the shipping calculator over and over and over again until you get the error. It's happened one the first, second, 5th, and the 17th try.
Reset cookies to restart from fresh
Here are some possibly relevant details
1and1 hosting, php from scratch, and mysql
I'm using Mark Sanborn's php code to interface with UPS's servers.
I'm using a local DTD for xhtml transitional 1.0
This error also appears in the checkout cart and also seems associated with the UPS function.
This isn't directly relevant, but IE also plagues me with "The XML page cannot be displayed."
Occassionally, the "The XML page cannot be displayed" is displayed as a small canvas within the context of a source print like the error I'm printing. It'll appear near the location of the error in html source, except the canvas has a really small width and height, and not display any further source code afterwards. I've fixed all these errors; they were all caused by improper syntax or w3 rationing of DTD downloads.
The cart_display*.php is responsible for adding products, removing products, and calculating shipping.
Sometimes it's something stupid like custom settings on my computer b/c I tweak with random settings that cause side effects. But I've tested in msft's VirtualPC, and had friends reproduce the error.
Here are some resources of similar problems. I haven't tried them because--even if they work--they mean that the website doesn't work at typical/default settings.
http://www.techsupportforum.com/microsoft-support/internet-explorer-forum/168285-ie7-problem-printing-html-xml-source-rendering.html
http://www.computing.net/answers/windows-xp/ie6-printing-problem/160128.html
Like I said: any explanations, tools, guesses, or fixes are fully appreciated. I'm trying to finalize the site so I can present it as a beta within the week, and I'm fully stuck. Also, is there a workaround (like a tag) that can hide this error from the user?
I grabbed a network capture of the repro using Fiddler (www.fiddler2.com).
It looks like you're sending an HTML comment containing a webservice result before the HTML body. It further looks like IE is subsequently sniffing this as an XML body instead of a HTML response.
It appears that if you move your HTML comment inside your HTML tag, the problem goes away.
Note that you should confirm changes in a new browser tab. Once IE is on an XML page, simply hitting F5/Refresh isn't necessarily going to show you the HTML content properly due to caching of the MIME-type decision.
To resolve this issue, you need to re-register two dlls.
Open a elevated command prompt and type following commands
regsvr32 /i mshtml.dll
regsvr32 /i shdocvw.dll
For detailed fix steps, visit http://geekzsupport.com/internet-explorer-prints-html-source-code/