LostKobrakai Posted August 30, 2018 Author Share Posted August 30, 2018 Valet does not use apache, so it‘s certainly no .htaccess issue. The routing is encoded in the drivers (hence the need for drivers in the first place). I‘m no longer actively using the driver, but it can certainly be that there are edge-cases, which won‘t properly resolve using it. Link to comment Share on other sites More sharing options...
LeTroner Posted August 31, 2018 Share Posted August 31, 2018 I think I tested valet with processwire a couple of years ago and i think I remember it working very well... except all things .htaccess which depends on the drivers. I did not really research it a lot. Link to comment Share on other sites More sharing options...
daniels Posted September 1, 2018 Share Posted September 1, 2018 Ok, thanks anyway. I think it might have something to do with is_file(). I have worked around it for now ? Link to comment Share on other sites More sharing options...
Sergio Posted March 22, 2019 Share Posted March 22, 2019 A couple of days ago, I had an issue with Valet on Linux and Tracy. Tracy bar was not loading, giving me an error saying $_SERVER['REQUEST_URI'] was returning a boolean when expected was a string. I solved this by 'brute force' like below but would like to understand the reasons for that. Does anybody know? //ProcessWireValetDriver.php $_SERVER['REQUEST_URI'] = substr(str_replace($dir, '', $_SERVER['REQUEST_URI']), 10); //brute force if(!$_SERVER['REQUEST_URI']) { $_SERVER['REQUEST_URI'] = "/"; } .... Link to comment Share on other sites More sharing options...
Rudy Posted March 22, 2019 Share Posted March 22, 2019 @Sergio I had the same issue. Been meaning to file a report with Valet but haven't had time yet. https://github.com/adrianbj/TracyDebugger/issues/32 2 Link to comment Share on other sites More sharing options...
Sergio Posted March 22, 2019 Share Posted March 22, 2019 Thanks, Rudy! Glad to know it wasn't just me and my setup ? Link to comment Share on other sites More sharing options...
Rudy Posted March 22, 2019 Share Posted March 22, 2019 @Sergio @adrian I think I found the issue. On current `ProcessWireValetDriver.php` please comment out line 59 (That's what causing the bool return) See screenshot. 2 Link to comment Share on other sites More sharing options...
Tyssen Posted January 28, 2020 Share Posted January 28, 2020 (edited) I've just installed Valet and have been testing sites running a few different CMSs including PW, Craft and ExpressionEngine. The sites on Craft and EE work fine, but for one of the PW sites I created, I get the home page on every URL I visit, and the other, the home page works OK, but every other page gives me a 'The page isn’t redirecting properly' error. Actually, it's every other PW page, i.e. one ending with a / If I try and visit a non-existent page like example.html, I get the 404 page for the site. Is there something else that needs to be done to PW sites to get them to work with Valet? Edited January 28, 2020 by Tyssen Added some more info Link to comment Share on other sites More sharing options...
Recommended Posts