Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 9:45 AM, Joseph Thayne wrote: I do not know if the question has been answered, but how are you opening the session? Are you using session_start() or are you using session_register()? Hi Joseph. It is created via: session_start(); --Rick -- PHP General Mailing List

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 9:35 AM, Ashley Sheridan wrote: I'm assuming then that both the Javascript an the PHP code you have above are both on the same page. The only way I can see your problem occurring would be if your javascript part was on a different page and you were attempting to output t

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Joseph Thayne
I do not know if the question has been answered, but how are you opening the session? Are you using session_start() or are you using session_register()? Rick Dwyer wrote: On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote: How is $item_id created? You've not shown that in your PHP script ex

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Ashley Sheridan
On Tue, 2010-03-02 at 09:35 -0500, Rick Dwyer wrote: > On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote: > > > > How is $item_id created? You've not shown that in your PHP script > > examples. > > // parse item id from the url > $refer=$_SERVER['HTTP_REFERER']; > $thispage=$_SERVER['PHP_SELF']

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote: How is $item_id created? You've not shown that in your PHP script examples. // parse item id from the url $refer=$_SERVER['HTTP_REFERER']; $thispage=$_SERVER['PHP_SELF']; $item_id=substr($thispage, -9); $item_id=substr($item_id, 0, 5); $_SE

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Ashley Sheridan
On Tue, 2010-03-02 at 14:49 +0100, Rene Veerman wrote: > k, add to your script, > to prevent the error from showing. > > On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer wrote: > > On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote: > >> does the script itself ever fail, asides from showing this msg? >

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rene Veerman
k, add to your script, to prevent the error from showing. On Tue, Mar 2, 2010 at 2:38 PM, Rick Dwyer wrote: > On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote: >> does the script itself ever fail, asides from showing this msg? > > No it works fine.  The most annoying thing in making it difficult

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Rick Dwyer
On Mar 2, 2010, at 12:31 AM, Rene Veerman wrote: i doubt you passed us the entire .js.php script.. The rest of the JS is as follows: a href='javascript:loadOSS()'>width='161' height='57' align='right' />Open Window... As far as other PHP goes, the whole page is PHP so I wouldn't know

Re: [PHP] Error Message - Need help troubleshooting

2010-03-01 Thread Rene Veerman
i doubt you passed us the entire .js.php script.. does the script itself ever fail, asides from showing this msg? On Tue, Mar 2, 2010 at 5:46 AM, Rick Dwyer wrote: > Hello List. > > I have some JS code that open a new window with a contact form in it.  When > the link is clicked to open the new

[PHP] Error Message - Need help troubleshooting

2010-03-01 Thread Rick Dwyer
Hello List. I have some JS code that open a new window with a contact form in it. When the link is clicked to open the new window, I will get the following error SOMETIMES: "Warning: Unknown: Your script possibly relies on a session side- effect which existed until PHP 4.2.3. Please be ad