as the title says.. My project was hashing passwords properly until recently I noticed that passwords of new users dont get hashed while it is supposed to be as I am using Hash::make and I used Hash …
how to “regex” all options in select menu
The sample data is this: With the following code I can capture only one data: How can I capture all data to “SIZExSIZE” (e.g 50×80 or 150×230) and “Stock: [0-9]” until the last Select. Answer Just change (.*) by ([sS]*?)</select> so the complete regexp would be: <sel…
Ckeditor 5 file uploading adapter error
I’m using ckeditor classic 5, and i’m trying to upload images in it. I downloaded php lib Ckfinder3 php connector, set config. When i’m trying to load image i have a massage: Cannot upload file *filename*. Interesting moment, that they are fisically loaded on server: i can view it in directo…
How to remove Woo commerce Product Page Image Anchor?
I’m a WordPress Developer past 2 Years. I’m facing some issue into Woocommerce Product page Template. I have created Product in Woocommerce. Open Product Detail/Single page. When clicking on Product Image it opens in popup/Same page. Please Help me to remove the anchor from product Image. Thanks I…
Add and manage Product custom upload field in Woocommerce 3
I am trying to add a file upload along with radio inputs in a custom woocommerce page; where all the products are showing in a list view. The Custom Page CODE: For variations to show in list view as different items/products in funtions.php I am able to add the radio values to cart & order but not able to …
The replace function doesn’t work for multi-replace
I have to change in a text file 6 different lines with 6 different words but the function str_replace doesn’t work. Why? $prendo_link_per_replace = “ex.txt”; …
Can’t get mbstring to work on Amazon linux 2 AMI
I run on Amazon linux 2 AMI, With PHP 7.2.5 and apache The probleme is: Call to undefined function mb_convert_encoding The initial need is to be able to read an uploaded text file correctly and have its content inserted in DB, knowing that the encodings can be various The problem i am struggling with is to ge…
laravel ajax response return html elements
I have used made use of ajax before, but have not encounted this sort of problem, here is my form <form action="" method="post" enctype="multipart/form-data" class="m-form m-form–fit m-form–…
Debugging Laravel application on VSCode
Has anyone successfully configured VSCode to debug Laravel-based website? After having followed numerous articles and tutorials, I have made it to the point where I can ask VSCode to “Listen to XDEBUG”, but I haven’t been able to do normal VS-style debugging where I could just hit F5 to laun…
I’m trying to change placeholder in WordPress theme, but I can’t find where it’s existing
I use a WordPress Woo-commerce template called “KuteShop”, and I am trying to change the Placeholder Text “I’m searching for…” and “All Cate.” as in the picture below: but I can’t do that, I searched everywhere, NOT in the Advanced editor, NOT in the Theme…