I was using Views 6.x-3.x-dev (1.58 MB) 2010-Oct-16. It installed successfully and integrated with everything (lots of instances) that depeneded upon it, but we were getting many DB errors, especially with respect to Anonymous DB users, apparently something to do with uninitiated variables. Our Drupal 6 / UC project is nearing completion and we have many other tasks to complete, and no time to do code debugging. The good news is that apparently all such DB errors were fixed when I replaced the above dev version with Views 6.x-2.11 (1.59 MB) 2010-Jun-16 (it's green for a reason!), ran update.php and cleared all caches. I'm sharing this to save others time. Thanks!

Comments

merlinofchaos’s picture

Title: Didn't work for us » Vague bug report about Views 3.x with no useful information
Status: Active » Closed (cannot reproduce)

It is of no value to the project to post vague bug reports like this. Without specific errors, there is nothing we can act on.

The issue queue is not a place to basically write reviews or warn people off of using software. Please use your blog for that kind of thing. The Views' issue queue is a place where a lot of people work to try and improve the Views project.

This one is a difficult one, because I sense that you posted this with the intent of trying to be helpful, but the opposite effect has been achieved. We now know you had a problem, but we have no idea what that problem was. We don't know that the problem was even related to Views, really, it could easily have been some other module that isn't yet updated to Views 3. Just as one example of things that might have gone wrong.

onlineguy’s picture

Version: 6.x-3.x-dev » 6.x-2.11
Component: Miscellaneous » Code
Assigned: Unassigned » onlineguy
Status: Closed (cannot reproduce) » Needs work

Pfft! I wonder what crawled up your bum, merlinofchaos. I know you're 'BMOC' and I'm 'nobody' around here, but your reply doesn't rate further comment. I simply ask you, in the future please do not harshly and hastily re-title my posts with no effort in seeking a solution to a real, ongoing problem in active code. How about crunching down equally hard on my other (related) post: http://drupal.org/node/951578 ?
The other module to which you vaguely allude: possibly the "filter.module" in Drupal 6.19 (current) core. Thanks?

onlineguy’s picture

Assigned: onlineguy » Unassigned
dawehner’s picture

Version: 6.x-2.11 » 6.x-3.x-dev
Component: Code » Miscellaneous
Status: Needs work » Closed (cannot reproduce)

@onlineguy
It's just such a perfect example of missing information.

I suggest you to have a look at http://drupal.org/node/add/project-issue/views

There is written that

Before submitting an issue to Views, you are responsible for reading and understanding the Views issue submission guidelines. Failure to read and understand this page will result in your issue being marked "won't fix".

So based on this stuff your issue should be different, but we need this issue as example.

onlineguy’s picture

Component: Miscellaneous » Join the Bug Squad
Priority: Major » Critical
Status: Closed (cannot reproduce) » Closed (won't fix)

Glad to provide your definition of such a "perfect example" of a poorly written forum post, dereine (yes, I failed to read the posting guidelines carefully enough, and by the way, at times I have certain strong body odors, too).

Now, is anyone here willing to click the link I included in my retort to merlin's 'review' (a second possibly-also-semantically-defective post I'd written with no knowledge I'd been so offensive with the one above) and take a crack at actually discussing Drupal CODE in this godforsaken forum, instead of who's the biggest know-it-all? I hope that in this lifetime we can all get over ourselves enough to find a fix or two. I don't see myself providing the fix for the reason I already posted, but I've learned what a wonderful community of brilliant others are out there.

I presume there is also a rule in the guidelines saying if you can't fix a bug, just CRITICize the folks who point them out, too. Nice. Okay, so submission is not my best skill. Neither is CRITICism. I spend more of my time building things than picking others' work apart. Honestly.

onlineguy’s picture

I'm just stupid, I guess. In ancient Rome, the forum is where people discussed ISSUES. Whatever. I thought this WAS a FORUM ('a public meeting or assembly for open discussion'), but it's an "issue queue," quite distinct from a forum. My bad; no, make that my unforgivable evil. Please try to forgive me for failing to conform to norms; I scarcely have time to eat and sleep, not to mention think. Per the gospel according to whomever, "Broad or vague support requests or general pleas for help are best left to the forums, where you will get more eyes." Gone already, so fast I'm a blurrr... No personal offense intended, and I apologize one last time sincerely for good measure!

onlineguy’s picture

I'm really leaving and sincerely not trying to get in a p***ing match with anyone here... I do want to leave you with one thought though, and that is, it is also not helpful for maintainers to keep trying to 'sell' buggy code (guinea pigs like me form an odd test base, don't we?). Where is the list of other 'popular' mods with which Views 3.xdev (I'm only referring to the dev version and most people know that dev versions aren't guaranteed to work with everything else anyway) is proven compatible? All I was trying to do here was save others from grief, not bring more upon myself. I wonder if you imagine how much time and energy was wasted because this module (and possibly moreover, the filter.module core module's bug that's potentially much more significant) had to be rolled back by at least three people (leading to the error for which we're all now seeking a solution)? It's already holding up my project weeks, and every day lost is a day I get closer to unemployment if my employer goes under because I can't deliver a working site.

merlinofchaos’s picture

I simply ask you, in the future please do not harshly and hastily re-title my posts with no effort in seeking a solution to a real, ongoing problem in active code.

Whoa, hold the presses and stop. Did you actually read my reply?

First, I needed to set up a more useful title, because the title you gave provides no information to someone scanning the rather large issue queue. Unfortunately, when I distilled the information out of your post, the title I set summarizes precisely what I got.

You provided no useful information. I am not able to read your mind nor will I take wild guesses as to how your system was configured or how to produce the situation you have. I understand that, yes, you were running into an error. That's great. The problem is, you also posted this issue with the apparent suggestion that you had no interest in fixing the error, but instead of maligning the software suggesting people not use it. Not useful. If you wish to do that, there are other forums for it, but the Views issue queue is the one I control.

Let's list the problems with your post, and we don't need the Views submission guidelines to tell us what's wrong. Really, everything here is relatively common sense:

You did not actually provide the error you were getting.
Let's quote: but we were getting many DB errors, especially with respect to Anonymous DB users, apparently something to do with uninitiated variables.. That's all the error conditions provided. Exactly how am I supposed to interpret this? If you honestly believe that there is anyone who can take that sentence and know what you mean, then you attribute great, great powers of mind reading to us. I challenge you, when next submitting a request for support--and this goes for any channel, be it in Drupal or opensource or on the phone with your credit card company or your telephone company or your automotive mechanic, please assume that the person you are conveying information to has no understanding of you, your setup, your job, what you've done, how you've used the product, and what you see, have seen or will see.
Quote: Our Drupal 6 / UC project is nearing completion and we have many other tasks to complete, and no time to do code debugging.
That's great. You more or less admit, straight up, that you have no time to actually provide the information that you know is needed.
I'm sharing this to save others time.
This tells me you have no interest in actually getting this bug fixed at all. This issue is, by your own statement, a warning to not use this version of Views.

Responding out of order now:

Pfft! I wonder what crawled up your bum, merlinofchaos. I know you're 'BMOC' and I'm 'nobody' around here, but your reply doesn't rate further comment.

First, clearly it did rate further comment, since you went on.

Second, I thought I communicated what was wrong quite clearly. I communicated what you did wrong significantly more clearly than you communicated what was wrong with the software. If I was harsh, it was simply that I can't act on a bug report with no information. I was trying to inform you what you did wrong so that you could correct the situation. If you do not wish to, that is fine, but that ends the bug report. If you wish to correct the situation, that also is fine, but being combative about it isn't going to convince anyone to spend any more time on your issue.

How about crunching down equally hard on my other (related) post: http://drupal.org/node/951578

1) That's a forum post, not an issue.
2) That's about Drupal core. I maintain the Views project (as well as Panels, CTools and a couple of others). That's outside of my area of interest.
3) I don't understand why you reference something completely unrelated. Or maybe it's related and there's no way to tell. See above about the amount of useful information you've given.

