I'm using CF9
When editing a field which updates information on a db in a cfgrid, I get this error:
"Error invoking CFC /assetMgmt/assetdata.cfc : Error Executing Database Query. [Enable debugging by adding 'cfdebug' to your URL parameters to see more information]".
adding ?cfdebug to the end of the url and hitting enter opens the menu to search for items to populate the grid, so the cfdebug parameter gets removed once the grid has been populated (because of hitting the search button).
I guess I need some way to enable this cfdebug mode without having to navigate to the page, since it removes the cfgrid. Sorry if that sounds confusing
Here's my advice: Use chrome or Safari. Open the developer tools and look at the console. Make sure that xmlhttprequests are being logged.
Now access the page with the issue. You will see the error logged (likely a 500 error) in the console along with the URL that was requested. Right click on the url and open in a new tab. This will rerun the request and output the result directly in the browser so you can see the error being thrown. Fix the error and you should be good to go.
If you need any more assistance please let me know.
I found that giving a sql column an alias with a space in it caused an issue in ext-all.js with cfgrid. To fix this, I replaced the spaces with non breaking spaces ( ) and it solved the issue.
Related
I'd like to ask you a question about the Loginview of Django.
I'm using the Loginview as it is.
There's a problem, but I'll open two browser tabs and leave them open as login pages (the same browser )
When I log in first from one browser tab and log in from another browser tab (both are the same browser), the csrf_token error appears, which is 403 Forbidden error!
The way I want to do it is to log in without errors even if I log in from another browser tab if I'm already logged in from one browser tab.
Also, I'm trying to solve it using Ajax, but I'm not familiar with it, so I'm having a hard time solving the problem.
How should I solve this?
I am making edits to a client's Sharepoint site.
I checked out the page, made all the changes required, checked it back in, and am waiting on their go-ahead to publish.
I want to double-check that certain elements are the same as they were before I started editing. Generally I would go to site contents > pages > version history of the page I am working on, and look at the currently published version (because, as an editor, it seems to only show me the unpublished draft when I am on the page URL).
Tried to do that today and am getting an error: Sorry, something went wrong
Exception from HRESULT: 0x80131904.... Insightful and intuitive Microsoft error - well done guys (NOT).
Is there any other way that is more straightforward to just view what is currently published?
The quickest way to do this is to either log on as a test account that has only got read only permissions, or to ask one of your colleagues that doesn't have edit permissions to browse to the page and you can see what they see.
Version history, while is helpful when you need to roll back, won't show changes to web parts or other hidden elements when viewing it, so it's not always that helpful when using it for a case like yours.
As a side note, to log in as another user in SP2013, append this to your URL: http://yoursite/_layouts/15/closeconnection.aspx?loginasanotheruser=true
None of my Information links work, when I click on them it only shows up as a blank page. the URL is right and the ID numbers are right eg. ?route=information/information&information_id=4.
Strangely when I click on the Terms and conditions link when completing an order it takes me to the correct page but only shows the content and none of the formatting of the home page. If I click on the same link from the footer it just shows as blank.
I have activated logging and no errors appear, I have checked the footer.tpl and everything looks fine. Does anyone have any ideas?
Thanks
The blank page is definitely an error, which should be visible in your error log (most likely from an extension/theme you've installed). If it doesn't show in the OpenCart error log under SYSTEM > ERROR LOGS then you need to check out your servers PHP error log. The T&C page is actually showing because it doesn't load through the same method as the one in your footer, and is supposed to be a simplistic page. However, this should load up in a popup not change your browser page. It sounds like your theme is screwing up
I delete the defualt home node and create another node called Home Page. And when I type http://[instance name] sitecore gives me an error shows that no layout found. ![enter image description here][1]
I can us the page editor and page content normally. But when i type the http://[instance name]in the browser, it doesn't show the default page. Why?
I am just a fresh in Sitecore, please be more specific.
Error:The layout for the requested document
was not found.
Most likely causes:
The resource you are looking for (or one of its dependencies) may have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
What you can try:
Go back to the previous page
Go to the start page
More information
I usually hit this issue when I have a fresh install and haven't done a publish yet. Publishing gets the master and web in sync, and given that your Page Editor experience is fine it seems like your Master is in good state but Web is not.
It could be that your new Home node doesn't have a layout attached to it. If you log on to Sitecore's Content Editor and go to the Presentation tab -> Details, do you see anything assigned to the Default device?
If you do, it might be because you still need to publish your changes. If you don't, try attaching the layouts (there's some sample layouts as well that come with Sitecore to check if that's the issue).
Do the checks that Trayek suggests, but also check if your site definition and hostname are set correctly in the /app_config/include/sites.config (or directly in the web.config, however this it not the recommended way) to make sure you have attached the correct instancename to your site root.
Furthermore, switch in the Sitecore client to the web database and check the assigned presentation on your home item, it might be a publishing issue.
Is it possible that you have the wrong "startItem" parameter in your site configuration? You have to set it to the correct item that should be visible wenn entered without an url (/)
I suppose you should check the Web.Config configuration tag.
Please check, in there, there are startitem attibutes for various sites in there. change them to your startItem and try it out.
Hope this helps!
Do let us know -- whether it works or not.
Regards,
Varun Shringarpure
I have a content editor that, when she logs into the Sitecore content editor and clicks an item, nothing happens. The item doesn't load for editing. If she clicks off of the item to another item she's prompted "do you want to save the changes to the item"?
Logging in with another account resolves the issue. Logging in with her account on another PC resolves the issue.
Has anyone ever seen this before? Sitecore is non-functional on this user's PC.
When you say that the item doesn't load for editing, you need to be more specific? Obviously, if she's clicking off the item and getting prompted to save, then the user is able to edit the item. What is it that she can't do?
Also, it depends on what role you have the user set to use, but depending on how you have your site configured, a user can simply click the item, see the fields and enter content in them. There may not be any "edit" queue. Is this not the case? If not, then there's more details that are needed to properly answer your question.
It sounds like a browser / caching issue. I usually try the following.
1. If IE 9 the I try and open a session in private and try again
2. Clear all browser history
3. If that doesn't work try with another browser.
4. If other browser fixes the issue then try to reset the original browser's settings to the defaults.
Last check if you are using a proxy server and try without. This is a long shot.
What version of Sitecore is being used? Older versions using IE9 require compatibility mode to be enabled (this was resolved in later updates of 6.5)
I find the Content Editor most stable in Firefox and IE9 compatibility mode. Chrome has a few finicky issues but generally works.