Hi,
I hope this is an easy fix for someone who knows Laravel and Datatables.
As you can see by the attachment, when ever you search you get this error.
I don't need it to search all the fields it is doing. Happy if it just searched first name / last name.
Just looking for a quick fix.
There error message:
DataTables warning: table id=DataTables_Table_0 - Exception Message:
SQLSTATE[42000]: Syntax error or access violation: 1583 Incorrect parameters in the call to native function 'LOWER' (SQL: select count(*) as aggregate from (select '1' as `row_count` from `users` where (LOWER(`users`.`name`) LIKE %aa% or LOWER(`users`.`first_name`) LIKE %aa% or LOWER(`users`.`last_name`) LIKE %aa% or LOWER(`users`.`email`) LIKE %aa% or exists (select * from `p5_tags` inner join `p5_tag_user` on `p5_tags`.`id` = `p5_tag_user`.`p5_tag_id` where `users`.`id` = `p5_tag_user`.`user_id` and LOWER(`p5_tags`.`tag`) LIKE %aa%) or exists (select * from `p5_user_genders` where `users`.`linked_gender_id` = `p5_user_genders`.`id` and LOWER(`p5_user_genders`.`gender_description`) LIKE %aa%) or exists (select * from `roles` inner join `role_user` on `roles`.`id` = `role_user`.`role_id` where `users`.`id` = `role_user`.`user_id` and LOWER(`roles`.`title`) LIKE %aa%) or exists (select * from `users` as `laravel_reserved_0` where `laravel_reserved_0`.`id` = `users`.`created_by_id` and LOWER(`users` as `[login to view URL]`) LIKE %aa%))) count_row_table)
The file to download is:
[login to view URL] on
[login to view URL]
The instructions are:
1. Extract the archive and put it in the folder you want
2. Prepare your .env file there with database connection and other settings
3. Run "composer install" command
4. Run "php artisan migrate --seed" command. Notice: seed is important, because it will create the first admin user for you.
5. Run "php artisan key:generate" command.
And that's it, go to your domain and login:
Email: admin@[login to view URL]
Password: password
P.S. If you want to use this admin panel for existing project, here's an article with instructions
Notice: if you use CKEditor fields, there are a few more commands to launch for Laravel Filemanager package:
php artisan vendor:publish --tag=lfm_config
php artisan vendor:publish --tag=lfm_public
Thanks
James
Hello Sir,
Good morning.
I have gone through your requirement and understood your issue. There is issue with datatables search, Yes, i can resolve this issue according to your requirement.
I have checked your files that are located at [login to view URL] . If you hire me i can start work accordingly.
Please let me know if you want to discuss more about it.
Thank you.
$35 USD w 1 dzień
5,0 (6 opinii)
2,7
2,7
13 freelancerzy składają oferty o średniej wysokości $33 USD dla tej pracy
Hello,
I am available to discuss the project and ready to get started. I have a team of highly skilled professionals, which consists of Designers, Web and App Developers.
We have enough experiences with WEB development for 10+ years.
Please visit our profile and see our project reviews
https://www.freelancer.com/u/maxsmith8.html
Looking forward to your response, Lets discuss more over Chat box.
Thanks & Regards,
Sam
Hello,
I've read your project description and I want to tell you that i can fix this error as per your requirement. Lets have a quick chat to discuss this project and further proceed accordingly.
We have extensive experience in Designing Websites, Building Portals, Developing Complex Web Applications in all major platforms.
We have worked with several top companies and brands. If you want, I can share our portfolio with you as well.
Thanks,
Faizan
Hi i can complete your work for 30USD . I am a experienced laravel developer. i am working with laravel from last 5 years. I have done many large and small scale projects of laravel .
Talented and experienced PHP Software Engineer with good experience with latest technology. I am a hard worker and enjoy working at all critical conditions.
Relevant Skills and Experience
I have worked as a PHP developer and expertise in Laravel and codeigniter framework.