Hello, I am importing a live WP site so that I can make a number of changes to it locally, and then to export to live. I am easily able to do this manually by creating a quick WP app, FTPing all WP files to the new directory and then importing the DB.
The only thing that is left outstanding are the URLs in the database which still point to the live site. As these are often serialised a simple search and replace is not sufficient enough to do this.
On most servers (and formerly on Wampserver) I used the handy Search Replace DB from Interconnect: https://github.com/interconnectit/Search-Replace-DB
You just place this in your WP root folder and it reads your wf-config.php file to connect to the database. Then it allows you to do all the search and replaces you need.
This worked fine on Wampserver but it's throwing an AJAX error on Laragon. It does the initial WP DB config retrieval but when you actaully run the search and replace it stops after a minute or so with:
"The script encountered an error while running an AJAX request.
If you are using your hosts file to map a domain try browsing via the IP address directly."
So my main questions are:
Has anybody else used Search Replace DB from Interconnect on Laragon with success?
What tools are people using to change their WP DB URL entries? I'd rather not go down the WP CLI route, or install a plugin if possible.
Hi, I have two machine, so I use WWW in a cloud OneDrive folder, pro easier synchronisation.
Strangely I didn't had any trouble until june,
when I installed the last Windows 10 2019 Creator Update…
I formatted my C drive and installed the update,
but the problem is that I use an other drive of 1To pro my OneDrive files (with 1To subscription),
and of course in properties, the authorisation using my login who is linked to my Hotmail, was not recognized,
and shown as a long number
I changed all authorisation with the actual login.
But now when I launch a php page on local host, I get this message :
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'I:/Users/nemza/OneDrive/www/taocodex/templates/ueb/wp/converter/WP_converter_18_columns.php' (include_path='.;C:/laragon/etc/php/pear') in Unknown on line 0
I can't find a solution on Google, and I know that before it was working, I don’t have trouble with HTML files,
any solution ?
Don’t tell & answer me to use www in Laragon folder, I don’t want to do this.
I see that during Laragon setup it is possible to add Notepad++ and Command Prompt to the context menu.
I have Notepad++ already installed pre setup, but would like to add Terminal to the context menu. Any problems to be expected, such as Notepad++ twice in the context menu or so? Sorry to bother you with this newbie question.
As a Laragon and also as a WordPress newbie, I have so far used the unzipped XAMPP folder on my data partition D without having to install XAMPP on my system partition.
I would like to do so with Laragon, too, which, as far as I can see from several tutorials, is even a better fit for my WP needs.
Reading the following lines on your GitHub site:
"Laragon doesn't use Windows services. It has its own service orchestration which manages services asynchronously and non-blocking so you'll find things run fast & smoothly with Laragon."
"Isolated -- Laragon has an isolated environment with your OS - it will keep your system clean.",
I guess, the answer is yes, but I would like to make sure this is in fact the case, the more so since one tutorial I watched said you have to stick to the C:\Laragon path when installing, which I cannot believe.
Being able to start Laragon on my data partition D would be great for me, since my system partition C is not as spacious as my data partition, so it would be great if I could install on my data partition D and have its huge space for my WP installations.
Thank you for any help! I am looking forward to working with Laragon and WP!
I am using laragon for an application with Laravel. This is the screenshot from task manager:
This is a fresh install of Laragon (2 days ago) on windows. The weird part is that even if I am not using the application, (no-requests-responses, no action on the app, even if I am on another tab on my browser) the CPU is high and HTTP Server doesn't stops or decreases.
Hi! Could you help me to import data & DB from an old backup install?
Story: Something went wrong, my DB broked down with incomplete import of huge file and I couldn't clean it up or run it. I've renamed the "laragon" dir to "laragon_old" dir, installed it once again. Started working on a project and now I'd like to go back to old ones, but simply moving data & DB to respective folders doesn't help. How I could do it?
Since I updated to W10 1903 Laragon is unable to run from my oneDrive. I have tried both the portable and the full installation without success. Of course, I mark both installations as "Aways keep this folder in my computer" in oneDrive to avoid sync issues
Portable version returns a "No input file specified." error in the default index.php file
Full installation version returns:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'E:/oneDrive/laragon/www/index.php' (include_path='.;E:/oneDrive/laragon/etc/php/pear') in Unknown on line 0
I would very much welcome any kind of help. Thank you
Just migrated from Wamp to Laragon. I have a few Wordpress sites and for some reason they keep running out of memory. Specifically getting a memory exhausted error. Both Wamp and Laragon are set to 512M and I never had this issue while using Wamp. Any ideas why this is happening and how to solve it?
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8790980389546 bytes) in E:\sites\test\wp-includes\functions.php on line 5231
I want to install dompdf in composer (composer require barryvdh/laravel-dompdf ) in the Laragon-terminal but get the error
The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl extension, you can disable this
own risk, by setting the 'disable-tls' option to true.
One (insecure) option from here would be to deactivate this warning, but even then I get the exact same error. No matter what I try it's always this same error message.
when I try to share projects via ngrok it shows me the document root (C:/laragon/www instead of C:/laragon/www/tabulator)
This is the ngrok screen:
Edit: Just realized that the problem is the "www" prefix in my laragon settings. I'm using this prefix for all my projects because I always redirect websites via 301 to the WWW version of them. Unfortunately that breaks the ngrok feature.
I am getting this message when Ioad Laragon "The procedure entry point SSL_CTX_set_ciphsuites could not be located in the dynamic link library E:\laragon\bin\php\php-7.2.19-Win32-VC15-x64\ext|php_curl.dll"
I am using a 64bit Windows 10 machine. I also utilize a program that says my local server doesn't have cURL enabled, but it is enabled.
This is the error from my PHP error log "PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: E:/laragon/bin/php/php-7.2.19-Win32-VC15-x64/ext\curl (The specified module could not be found.), E:/laragon/bin/php/php-7.2.19-Win32-VC15-x64/ext\php_curl.dll (The specified procedure could not be found.)) in Unknown on line 0"
I really enjoy using Laragon but it would be helpful if I could get this error to go away. Any help would be appreciated.
I'm working on PWA development and the HTTPS requirement of them has been an issue throughout development this far, because I need to test on my phone over my WiFi. Usually localhost and equivalents are allowed for testing, but the thing is that once its left my device, that's not the case. So, as a result, the service worker will be deleted once the temporary cache is thrown away by the browser.
Sorry if that was a little long winded, TLDR:I need HTTPS to test my webapp on my phone over LAN, but cant due to PWA standards.
Anyways, the main issue is that the default Laragon certificate is only set up using 127.0.0.0 and localhost, ect, not your computers IP on your network. Although that's perfectly reasonable, because 1, I'm an edge-case, and 2, theres no way to really modify the auto.openssl.cnf file to incorporate that during install or whatever.
So that leads to my question I suppose. To get my PWA to properly install on my phone for testing I need to make a Root Certificate, and said root certificate needs to have 192.168.1.175 as the domain I guess. I tried doing this myself, with varying levels of success. I set up a CA on my computer following this guide, and set up a conf file with the following for DNS:
Doing this made a key and all, but when I tried to manually replace the config in Laragons files, (in etc/apache-2/sites-enabled/00-default.conf replacing the key file with mine), but couldn't get Laragon to accept it, and it just kept throwing errors, even after I put the SSL keys back to the defaults, so I just uninstalled/reinstalled.
If anyone knows how to do (or how to properly do) this, I'd appreciate any help!
PS I love Laragon, its probably the best web server I've ever worked with. Massive thanks to the developers for making it happen!