I have website build from another programming on laravel
Website contain one page + registration form + admin control panel
When user registration on form record save and I can browse form admin side
But when I try edit the record and save give me this error
BadMethodCallException
Method Illuminate\Validation\Validator::validate/^[19][09]*$/ does not exist.
https://maysoor.sa/admin/driver/17
Bad Method Call
Did you mean Illuminate\Validation\Validator::validate() ?
// Path of page
Illuminate\Validation\Validator::__call
vendor/laravel/framework/src/Illuminate/Validation/Validator.php:1292
1292 ==> throw new BadMethodCallException(sprintf(
error image
Related
I'm using laravel breeze and I have two popups modals in the header, one for login and one for signup, when an authentication error occurs I want to: A) open the modal responsible and B) show the error in the correct modal, any ideas?
I solved it using $request->validateWithBag instead of $request->validate and checked for the "Bag" in script section with $errors->nameOfBag->has('email') and it worked as needed
I'am recenly used laravel nova as my CMS. but I still confuse to create modal when create resource button clicked. I was tried to use Resource tool but I got error the resource not found.
my goal, just want to displaying create user form as a modal. so, when user click create user button in this following image. popup will shown instead of redirecting to another page
anyone can help me, please.
Thanks in advance
This old Nova plugin still works, (Nova 3.29), though it's hardcoded for a primaryKey of id and has a few minor bugs.
https://github.com/ahmed-m-hussain/nova-Hasmany-To-Modal-Popup
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()
In the website http://www.ple-intl.com/NewUpgrade, I am using joomla 2.5 & getting an below error during registration
It registered the user but, does not send the activation link, however it is set as a self in user options.
when user click on register after filling form it shows an 404 error. (personally i dont change any thing core, & i dont want to but i am getting an error i checked all the things)
Some Plugin Information
I installed virtue mart in it, but every thing is defualt
I am user Super Login Module for login registration which calls the default joomla signup page.
Kindly guide what i am missing..I am tired to sort that out but none of my idea works.
Thanks it start working now, below i have mentioned the reason why it showing error.
The email i was inserted is actually registered before & when i remove that id i did'not remove the product related to it in virtue mart.
second virtue mart registration activation link which send in email has some problems, on the below link solution is discussed.
http://forum.virtuemart.net/index.php?topic=99755.0
i have 3 tabs at top of page i.e
home | profile | +
now i want that user can create their own custom page while click the (+) icon/button...!! how can i do that with php ajax
One way may be like this:
1: When + link is clicked, you prompt the user for entering title of the page to be created.
2: User enters page name; request goes to a php script via ajax
3: PHP scripts creates a page in db with submitted title.
4: With ajax response; you redirect user to new created page and edit it.
There can be many solutions to that though.