cvargovargo;10997284 wrote:can you tell me weather I even need to worry about php notices or just warnings?
If no one needed to "worry about" notice-level messages, then they wouldn't even exist. 😉
cvargovargo;10997284 wrote:also, that nature of my problem relates to wp e-commerce admin pages being slow...i sometimes get when opening an individual product
Actually, the nature of the problem you posted about has nothing at all to do with the "slowness" of anything at all. (And even if it did, note that "pages being slow" doesn't have any useful meaning, diagnostically speaking, since there are many different components between the user and the server that could introduce delays.)
Well that has nothing to do with PHP, since it sounds more like a Javascript error. Perhaps it's some sort of AJAX call that is waiting on a response from a PHP script, but it's pretty much impossible to say without looking at the line number referenced in the error message (127) and figuring out what's going on there.
cvargovargo;10997284 wrote:first i have no idea what code might need to modify headers
Anything that sets cookies would be one example.
cvargovargo;10997284 wrote:and second, move to before any output including whitespace? like directly after <?php without any spaces?
Well it doesn't have to be "directly after" the opening <?php tag, but it would definitely have to come before any PHP statements that generate output.
And note that the whitespace I was referring to is, again, any that is outside of the <?php .. ?> tags. For example, this code:
<?php
session_start();
// rest of script here...
will cause the 'headers already sent' error since there are at least two characters (the line breaks) that come before the opening '<?php' tag.
cvargovargo;10997284 wrote:its so hard to follow any of this stuff, do you have any recomended resources to start to get a handle on this stuff.
The resource I use most often is my many years' worth of programming experience. Unfortunately, I can't really put that in a form that's tangible to anyone but me. :p
My second most-used resource would probably be the PHP manual.
After that, I guess I'd defer to the plethora of tutorials or even books that are available... but YMMV (greatly) depending upon the author and last updated date.