Laravel 4.2- Redirect::back() issue - url

I have a project built on laravel 4.2. It used to work, but now it gives me Cannot redirect to an empty URL. error, when I validate form.
As far as I know it comes from Redirect::back(). Does anyone know how to fix this problem?

Related

ckeditor 4 with ckfinder file manager browse server error code: 404 URL not found/give the wrong URL

Dears,
I'm trying to rectify an application already in place. I'm using ckeditor integrated with ckfinder as file manager for PHP. However when I click into the browse server bottom it redirect me not to the correct URL related to ckfinder location I'm using, giving a 404 error.
My question is where I can change the URL, in order to browse the server within the correct URL? Or there's another thing I can do to solve this?
I already tried so many possibilities and I already search all over and nothing solved it. Also the documentation from ckeditor & ckfinder sounds a little confusing for me.
If someone can help me on this I will really appreciate it.enter image description here

Supplementing Resource Controllers in Laravel 5.1

I founding Laravel 5.1 documentation that if someone need to add extra route then Route::get could be possible. But I need this one. So is it possible. In my case this is showing error. TIA
link is here
Route::post('institute/uploadProfilePicPost', 'Institute\InstituteController#uploadProfilePicturePost');
Route::get('institute/uploadProfilePicGet/{id}', 'Institute\InstituteController#uploadProfilePictureGet');
Route::resource('institute', 'Institute\InstituteController');

Cordova ajax post issue

I am working on a JQuery Mobile project. Now that I finished the core features, I want to build a native app using Cordova. After installing the project in Xcode described in the phonegap Documentation 2.7.0 the app launches and anything seems to be fine. But after firing a ajax post it returns status Code 0 and a error.
The application is currently working in all common browsers without any problems.
Do you have any ideas? Is it a CORS thing?
Thank you very much,
Flo.
(bah, I really wanna post comments instead of asking these questions in answers)
I had a lot of issues with this as well.
After a lot of research, I found that error 401 is not returned to Phonegap and becomes error 0. So my question to you is, does the website you go to require authorization?
If it doesn't, try to change your url to a non-existing one. I try to go to 'floobaloo.html', which always returns me a 404 error code. If you can not get the 404 code back, then the problem lies somewhere within your ajax call. If you do get 404 then you have Authorization issues.

Recaptcha giving 404 error on Validate in SSL site

In my ASP.NET MVC 4 project, I am using the Microsoft.Web.Helpers (from the NuGet package) and my code is a very basic implementation of ReCaptcha. In my view I have:
#ReCaptcha.GetHtml(theme: "clean")
In my controller I have:
Microsoft.Web.Helpers.ReCaptcha.Validate();
The complexity comes with the SSL implementation we are using.
I have added the appropriate settings to my web.config:
<system.net>
<defaultProxy>
<proxy proxyaddress="http://***proxy script settings**"
autoDetect="False"
usesystemdefault="False"
bypassonlocal="True" />
</defaultProxy>
</system.net>
There seems like there is nothing further I can do in terms of config, but I am getting the error message
The remote server returned an error: (404) Not Found
when I hit the recaptcha validate method on the form post method in my controller.
Ive found a number of other answers on here but they all seem to suggest that you change the url, or upgrade. As Im using a NuGet package I would have thought I was using the latest version. Any ideas or links with more information greatly appreciated. Ive already done quite a bit of looking both on this site and google
edit:
I have found that earlier versions of firefox have trouble actually rendering the recapture box given our network conditions, but the latest one is fine. As the validation is done on the controller though, I suppose there is no issue here.
After much pulling of hair and general confusion, I discovered that the problem was that the POST (but not the GET) to the google API was being blocked by our corporate firewall. I had previously discounted this, because I could navigate to the service that recaptcha uses (http://www.google.com/recaptcha/api/verify).
I found this by constructing an HTML page of the requisite parts for the post and submitting it in a browser. The corporate "This page is blocked" appeared - however in code the error that is returned is a 404. The error is somewhat misleading, but this is bizarre behavior from our infrastructure department.

Solution for the URL Alias and question marks issue in drupal 7

I am working in drupal 7 for developing site. I am using webform for creating a contact us form. After submitting the from successfully, the page is redirected to a confirmation page where the url is http://www.somesite.com/node/11/done?sid=3. I want this particular url as http://www.somesite.com/thankyou.
I tried to set the url alias for node/11/done?sid=% as thankyou. But unfortunately it doesn't work for me.
Can anybody suggest a solution for this..
Thanks in advance...
Are you saying the URL alias for that node won't change? Can you change others?

Resources