Check out the FAQ's here and in the Perl forum Perl Forum
Chances are that the header you're outputting is being superseded by some other output. It's common for a script to work on one webserver, and then behave like this on Apache (or another RFC Compliant WebServer)
If you post your code, or at least the bit up to where you're printing the header, and any subs executed inline, we can give more information
Somebody also told me that you can throw in the -w and it will resolve the problem. I'm having that same problem on one of my scripts right now, and I still can't quite figure it out.
that line switches on warnings whihc will inform you of potential probelms with your script. It won't make the problem go away, but it'll make it easier to find
The following is the error message I am receiving.
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of xml_parse_into_struct(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in d:\easyphp1-7\
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of xml_parse_into_struct(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in d:\easyphp1-7\
This is a PHP issue, looks like the libraries your scripts ran against originally have been updated, and are now warning that some of the syntax has chaged with reference to the xmlparse script. If it was a ready made, then check out where you sourced it originally, chances are that they're aware of the situation and may have posted a newer version. Or you may have moved webhosts ...?
Other than that look into the PHP forum, they're gonna be more au fait with the issues. You can suppress warnings in PHP, but I can't remeber how, and I lent my PHP books to a buddy in college
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.