Re: Error Message - Need help troubleshooting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <rpdwyer@xxxxxxxxxxxxx> 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 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 advised that the session extension
> does not consider global variables as a source of data, unless
> register_globals is enabled. You can disable this functionality and this
> warning by setting session.bug_compat_42 or session.bug_compat_warn to off,
> respectively. in Unknown on line 0"
>
> My JS code with a bit of PHP in it looks like this:
>
> function loadOSS()
> var oss_itemid = "<?php echo $item_id; ?>";
> var loadOSS = window.open("my_url/my_file.php?iid=" + oss_itemid, "",
> "scrollbars=no,menubar=no,height=600,width=600,resizable=yes,toolbar=no,location=no,status=no");
> }
>
> As I said above, the error message does not always appear.
>
> Is the error due to the fact I am JS & PHP together?
>
> Any help in understanding what I am doing wrong is appreciated.
>
>  --Rick
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux