OK, this is now really weird... Since the error showing up was consistently something inside Boltwire, I looked at the source of engine.php, on line 18. This is the line that was there originally: if ($errorReporting == true || $_GET['errors'] == 'true') error_reporting(E_ALL ^ E_NOTICE);
With that line present, every time I tried to access Boltwire wiki, I got this error logged by PHP: PHP Notice: Undefined index: errors in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\boltwire\barn\scripts\engine.php on line 18 Well, if the index is undefined, I thought that maybe this should be replaced by a test for whether $_GET['errors'] is set at all. That produced the line below: if ($errorReporting == true || isset($_GET['errors'])) error_reporting(E_ALL ^ E_NOTICE); As you see, $_GET['errors'] == 'true' was replaced with isset($_GET['errors']). With this change, I no longer get the error described, or any error at all. What I do get is this behavior: Upon trying to access my wiki, my browser times out waiting for a response (30 seconds). All I get back is a blank page. I was seeing this wait-and-time-out-return-blank-page behavior before changing engine.php, but I got the error after the timeout. Now I'm just getting the timeout and blank page. Any thoughts? I never saw the timeout and blank page on my XP 32-bit machine, and phpinfo() works perfectly. Jon -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jon Prater Sent: Saturday, November 13, 2010 9:33 AM To: BoltWire Subject: Re: offline usage Does anyone have any ideas on this? I've tried everything I can think of... On Nov 10, 8:53 pm, "Jonathan Prater" <[email protected]> wrote: > Also happens with 3.4.14. > > -----Original Message----- > From: Jonathan Prater [mailto:[email protected]] > Sent: Wednesday, November 10, 2010 1:52 PM > To: '[email protected]' > Subject: RE: offline usage > > OK, this has come up again... :( > I've moved to a new computer, running Windows 7 x64. I've confirmed that > Apache and PHP are running properly and are talking to each other (I can > load a PHP page running the phpinfo function). As per the Starting Out page > on the Boltwire wiki, I've put the boltwire and field folders under htdocs, > and I've started with a fresh copy of Boltwire 3.4.13. The exact error that > is logged under php_errors.log is: > PHP Notice: Undefined index: errors in C:\Program Files (x86)\Apache > Software Foundation\Apache2.2\htdocs\boltwire\barn\scripts\engine.php on > line 18 > Any help please? > > Jon > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of The Editor > Sent: Sunday, November 07, 2010 9:27 AM > To: [email protected] > Subject: Re: offline usage > > Yes the $boltwire path needs to be defined because other paths are based on > it. > > Glad you figured it out! > > Cheers, > Dan > > On Fri, Nov 5, 2010 at 10:19 PM, Jonathan Prater > <[email protected]> wrote: > > OK, I think I figured it out. I was trying to do a shortcut in my > > index.php, like this: > > <?php > > $BOLTadmin='admin'; > > include_once("../../boltwire/barn/scripts/engine.php"); > > > because I wasn't sure that the extra '$boltwire =' line was needed. Looks > > like it is. Once I added that line in, so that now index.php looks like > the > > example on the farms tutorial... > > <?php > > $BOLTadmin='admin'; > > $boltwire = "../../boltwire"; > > include_once("$boltwire/barn/scripts/engine.php"); > > > Everything works. Note to self: Follow directions. > > > Jon > > > On 11/5/2010 4:30 PM, Lino wrote: > > > I think you have to tell to php where to run except in htdocs. Check > > server docs. (php config?) > > L. > > > On Nov 5, 3:28 am, Jon Prater <[email protected]> wrote: > > > I've been getting this problem as well, but only when trying to set up > > boltwire as described here (http://boltwire.com/index.php? > > p=docs.admin.farms#high_security). Following the directions under > > that section, I put the boltwire directory under my apache > > installation directory and my field in htdocs. I then edit index.php > > as described in the same page. Attempting to access it yields the > > following message in PHP's error log: > > > PHP Notice: Undefined index: errors in C:\Program Files\Apache > > Software Foundation\Apache2.2\boltwire\barn\scripts\engine.php on line > > 18 > > > If I put the boltwire directory directly under htdocs and return > > index.php to its original state, everything works fine. I'm on > > Windows XP SP3. > > > Jon > > > On Oct 2, 8:53 pm, The Editor <[email protected]> wrote: > > > Can you tell me what the error message is? > > > Cheers, > > Dan > > > On Sat, Oct 2, 2010 at 8:45 PM, kc5ifk <[email protected]> wrote: > > > I've been trying to setup an instance of boltwire for offline usage on > > my workstation and keep getting an error for the engine script line 18 > > or something close when I launch index.php for the first time. > > > Have been trying with new install of WampServer 2 and current boltwire > > package on Windows 7 Enterprise (32-bit). Any thoughts? > > > -- > > You received this message because you are subscribed to the Google Groups > > "BoltWire" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/boltwire?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "BoltWire" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/boltwire?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "BoltWire" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group athttp://groups.google.com/group/boltwire?hl=en. -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/boltwire?hl=en. -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.
