#26618 [Opn-Fbk]: include_once() sometimes works, sometimes doesn't with each page refresh

2003-12-16 Thread sniper
 ID:   26618
 Updated by:   [EMAIL PROTECTED]
 Reported By:  t dot steve at ariadne-quatra dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Zend Engine 2 problem
 Operating System: Windows 2000 server SP4
 PHP Version:  5CVS-2003-12-14
 New Comment:

Try using the PHP tags, not those ugly ASP tags.
(% % - ?php ?)



Previous Comments:


[2003-12-15 22:04:48] t dot steve at ariadne-quatra dot com

- No, I get no errors even after adding 'error_reporting(E_ALL);'.

- Yes, the same behaviour even if I use include() instead of
include_once().



[2003-12-15 09:25:33] [EMAIL PROTECTED]

Do you get any errors if you put 'error_reporting(E_ALL);' before the
include_once() line? 

Does this happen if you use include() ?




[2003-12-15 08:40:15] t dot steve at ariadne-quatra dot com

The same :( - includes are done eratically.

A note here: this is also the case if I start to wander around the site
(as opposed to just refreshing the same page again and again), i.e. as
the various pages are loaded, sometimes the inlude is done, sometimes
it is not.



[2003-12-14 20:21:56] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip





[2003-12-14 10:46:58] t dot steve at ariadne-quatra dot com

Description:

PHP5 beta2
IIS5
Windows 2000 SP4
ISAPI mode

- Worked correctly with PHP4.3.4 with Zend 2.0.1

- With PHP5 beta2 (also ISAPI mode) a simple PHP page which uses
include_once([local path]) to include the menu part of a web page
sometimes works, sometimes does not (sometimes the menu is included,
sometimes it is not). (There is only the single include_once in the
code, so this is NOT an issue of my trying to include something twice
with include_ONCE... )

- The page contains NO other PHP code, just the lines below:
% include_once(c:/wwwroot/domain.com/english/inc/header.inc); %

(html_head.inc is the file to be included, it contains only html code,
no php)

- Again, note that the exact same page, exact same setup works fine
under 4.3.4 - and has done so with previous versions!

- Under PHP5, with every refresh of the page the inclusion of the file
is erratic - every few refreshes the inclusion is not done.

If you need any part of my php.ini, let me know please.

Thanks,
Steve

Reproduce code:
---
html
head
titleThe world of services/title
/head
body

% include_once(c:/wwwroot/domain.com/english/inc/header.inc); %

Please select from the menu on the left!

/body
/html

Expected result:

A page with the menu on the left (created fromt he included file), plus
the contents.

Actual result:
--
Only the contents apperas, the inclusion is not done.





-- 
Edit this bug report at http://bugs.php.net/?id=26618edit=1


#26618 [Opn-Fbk]: include_once() sometimes works, sometimes doesn't with each page refresh

2003-12-15 Thread sniper
 ID:   26618
 Updated by:   [EMAIL PROTECTED]
 Reported By:  t dot steve at ariadne-quatra dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Zend Engine 2 problem
 Operating System: Windows 2000 server SP4
 PHP Version:  5.0.0b2 (beta2)
 New Comment:

Do you get any errors if you put 'error_reporting(E_ALL);' before the
include_once() line? 

Does this happen if you use include() ?



Previous Comments:


[2003-12-15 08:40:15] t dot steve at ariadne-quatra dot com

The same :( - includes are done eratically.

A note here: this is also the case if I start to wander around the site
(as opposed to just refreshing the same page again and again), i.e. as
the various pages are loaded, sometimes the inlude is done, sometimes
it is not.



[2003-12-14 20:21:56] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip





[2003-12-14 10:46:58] t dot steve at ariadne-quatra dot com

Description:

PHP5 beta2
IIS5
Windows 2000 SP4
ISAPI mode

- Worked correctly with PHP4.3.4 with Zend 2.0.1

- With PHP5 beta2 (also ISAPI mode) a simple PHP page which uses
include_once([local path]) to include the menu part of a web page
sometimes works, sometimes does not (sometimes the menu is included,
sometimes it is not). (There is only the single include_once in the
code, so this is NOT an issue of my trying to include something twice
with include_ONCE... )

- The page contains NO other PHP code, just the lines below:
% include_once(c:/wwwroot/domain.com/english/inc/header.inc); %

(html_head.inc is the file to be included, it contains only html code,
no php)

- Again, note that the exact same page, exact same setup works fine
under 4.3.4 - and has done so with previous versions!

- Under PHP5, with every refresh of the page the inclusion of the file
is erratic - every few refreshes the inclusion is not done.

If you need any part of my php.ini, let me know please.

Thanks,
Steve

Reproduce code:
---
html
head
titleThe world of services/title
/head
body

% include_once(c:/wwwroot/domain.com/english/inc/header.inc); %

Please select from the menu on the left!

/body
/html

Expected result:

A page with the menu on the left (created fromt he included file), plus
the contents.

Actual result:
--
Only the contents apperas, the inclusion is not done.





-- 
Edit this bug report at http://bugs.php.net/?id=26618edit=1


#26618 [Opn-Fbk]: include_once() sometimes works, sometimes doesn't with each page refresh

2003-12-15 Thread sniper
 ID:   26618
 Updated by:   [EMAIL PROTECTED]
 Reported By:  t dot steve at ariadne-quatra dot com
-Status:   Open
+Status:   Feedback
 Bug Type: Zend Engine 2 problem
 Operating System: Windows 2000 server SP4
 PHP Version:  5CVS-2003-12-14
 New Comment:

Are you absolutely sure you are using the latest CVS snapshot?
Grab the latest now, remove ALL (and I mean _all_) php related dlls
from your system before you install it.

Most important one being php4ts.dll (make sure you only have ONE of
those around). Also make sure IIS is not running when you install
PHP..



Previous Comments:


[2003-12-15 22:04:48] t dot steve at ariadne-quatra dot com

- No, I get no errors even after adding 'error_reporting(E_ALL);'.

- Yes, the same behaviour even if I use include() instead of
include_once().



[2003-12-15 09:25:33] [EMAIL PROTECTED]

Do you get any errors if you put 'error_reporting(E_ALL);' before the
include_once() line? 

Does this happen if you use include() ?




[2003-12-15 08:40:15] t dot steve at ariadne-quatra dot com

The same :( - includes are done eratically.

A note here: this is also the case if I start to wander around the site
(as opposed to just refreshing the same page again and again), i.e. as
the various pages are loaded, sometimes the inlude is done, sometimes
it is not.



[2003-12-14 20:21:56] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip





[2003-12-14 10:46:58] t dot steve at ariadne-quatra dot com

Description:

PHP5 beta2
IIS5
Windows 2000 SP4
ISAPI mode

- Worked correctly with PHP4.3.4 with Zend 2.0.1

- With PHP5 beta2 (also ISAPI mode) a simple PHP page which uses
include_once([local path]) to include the menu part of a web page
sometimes works, sometimes does not (sometimes the menu is included,
sometimes it is not). (There is only the single include_once in the
code, so this is NOT an issue of my trying to include something twice
with include_ONCE... )

- The page contains NO other PHP code, just the lines below:
% include_once(c:/wwwroot/domain.com/english/inc/header.inc); %

(html_head.inc is the file to be included, it contains only html code,
no php)

- Again, note that the exact same page, exact same setup works fine
under 4.3.4 - and has done so with previous versions!

- Under PHP5, with every refresh of the page the inclusion of the file
is erratic - every few refreshes the inclusion is not done.

If you need any part of my php.ini, let me know please.

Thanks,
Steve

Reproduce code:
---
html
head
titleThe world of services/title
/head
body

% include_once(c:/wwwroot/domain.com/english/inc/header.inc); %

Please select from the menu on the left!

/body
/html

Expected result:

A page with the menu on the left (created fromt he included file), plus
the contents.

Actual result:
--
Only the contents apperas, the inclusion is not done.





-- 
Edit this bug report at http://bugs.php.net/?id=26618edit=1


#26618 [Opn-Fbk]: include_once() sometimes works, sometimes doesn't with each page refresh

2003-12-14 Thread sniper
 ID:   26618
 Updated by:   [EMAIL PROTECTED]
 Reported By:  t dot steve at ariadne-quatra dot com
-Status:   Open
+Status:   Feedback
-Bug Type: Unknown/Other Function
+Bug Type: Zend Engine 2 problem
 Operating System: Windows 2000 server SP4
 PHP Version:  5.0.0b2 (beta2)
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




Previous Comments:


[2003-12-14 10:46:58] t dot steve at ariadne-quatra dot com

Description:

PHP5 beta2
IIS5
Windows 2000 SP4
ISAPI mode

- Worked correctly with PHP4.3.4 with Zend 2.0.1

- With PHP5 beta2 (also ISAPI mode) a simple PHP page which uses
include_once([local path]) to include the menu part of a web page
sometimes works, sometimes does not (sometimes the menu is included,
sometimes it is not). (There is only the single include_once in the
code, so this is NOT an issue of my trying to include something twice
with include_ONCE... )

- The page contains NO other PHP code, just the lines below:
% include_once(c:/wwwroot/domain.com/english/inc/header.inc); %

(html_head.inc is the file to be included, it contains only html code,
no php)

- Again, note that the exact same page, exact same setup works fine
under 4.3.4 - and has done so with previous versions!

- Under PHP5, with every refresh of the page the inclusion of the file
is erratic - every few refreshes the inclusion is not done.

If you need any part of my php.ini, let me know please.

Thanks,
Steve

Reproduce code:
---
html
head
titleThe world of services/title
/head
body

% include_once(c:/wwwroot/domain.com/english/inc/header.inc); %

Please select from the menu on the left!

/body
/html

Expected result:

A page with the menu on the left (created fromt he included file), plus
the contents.

Actual result:
--
Only the contents apperas, the inclusion is not done.





-- 
Edit this bug report at http://bugs.php.net/?id=26618edit=1