ScriptManager error while loading a page - ajax

I just put an ASP:scriptmanager within my login page and for the use of a tag cloud. And after login providing uname and pword redirect to home page.
My home page consists of a master page and I put an ASP:scriptmanager within the master file. But when the home page loads, the following error appears:
"The control with ID
'AutoCompleteExtender1' requires a
ScriptManager on the page. The
ScriptManager must appear before any
controls that need it. "
My home page has several controls used with Ajax.
Can any one help me?

first thing you should test wethere you have created an script manager or not
test it by viewing the page source in html if there is any entry not speciting the scriptmanger then its seems that your page is not have any scripmanger on the parent page or the child page.

Related

Wicket Submit BehaviorListener after RestartResponseExeption and Session replacement

I have a AjaxFallbackLink to add a product into the wishlist of a customer. When a guest clicks the Link he is redirected to the login page with a RestartResponseAtInterceptPage. After successful login he returned to the first Page. But the URL contains the IBehaviorListener of my "add to wishlist" Link and every Ajax Link does nothing except to reload the page with no changes. I think the problem is the incorrect match of Page instance and BehaviorListener instance because my Page started with instance 1 and returned with instance 4 from Login Page. Everything works when the guest is already logged in.
How can i remove the illegal URL parameter or call the right Link callback to add the product to wishlist after successful login?
I think you need to do the following, in YourApplication#init() add:
getPageSettings().setCallListenerInterfaceAfterExpiry(true)
You can override it per Page if you don't want to enable it globally, see org.apache.wicket.Component#canCallListenerInterfaceAfterExpiry()

404 Error Page at first login to admin panel - Magento

Since a few days I have the weird issue, that when I first login to my magento admin panel, it will show a 404 error page. The header and menu items are all visible but the page content shows 404.
As soon as I click any given link, it will work and also the overview page works normally.
I have tried the common tweaks to resolve it, I couldn't fix the problem yet though.
I have the same problem and from the comments there is no comprehension of the sequence. This only happen for the FIRST LOGIN, but is is only the "main page content (<div id="page:main-container">) that has the 404 error, not the entire page. So the header and menu are still accessible. As in the original question once selecting a menu item everything works. That is to say my login page is https://somewesite.com/admin/dashboard/ and the dashboard does not load but generates a "404 page not found", but clicking the dashboard menu button displays the DashBoard.

Joomla 2.5 redirect to requested page after login

In joomla 2.5 user's are taken to predefined page after they have logged-in.
But i need to redirect users to the previous page after they have logged-in, i have tried to search for it every where but i am unable find proper solution explaining what core file i need to modify ?
All you need is an article with a little piece of javascript to browse the history of the user and call the page before the login form. Redirect the user on it on log in.
If you have a menue item (User/Login Form), there is, on the right hand side of the screen, a tab called Basic Options. The first field is called "Login Redirect". Put the article's URL there.
If you use the module: Again in the tab "Basic Options", you can redirect to Any menue item you want, so set a menue item (it has not to be actually showing up somewher) for the article

MVC link text from address bar

I have made a website with MVC and I have a little problem on routing: the link addresses from address bar appears with some strange paramaters like:
http://localhost:1413/Account/LogOn?ReturnUrl=%2f
instead of
http://localhost:1413/Account/LogOn
What should I do to have customized addresses.
I don't use any parameters.
The ?ReturnUrl=%2f portion of the Url is added by ASP.NET when a user is automatically redirected to the login page. Its added so that after the user logs in, they can then be redirected to their original page.
In this case, %2f represents the / meaning that the user tried to access the landing page and was subsequently redirected to the logon page. After they login successfully, they will then be redirected to the landing page.
You can still use the http://localhost:1413/Account/LogOn

Compilation renders my home page content blank

I want to enable Compilation on our Magento website, but when I enable it, I get blank content for my home page. It stops rendering before outputting the menu. Category and product pages seem to be fine.
We use the Mercado theme, and the home page uses a HomepageGrid block which is a CMS page.
Could anybody provide some insight?
Thanks
all you have to do is to check your error log. blank page means php error, and your output configured into error log, not screen. possible places to look: path_to/magento/var/log/ files system.log and exception.log. or /var/log/ and folders httpd/error_log etc. looks like you have some module like featured products or other custom stuff on front page, check your CMS > Pages > Homepage content. thank you

Resources