Recently Browsing 0 members
No registered users viewing this page.
I know from a trusted source that some of you use Laragon as their prefered Windows DEV solution.
Due to a recent conversation I noticed that there might be a nice little feature some of you may not know about.
Laragon offers the Quick app option with some tools already predefined. In order to have ProcessWire there as well you just have to add one (two with a comment) line to your Laragon configuration.
# ProcessWire ProcessWire=composer create-project processwire/processwire %s
Just in case you want to start your next project a little bit faster.
I am trying out multi-instance support in a multi-site setup (option #1, multiple databases) on a Windows Machine (but using a LAMP stack). I am getting a Fatal error in ProcessWire.php #line 877, Failed opening required '/F:/vhosts/sandpit.dev/wire/config.php' (include_path='.;C:\php\pear') in F:\vhosts\sandpit.dev\wire\core\ProcessWire.php on line 877
I am using the following API
$path = "F:/vhosts/sandpit.dev/site-mediamanager/"; // OR // $path = "F:\\vhosts\\sandpit.dev\\site-mediamanager\\"; $url = "http://mediamanager.sandpit.local/"; $site = new ProcessWire($path, $url); Here is Line #877
require("$rootPath/$wireDir/config.php"); In my code, $path is an absolute path on the windows machine. In the above example, I want ProcessWire to find the /site-mediamanager/config.php, which is a multi-site running off one Wire powered through the main /site/.
As you can see in the error, ProcessWire is adding an extra forward slash to the path, i.e.
which obviously fails. I have traced the origin to line #784 in ProcessWire.php
$rootPath = '/' . implode('/', $parts); // remove siteDir from rootPath The pre-pended / causes the error. Remove that and multi-instance works fine in my environment.
Before I report this as a bug, has anyone ran into this issue? Alternatively, could someone on a Windows machine please test the multi-instance feature for me? Maybe even someone using an absolute path on any machine? Preferably test in a multi-site setup (option #1). If this is a bug, it would be nice if it gets fixed before the imminent master release.
PW version 3.0.85 (but also tested on the latest dev version).
Hello folks, a slightly embarrassing entry on this forum with a failed setup on Xampp - perhaps someone can point me in the right direction?
I downloaded and installed Xampp for OS X and this seems to run fine - when I go to http://localhost the Xampp page loads nicely.
I then went to the Bitnami Xampp page and downloaded the PW Module for OS X. I walk through the install and leave the path to the default /Applications/XAMPP, enter my OS X admin pass, it then says it will restart the installer, enter admin pass again, leave the path as default and when I click on next it simply does nothing, I can still change the path or cancel the install and that's it.
Any clues as to what I'm doing wrong?
I was wondering if there's a module that allows me to copy certain pages or content from one instance of Processwire to another instance?
Unfortunately, I can't copy a whole instance across as there needs to be some major cleanup job performed and it won't get done in time.
Otherwise, if anyone has any code samples that would be much appreciated.
I am using some nested PageTables and with every PageTable field the user clicks on, a modal window appears. Because every modal window's width & height are not 100%, every nesting step shrinks the window.
Does someone have any solution for this problem?