[FX.php List] This was supposed to be easy

Steve Winter steve at bluecrocodile.co.nz
Wed Dec 5 00:45:11 MST 2007


Hi Jonathan,

The missing index would make it sound to me like the error reporting level
on the new install is more 'talkative' than on your current server.

There are various levels of error reporting which you can set in the php.ini
file, it sounds like the new install on the PowerBook is set to report
everything, so it's giving you the notices about undefined indexes...

These will occur if you do something like 
  if($myVar) echo "It's true";
There are two ways to get round this, go through the list of errors and
trouble shoot each one, in the above example it would become;
  If(isset($myVar)) echo "It's true";

The (quicker) alternative is just turn of error reporting of warnings, open
php.ini in your favourite test editor and search for error reporting and set
it to
  error_reporting = E_ALL & ~E_NOTICE
which says 'show all errors except notices'. If that still shows errors, but
the system is working, you could just turn off all error reporting for the
day, look further down the php.ini file and you'll see
  display_errors = On
change that to
  display_errors = Off
and no errors will be displayed on screen (just don't forget you've done
this, as it will make any future debugging you try to do on the machine much
more difficult)

Good luck...

Cheers
Steve

-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Jonathan Schwartz
Sent: 05 December 2007 07:13
To: FX.php Discussion List
Subject: [FX.php List] This was supposed to be easy

Hmmmm...this was supposed to be the *least* of my worries.  Now, it's 
a show-stopper.

For one of my student/sports registration projects, I agreed 
(volunteered) to  suspend the regular web based system during their 
face-to-face events and and instead, run the solution completely 
locally using a small ethernet network.  The primary reason is that 
there is no internet access at the site. We wanted to be able to use 
the db of folks who had already registered, plus register walkins. 
One the session was over, I would put the db back online.

The existing system is running on OS X Tiger Server with php 5 and 
FMSA 8.04 on g4 mac minis.

I thought that I would just run the solution on my MacBookPro. The 
event is tomorrow night. I started installing FMSA 8.0 on the 
MacBookPro and that's where the fun began.  While the 8.02 installed 
from the CD, the 8.0v4 updates to both server and Web Engine would 
not install, citing that they were not compatible with Intel.   Ooops.

So, I decided to repeat the same thing on my older PowerBookG4. 
Everything installed...but I've never seen so many php errors once I 
launched the solution. Missing index?

I'm starting to sweat at this point.

I've now "borrowed the kid's G4 Tower, wiped it, and am starting from 
scratch installing OS X server and essentially replicating the 
machine that now serves the solution online.

Should I have not assumed that I could run the solution from a 
regular OS X Tiger Intel laptop with FMSA 8.04 installed and using 
the built in Personal Web Publishing native to OS X?

Jonathan

-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-381-1852
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list




More information about the FX.php_List mailing list