Yes, WebYep works great without SiteLok. It’s only when I try to connect them that it blows up. It has to just be where the code is getting dropped. But don’t know. Could navigate around it, in this case, but if it worked it would be awesome. Here by the way is the top of page when it’s broken:
<?php ob_start(); ?><?php
$groupswithaccess="WebPubs,ADMIN";
require_once("../slpw/sitelokpw.php");
require_once("../slpw/slupdateform.php");
?><?php
$webyep_sIncludePath = "./";
$iDepth = 0;
while (!file_exists($webyep_sIncludePath . "webyep-system")) {
$iDepth++;
if ($iDepth > 10) {
error_log("webyep-system folder not found.", 0);
break;
}
$webyep_sIncludePath = ($webyep_sIncludePath == "./") ? ("../"):("$webyep_sIncludePath../");
}
if (file_exists("$webyep_sIncludePath/webyep-system/program")) $webyep_sIncludePath .= "webyep-system/program";
else $webyep_sIncludePath .= "webyep-system/program";
$sMain = "$webyep_sIncludePath/webyep.php";
if (file_exists($sMain)) include($sMain);
?><!doctype html>
<html class="no-js" lang="en">
<head>
That might be sus as my kids say, as the WebYep plugin manual says the beginning of WebYep init code looks like this, but it also references V1 and this is now V2.
<?php // WebYep init WebYepV1
/* ><table><tr><td bgcolor=white><h2>WebYep message: Error, PHP inactive</h2>
But now I’m finding the init code in the manual, and when I pop the actual top of page from this index.php in my ftp client, the code looks like this, so about the same:
<?php session_start(); // WebYep init WebYepV2
/* ><table><tr><td bgcolor=white><h2>WebYep message: Error, PHP inactive</h2>
<font color=red>The PHP code in this page can not be executed!<ul>
<li>Are you launching this page directly form your harddisc <em>(e.g. via a local browser" instead of accessing it via a webserver?)</em></li>
<li>Has this file the correct file extension for PHP scripts? WebYep pages must have the ".php" extension and <b>not</b> ".html" or ".htm"!</li>
</ul></font></td></tr></table><!--
*/
$webyep_sIncludePath = "./";
$iDepth = 0;
while (!file_exists($webyep_sIncludePath . "webyep-system")) {
$iDepth++;
if ($iDepth > 10) {
error_log("webyep-system folder not found!", 0);
echo "<html><head><title>WebYep</title></head><body><b>WebYep:</b> This page can not be displayed <br>Problem: The webyep-system folder was not found!</body></html>";
exit;
}
$webyep_sIncludePath = ($webyep_sIncludePath == "./") ? ("../"):("$webyep_sIncludePath../");
}
if (file_exists("${webyep_sIncludePath}webyep-system/programm")) $webyep_sIncludePath .= "webyep-system/programm";
else $webyep_sIncludePath .= "webyep-system/program";
include("$webyep_sIncludePath/webyep.php");
// -->?>
So it looks like the top of page php is in order, per the SiteLok, WebYep, and WebYep-Sitelok-Plugin instructions. All the core pieces work individually. So I guess that leads me to suspect the plugin. Interesting. Notably is was released 9/17, during 3.0 days, but it was rev’d in June of 21 I believe, so somebody’s using it for this. Raising a support ticket with Chillidog too.
Maybe I’ll drop SLPW and then reinstall, then reinstall plugin to make sure everything is clean. Not like I really have any users configured.