The other module to which you vaguely allude: possibly the "filter.module" in Drupal 6.19 (current) core. Thanks?

I don't know what this even means. I alluded to a core module? Maybe my allusion was my comment that I cant even tell if the problem is even a Views problem. Well, I can't. Please forgive me, but as I said above, I'm not a mindreader.

Status: closed (cannot reproduce) » needs work

It would help everyone if you'd spend a few minutes learning what the issue statuses actually mean. I realize the issue statues are not completely straight forward, and I can't do anything about that, as I am not in control of them. In this case, 'needs work' indicates that there is a patch underway, usually that has been reviewed and failed review.

But beyond getting the wrong status, the proper response would have been to set the issue active and provide the information necessary for us to identify your issue.

Now, is anyone here willing to click the link I included in my retort to merlin's 'review' (a second possibly-also-semantically-defective post I'd written with no knowledge I'd been so offensive with the one above)

I presume there is also a rule in the guidelines saying if you can't fix a bug, just CRITICize the folks who point them out, too. Nice. Okay, so submission is not my best skill. Neither is CRITICism. I spend more of my time building things than picking others' work apart. Honestly.

Have you ever built anything that required user support? Have you ever actually been involved in these kinds of interactions? The message that runs through your post, in nearly every sentence is "THIS IS BROKEN FIX IT". Again, and I feel like I'm repeating myself over and over again, but it is imperative that if we are going to address your bug -- and at no point did I ever suggest your bug would not be addressed -- is that the proper information required to identify and reproduce that bug be produced.

