[FX.php List] PHP access violation

Gjermund Gusland Thorsen ggt667 at gmail.com
Thu Sep 6 02:03:52 MDT 2007


require_once()

On 9/6/07, Nick <whatdoyouwant at gmail.com> wrote:
> well the only thing i could tell you is that "already defined in ..." is
> telling you that some FX is being included twice or more in one php file. If
> that's the problem, make sure the problem files are using require_once or
> include_once in the code instead of plain require or include.
>
>
>
> On 9/5/07, Alex Gates <alex at gandrpublishing.com> wrote:
> >
> >
> >
> >
> >
> > Greetings –
> >
> > I've had to restart my Web Server a couple times over the past week and a
> half due to a PHP access violation.
> >
> > I searched the archives and saw that David Ness had the same problem.  Dan
> replied with a few links.
> >
> >
> >
> > This tip was provided in the link: "To solve this problem, inspect your
> php.ini, some paths variables like upload_tmp_dir or session_save_path and
> others, must be configured to use directories with write permissions for the
> http user."
> >
> >
> >
> > We adjusted these permissions today and haven't had the problem – but
> since it sporadically happened, I am not positive it is what caused the
> problem in the first place.
> >
> >
> >
> > My PHP log file has some interesting "fatal errors" that popped up right
> at the same time of our last "access violation."  I'll copy and paste here
> in hopes that someone has seen this before and may be able to provide some
> insight.
> >
> >
> >
> > We are running PHP 5.2.0 on IIS version 6.
> >
> >
> >
> > [04-Sep-2007 15:07:28] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in [no active file] on line 0
> >
> > [04-Sep-2007 15:07:33] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:08:58] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:09:04] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:09:04] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:09:12] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:09:35] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:09:35] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:09:52] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:10:12] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:10:16] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:11:53] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:12:05] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:13:14] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:13:18] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:14:10] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:14:15] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:14:20] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:14:27] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:14:50] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:14:54] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:15:05] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:15:17] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_VERSION already defined in
> D:\Inetpub\WWWroot\GandRPub\FX\FX.php on line 14
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_VERSION_FULL already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX.php on line 15
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ERROR_RETURN already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_Error.php on
> line 2
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ERROR_PRINT already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_Error.php on
> line 2
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ERROR_TRIGGER already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_Error.php on
> line 2
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ERROR_DIE already defined
> in D:\Inetpub\WWWroot\GandRPub\FX\FX_Error.php on line 2
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ERROR_CALLBACK already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_Error.php on
> line 2
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_OPEN already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 21
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_CLOSE already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 22
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_DELETE already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 23
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_DUPLICATE already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 24
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_EDIT already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 25
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_FIND already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 26
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_FINDALL already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 27
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_FINDANY already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 28
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_NEW already defined
> in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php on line
> 29
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_VIEW already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 30
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_DATABASENAMES
> already defined in
> D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php on line 31
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_LAYOUTNAMES already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 32
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ACTION_SCRIPTNAMES already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 33
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_DATA_RETURNED already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 36
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_DATA_UNSENT already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 37
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ARRAY_PORTALS already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 40
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_ARRAY_FIELDS already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 41
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_RETURN_OBJECT already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 44
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_RETURN_FULL already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 45
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant FX_RETURN_BASIC already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX_constants.php
> on line 46
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant EMAIL_ERROR_MESSAGES already
> defined in D:\Inetpub\WWWroot\GandRPub\FX\FX.php on line 22
> >
> > [04-Sep-2007 15:15:17] PHP Notice:  Constant DISPLAY_ERROR_MESSAGES
> already defined in D:\Inetpub\WWWroot\GandRPub\FX\FX.php on
> line 23
> >
> > [04-Sep-2007 15:15:17] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> > [04-Sep-2007 15:15:22] PHP Fatal error:  Nesting level too deep -
> recursive dependency? in Unknown on line 0
> >
> >
> >
> > This continued – the "nesting level too deep" and "already defined" errors
> showing paths to a couple different directories that have an FX folder….
> >
> >
> >
> > Any page I tried to access with php gave me the "PHP access violation" at
> the top and nothing would load.  I only tried pages that include FX – in
> hindsight I guess I should have tried to load a basic php page to see if the
> same "access violation" occurred.
> >
> >
> >
> > At 15:20 I finally restarted the web server – and everything has been fine
> since.
> >
> >
> >
> > Does anyone know what may be causing this?  Is this an FX error, or
> something mis-configured with IIS and PHP?
> >
> >
> >
> > Any insight would be greatly appreciated.
> >
> >
> >
> > Thanks –
> >
> >
> >
> > Alex
> > _______________________________________________
> > FX.php_List mailing list
> > FX.php_List at mail.iviking.org
> > http://www.iviking.org/mailman/listinfo/fx.php_list
> >
> >
>
>
> _______________________________________________
> 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