Category Archives: Laravel

Redirection error:InvalidArgumentException in UrlValidator.php line 23: ReturnUrl is not a fully qualified URL In laravel

While using paypal payment in laravel, if the return redirection from paypal to customer web application there is a chance to get this error Solution: if any specialcharacter contains in the particualr url it will show this error. so please remove unwanted characters in the url For example if ur domain is generated from the… Read More »

How to pass data to multiple view page in laravel using single controller function

I have three view template/blade files. and one controller View files: ———— side_bar.blade.php main_view.blade.php dashboardhome.blade.php here side_bar.blade.php and main_view.blade.php included to dashboardhome.blade.php Controller files: —————— displaydashboard function will redirect to dashboardhome.blade.php page with one array of data passed to side_bar.blade.php and other array of data passing to main_view.blade.php dashboardcontroller.php

location.reload() not refreshing the page in laravel ajax call

If in your application location.reload not refreshing the entire page,mostly in firefox. or else we need to do hard refresh(ctrl+F5) to reflect the changes in the page use the below code in in the ajax success section

Enjoy this will work 🙂

Javascript function in laravel not working in IE-working fine in other browsers why?

Click me

Function stops works in IE because of the above code, dont give default value or some values in the fucntion definition remove “firstparam=2,secondparam=null” in the function definition so please use the function name as below it will work in all browsers

check box toggle using jquery and laravel

view page in laravel will be as like below

Dynamicaly listed records better we have to use class name in the ajax call

composer update issues in laravel

Which are the files we need to upload in the live server after composer update Scenario1: 1.Install one package in local 2.upload into the live server 3.remove the package from local do composer update 4.upload again to live server This case if your page is showing as blank page please do the following steps Upload… Read More »

{{ Form::open}} is not working in laravel

If we use the below form action in view file. action is not working it is redirecting to some other controller in the routes {{ Form::open(array(‘action’ => ‘mycontorller@downloadmyfile’, ‘name’=>’mysubmit’,’id’=>’mysubmit’)) }} To fix this we can use the below code for form action

setTimeout() error in laravel

In some cases laravel will load blank page with the following error in the firebug

Answer:This is bevause of usage of get insetead of post in routes.php Route:get(‘your function’);