It is strange to me that you find what I found to be a straightforward commentary on this to be so harsh. I have said nothing personal about you, though you've offered insults and condescension in reply. I admit that, personally, I have little interest in helping someone who offers insults (and if you need to ask, the BMOC/I'm nobody is the particular insult/condescension I'm pointing to). That said, if you wish to cooperate and provide useful information, I will do what I can.

If you prefer to feel like a martyr, be my guest. You've already stated that you don't have the time "to do debugging" which I interpret to mean you don't have the time to provide the necessary information. If you don't, then that's pretty much the end of it, and when someone else runs into the problem you ran into, hopefully they will report it with enough information to address it. It is sad, to me, that you chose to interpret my response as a personal criticism. I suppose that the appropriate answer would have been to simply close the issue with no comment. That would have avoided offending you, to be sure, but then you would not be in the position understand what you did wrong here, and modify your behavior.

Let me close with this, quoting myself:

This one is a difficult one, because I sense that you posted this with the intent of trying to be helpful, but the opposite effect has been achieved.

I really did believe, at first, you were trying to be helpful. In fact, the reason that you've gotten a book of text here, rather than simple reversion to closed (won't fix) status, is because I believed that you probably intended well, but simply failed to execute on your intention. If you feel you have been treated harshly, or poorly because of this, well, I guess that's the breaks. Unfortunately for you, I am not an AT&T customer service representative paid to tell you that the customer is always right. I am a person who works on this project out of passion and desire for what I do and what I create. I take slights a little bit personally because of this passion, but I also do not feel, for one second, like I need to be beholden to someone who comes off to me as feeling entitled. The Gnu Public License stipulates that this software is provided AS IS and without warranty. If you want to be a part of improving that software, that's great. Please be a part of it.

But please do not expect anyone here to dance on a string for you. This is open source, and everyone in the community is expected to contribute. That's why the software is "free". You don't pay for it in money, but there is still a cost.

merlinofchaos’s picture

Component: Join the Bug Squad » Miscellaneous

Ahh, you wrote a much worse post while I was writing the last one.

