icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old August 15th, 2004, 9:34 PM   #1 (permalink)
Registered User
Seasoned Poster
 
Nara's Avatar
 
Joined in Apr 2004
Lives in The Middle of Nowhere
Hosted on serenity
77 posts
Gave thanks: 0
Thanked 0 times
b2 and I are on a roll

So, giving up on the Livejournal-posting business for now, I've encountered yet another b2 problem. I just changed my layout at one of my blogs, and editing the b2comments.php resulted in this error:

PHP Code:
Warningmysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/moonsha/public_html/pyreflies/blog/b2comments.php on line 7 
line 7 is the motor:

PHP Code:
    <?php /* this line is b2's motor, do not delete it */ $wxcvbn_c=0; while($rowc mysql_fetch_object($resultc)) { $wxcvbn_c++; $commentdata get_commentdata($rowc->comment_ID); ?>
..which I copied as is from the b2 template and my previous layout. As far as I can tell, nothing about this code got accidentally changed or anything. But all of a sudden that error shows up when I try to view my comments.

Any ideas?


// edit //

this is even more problematic than I thought.

When I try to go to my blog at http://pyreflies.nu/blog/index.php the comments and form show up below each entry instead of staying hidden like they're supposed to. o___o

...HELP?!
__________________
&!moonshadow-garden.net; [SERENITY]
&!pyreflies.nu;
&!beyond-sanity.org;

The penguins will come. Prepare yourselves for the takeover.
Nara is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 15th, 2004, 11:19 PM   #2 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
Quote:
Originally Posted by Nara
So, giving up on the Livejournal-posting business for now, I've encountered yet another b2 problem. I just changed my layout at one of my blogs, and editing the b2comments.php resulted in this error:

PHP Code:
Warningmysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/moonsha/public_html/pyreflies/blog/b2comments.php on line 7 
line 7 is the motor:

PHP Code:
    <?php /* this line is b2's motor, do not delete it */ $wxcvbn_c=0; while($rowc mysql_fetch_object($resultc)) { $wxcvbn_c++; $commentdata get_commentdata($rowc->comment_ID); ?>
..which I copied as is from the b2 template and my previous layout. As far as I can tell, nothing about this code got accidentally changed or anything. But all of a sudden that error shows up when I try to view my comments.

Any ideas?


// edit //

this is even more problematic than I thought.

When I try to go to my blog at http://pyreflies.nu/blog/index.php the comments and form show up below each entry instead of staying hidden like they're supposed to. o___o

...HELP?!

what version of B2, and how did you install it?
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 15th, 2004, 11:22 PM   #3 (permalink)
Surpass Fan
Comfy Contributor
 
kall's Avatar
 
Joined in May 2004
Lives in Auckland, New Zealand
Hosted on Sync
166 posts
Gave thanks: 0
Thanked 0 times
and, what program do you use to edit your php files?
__________________
From NZ? Want Free Messageboards and Games? - NZB

From NZ? Want Kiwi Web Hosting and Design? - Sparkle Hosting

Sync sync sync...sync sync sync..sync your bootie!
kall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 16th, 2004, 12:27 PM   #4 (permalink)
Registered User
Seasoned Poster
 
Nara's Avatar
 
Joined in Apr 2004
Lives in The Middle of Nowhere
Hosted on serenity
77 posts
Gave thanks: 0
Thanked 0 times
As far as I know it's the most recent version of b2. I think I used the auto-installer for this one.

Strangely enough I never had problems with b2 before. It's just ever since I got back from vacay everything is blowing up in my face o_o


I use Notepad for basically everything, though it's been acting sorta strange lately too. Keeps deleting all my line breaks and spaces inside the PHP files. o_O Could that be the problem? And how do I get it to not do that?
__________________
&!moonshadow-garden.net; [SERENITY]
&!pyreflies.nu;
&!beyond-sanity.org;

The penguins will come. Prepare yourselves for the takeover.
Nara is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 16th, 2004, 12:44 PM   #5 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
1 - scan your computer with Ad-Aware
2 - scan your computer with SpybotSD

3 - try this little proggie for editing html and PHP: DEVPHP
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 16th, 2004, 12:49 PM   #6 (permalink)
Marketing Maven
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Chicago
24,757 posts
Gave thanks: 946
Thanked 807 times
Bigjohn, you need an award. Big Surpass Fan.
Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 16th, 2004, 1:44 PM   #7 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
Quote:
Originally Posted by Kayla
Bigjohn, you need an award. Big Surpass Fan.
Now if only "surpass fans" had permission to see images that people link into their messages...

I think there is a bug with our 'group'... :hiding:
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 16th, 2004, 7:22 PM   #8 (permalink)
Registered User
Seasoned Poster
 
Nara's Avatar
 
Joined in Apr 2004
Lives in The Middle of Nowhere
Hosted on serenity
77 posts
Gave thanks: 0
Thanked 0 times
Wow, thanks Bigjohn! That really seems to have fixed it. I mean, Ad-Aware and Spybot didn't find anything because I scan almost every day, but I put the linebreaks back in with DevPHP and now everything seems to be working just fine. ^_^

Thanks again!!


...Now if only I could figure out why the LJ-posting doesn't work.. ~___~
__________________
&!moonshadow-garden.net; [SERENITY]
&!pyreflies.nu;
&!beyond-sanity.org;

The penguins will come. Prepare yourselves for the takeover.
Nara is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On