On installing October CMS, I ran into an error in which the installation just failed on “Building configuration files”, with an Progress failed notification telling me to check the install.log. Install.log only revealed that the installation failed at “Install step: setupConfig”, which didn’t really tell me anything I didn’t know. Unsure of even what to Google. Using PHP 8.0.2 via
Tag: xampp
I am trying to run a query in php its working in phpMyAdmin but not in script [closed]
Iam trying to fetch related articles for a blog based project Query : $query = mysqli_query($con, “SELECT * FROM posts WHERE cat_id like ‘%$cat_arr[i]%’ AND NOT post_id = ‘$postid'”); …
jQuery AJAX – Not receiving JSON data when on localhost using XAMPP
I’m using this code: inside do_getmemes.php the post parameters are received successfully and the json is getting generated but I don’t get it on success?? Console isn’t showing anything. It works fine on the website but not when on localhost using XAMPP It all works inside the php file, this is at the end: What’s the problem here? EDIT: AJAX
How do web servers work for website viewers without even installing it?
I am really new to server-side programming, so this question might be easy for you. Let us say that I have a web-server installed on my computer. When I publish my website, it would come to the internet. I have XAMPP installed, which includes everything required. Now, most of the people who visit my website would not have a server/PHP/MySQL
Create Checkout Session.php 404 not found
I have downloaded the above code from here https://stripe.com/docs/checkout/integration-builder and put the file in my Xampp folder under htdocs, so whenever I am running http://localhost/my-projects/stripe-payments-prebuilt/checkout.html so it is showing me the checkout the page but when I clicked on the checkout button then it is showing “checkout.html:30 POST http://localhost/create-checkout-session.php 404 (Not Found)” I mean what I have done wrong, I
How to install PHP 8 on XAMPP
I’m trying to update my PHP version to the brand new PHP 8. I have followed simular steps as this tutorial. But now the following error is shown: Notice: I have used a brand new XAMPP instalation version 7.2.33. I can’t find the solution for my issue. Edit It is saying that I need to look into the Log files
copy() fail to copy image from url to directory
I’m trying to copy an image from a URL to my server, but it doesn’t save. Below is my code The image URL in $url, doesn’t have a file extension, but the image is a .jpeg i tried both copy() and move_uploaded_file() but failed. when i use copy() i get this error I also tried with directory 2018/jeep/grand-cherokee exist and
Adding Facebook Library in Codeigniter 4
I am Using CI 4 for my project and I need Facebook Login to get user data which I have done in fb-JS-sdk and after that I save data to DB and start session for that user so It looks like it’s directly loged in by facebook login, but that’s not point here, Now After Login with Facebook user will
How to set view protection in the beginning by .htaccess in the XAMPP for sub directories?
I have local website(php) on xampp and I want set user password login protection as shown as I set in .htaccess : And in .htpasswd I set: But I after enter user password I get this error: I use this but not work. When I enter http:127.0.0.1/hi that work but when I enter sub directory not work (http:127.0.0.1/hi/test1) and give
Weird file in php (xampp)
I could not find anything anywhere on the internet explaining what you can see in the screenshot. This is in my xampp folder (as you can see at the top of the screenshot), there is a file why.tmp which was apparently created in 2013. I got this PC in 2017 and now it’s 2020. You can also see the content