and that is, it is also not helpful for maintainers to keep trying to 'sell' buggy code (guinea pigs like me form an odd test base, don't we?).

You're referring to Views 3.x.

You have a -dev version of a piece of software that is only released as an 'alpha'. In case you aren't aware, 'alpha' means that the software is incomplete. Also, it is buggy. Alpha software is known to be buggy.

Also, I didn't sell you anything. I have not received one cent, in any way, shape or form, from your use of the software. You, in fact, are likely making money off of my work. So who's the one doing the selling here?

I wonder if you imagine how much time and energy was wasted because this module (and possibly moreover, the filter.module core module's bug that's potentially much more significant) had to be rolled back by at least three people (leading to the error for which we're all now seeking a solution)? It's already holding up my project weeks, and every day lost is a day I get closer to unemployment if my employer goes under because I can't deliver a working site.

Very well. Here is my offer:

I will give you a full, unconditional, 100% refund of every cent you paid me for this software. In return, you might consider please uninstalling my software from your system and finding another solution.

Also, once again, dereine and I work on Views. This is the issue queue for Views. filter.module is Drupal core. That's a different project, and it is unrelated to Views beyond the fact that Views uses its data and API. I can't help you with problems with filter.module.

That said, I'm now actually angry, and I assure you, you will receive no support, nor help, nor responses from me in the future. I apologize for attempting to take a conciliatory tone in my last post. It was not deserved, and I have already spent entirely too much time trying to deal with you. I will not make that mistake again.

merlinofchaos’s picture

Priority: Critical » Normal
Status: Closed (won't fix) » Closed (cannot reproduce)

Also, fixing issue settings because apparently onlineguy felt like twiddling some of them randomly in #5.

onlineguy’s picture

Hey Merlin, I'm not going to go toe-to-toe with you because your reputation precedes you and I do sincerely appreciate your hard work. Let's not see who can be the bigger honcho. You win! My angst evolved from the fact that it seemed (and nothing has changed my POV on this) that it was your intention to instead of seriously considering the issue, ignore it (and even if I totally screwed up on my submission format, it's not about you or me, it's about having a stable platform that is not performing poorly. Furthermore, there is apparently no issue queue for filter.module (or if anyone can clue me in as to its location, thanks). Aside from my own identification (however poorly) of the problem, I see that others have it, too. E.g.: http://diggit.drupalextras.com/node/35439/related_links . So if we could please drop the who's-in-charge-here (I know you are) debate, and focus on why there is an issue in the code and how to fix it, that would be helpful. I have no interest in re-parsing your parse of my extended semi-rant, or escalating this any farther than it already went. I can understand your desire to help your team not be bogged down by poorly written posts, and I can get over myself and the fact that apparently what I regard as a real issue was apparently buried without my permission, and I can move past this without attaching any personal dimensions. I hope you can, too. Thanks.

onlineguy’s picture

Issue tags: -best issue ever, -best issue ever no seriously

IMHO you are acting like a total jerk instead of helping to solve a real problem. I will try to debug this code, however if you don't find less arrogant ways to communicate, you're one of the problems, too.

dawehner’s picture

onlineguy’s picture

When did I claim omnipotence? Interesting pre-occupation of yours... I also want to state again
for the record, I am NOT here to find fault with other humans, but wonder about some people's
objectives and eagerness to talk so angrily to/about me for offering/seeking help. The only thing
I feel entitlement for around here is free speech, but talk is cheap and I don't live on innuendos.
It would sure be great if we could end personal attacks & nonsense and get on with development.

janusman’s picture

@onlineguy: Ok, give us some actual error messages to work on. Please?

henrijs.seso’s picture

Issue tags: +best issue ever

lol

onlineguy’s picture

@janusman: As noted above, I generated multiple backtraces (now three of them), each is 9.5MB of plain text! As noted in my first post, I am not a PHP coder and busy trying to meet my work obligations, sifting through so much text not being experienced at debugging PHP is somewhat daunting... I will try to start examining the backtraces later today or tomorrow to see what I can find. If you know a good resource and/or a listing of specific errors to identify in Drupal PHP backtraces, that's welcome.

@lavametender ak...: I realize how ridiculous this seems, and I will be more inclined to see the humor after the error's fixed. Part of this, it seems to me, is my inexperience in PHP combined with some impatience from far more experienced members of the community (no offense intended)! Thanks for helping to keep the tone friendly!

If anyone else would like to see the backtraces, I can upload them tonight and provide a download link. Have a great day and thanks.

onlineguy’s picture

Here are the three backtraces from my beta test site yesterday p.m. (no other changes made since, backtrace is now off):

1. The Ubercart Catalog 'home' Page (now temporarily the beta site's home page):
http://www.motherlandmusic.com/dl/backtrace-1-(UC-Cat-Pg1).txt
2. The Media Landing Page (less complex, and still in development, also with dysfunctional embedded QT video):
http://www.motherlandmusic.com/dl/backtrace-2-(Media-LPg).txt
3. The Drupal 6 Performance admin page (it's smaller, also produced a 10MB trace!):
http://www.motherlandmusic.com/dl/backtrace-3-(Perf-Pg).txt

These are provided with no claims of warranty or liability, obviously (on our live production site). The beta (in-development) subdomain is currently in off-line mode; anyway, permissions for anonymous users are mostly disabled. To anyone who can find something to fix in any/all of the above: THANK YOU!!

dawehner’s picture

The problem is special.

Based on your backtrace it's possible to see that

you updated to views3 and saved the views.
you changed back to views2 and expects that it's forward compatible. This is just not possible.

Save the view again and take sure your footer/header/empty text settings are fine.

arianek’s picture

Totally not minding-my-own business here...

@onlineguy - in case you have missed it, this is the Drupal code of conduct: http://drupal.org/dcoc which notes "We might all experience some frustration now and then, but we cannot allow that frustration to turn into a personal attack."

Merlinofchaos' initial response to you was only informing you of proper use of the issue queue, and was in no way a personal attack (I suppose maybe you misinterpreted the change of title as being a dig at you, rather than purposed towards noting for other Views devs not to spend time with the issue.) Your following comment was instantly a very insulting attack on him.

This is no way to get *FREE* volunteer help, especially from very busy and dedicated members of the community. This is not a one-off case, as can be seen through a few of the other posts in your Tracker history which look very similar to this.

Please do take a step back, and next time you need help, use the appropriate method (IRC or the Forums for support, or if that is not successful, filing an issue marked "support request"; properly formatted issue queues for true bugs/support requests/feature requests; Forums, your blog, or even various http://groups.drupal.org groups if you just want to discuss something).

This along with a bit of a calmer attitude will get you much further when you need help.

onlineguy’s picture

Thank you arianek, I will try to be nicer and not take offense when it seems that someone with more horsepower is overpowering me here, including you; you're right of course. I am eager to help the community to grow and not to become more of a nuisance than I've already made myself. While I'm new to Drupal, I'm old to software development, but I was obviously too quick on the trigger. My anger stemmed from reading someone else's surmisal of my text as containing hints and motivations that honestly were not in my head. Fact is, I'm still forming my own impressions of how Drupal works and while I'm not opposed to reading manuals, I don't always consult them (if they are even available) before trying what seems reasonable. Merlin, if you read this, I'm sorry for insulting you. Can we all just get along? Cheers PS: From my very first post here, I wanted to delete it, but saw no way to do that. I realize that others can learn from my mistakes, but I don't understand why it's impossible for me to delete my own statements. I guess I could edit them to nubs with a single period or something, but that seems worse than simply removing them.

onlineguy’s picture

@dereine - I thought it was clear from my first post that I noted in the issue settings block above that my "issue" pertained to the 3.x-"dev" version and the fact of it being somehow incompatible with one or another other modules which caused me to re-install the 6.x-2.11 version, which turned into the present situation. Not to be pedantic about it, but I truly wonder how you determined the same factoid from the backtraces. I did in fact save all of the views individually (based on a post I read elsewhere on a vaguely similar issue; that took about an hour or more, given the site's present slowness factor) over a week ago, cleared all caches, and thought I was "out of the water." That was before I started checking the dblog in depth (after resolving something else)... now here I am. It is interesting to examine the PHP code and see each variable do its thing; I'm eager to see where it's screwing up. I would also welcome a quick fix if anybody has one, such as fully uninstalling and reinstalling Views 2 (with any pertinent safety notes). This may not be significant, but for a day or so I disabled Pathauto and found the site didn't churn so much (pages load faster), although for whatever reasons it was still unacceptably slow (maybe with full caching turned on for production it would've been better). Now it's back to full slow. It is amazing how much work PHP can do in the background, but not when it holds up downloads for users!

Did anyone notice the 495 recursions? What if I set a limit on them (and if you think it might help, please note how to do it)? But isn't the limit strictly on their depth in the tree, not how many times recursion is invoked? Obviously, I have much to learn here. Thanks.

dave reid’s picture

Issue tags: +best issue ever no seriously