vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DTO Garage - free garage features for all your members (vB 3.8.X) (https://vborg.vbsupport.ru/showthread.php?t=216529)

mferguson 06-30-2009 07:48 PM

For those that are experiencing the SQL error after installing the plugin-patch posted can you tell me what version of vBSEO you are using?

In looking at oly51's information he was running vBEO 3.2 which has a problem in one of its plugins that prevents a vBulletin variable (userinfo) from being shared with postbit plugins. This is an issue I identified some time ago and worked with the vBSEO team to resolve.

Here is a description of the problem and how to resolve it if you are using versions of vBSEO earlier than 3.3.0 Gold. Please note that the issue was fixed in 3.3.0 Gold but exists in all 3.3.0 release candidates and previous versions.

Best regards,

Mark

Kolbi 06-30-2009 07:53 PM

I?m using vBSEO 3.3.0 Gold :)
But I have this SQL failure?!?

mferguson 06-30-2009 08:08 PM

Can you check the vBSEO plugin called "vBSEO Precache Postbits" and see if the following code is present?

PHP Code:

global $vbseo_gcache;

$vbseo_gcache['user'][$post['userid']] = array(
'userid'=>$post['userid'],
'username'=>$post['username']
); 

If it is then let me know and we'll need to figure out a way to debug this issue. I've been unable to reproduce this issue myself and suspect that if it isn't the vBSEO issue that I'm aware of that it is related to usergroups that the users belong to? At a minimum the error being thrown indicates that $userinfo is being overwritten or not set up correctly thereby preventing the userid of the post owner from being passed to our code correctly.

Thanks!

Mark

oly51 06-30-2009 09:37 PM

I upgraded to vBSEO 3.3.0 Gold and re-added the temp XML fix and the garage link now shows up with no SQL errors.

mferguson 06-30-2009 09:43 PM

Quote:

Originally Posted by oly51 (Post 1840403)
I upgraded to vBSEO 3.3.0 Gold and re-added the temp XML fix and the garage link now shows up with no SQL errors.

Excellent. Please give garage creation, image uploading, postbit popup menu and user profile display a try to insure that everything is working correctly.

Thank you for the update!

Best regards,

Mark

oly51 07-01-2009 01:44 AM

The Mysql error is back. I reverted back to the original XML and they went away.

One common thing I noticed in two of the threads the error came from was that they contained a post by a "guest" who is not listed in any usergroup.

mferguson 07-01-2009 02:33 AM

OK...this was the information I was looking for and does not have user information associated with it. I can resolve this fairly easily.

Question though...why are guest's allowed to post without registering on the site? It seems this would result in massive amounts of spamming and not a configuration that I've ever run into before.

Thanks again for the missing piece of the puzzle. Please note that while I can resolve this issue the issues relative to vBSEO prior to 3.3.0 Gold will still prevent the garage link from displaying.

Let me work up a patch and I'll get that uploaded as soon as possible.

Mark

oly51 07-01-2009 09:31 AM

Mark - I applied the fix you forwarded and it cleared up the MySQL error. The garage link is showing in the postbit.

It is an unusual situation. Guests cannot post on my forums but there are a couple of old threads where the posters user info did not transfer when I migrated to vB and they showed up as a "guest". The search spiders must have picked them up.

Thanks for your help and quick responses.

Kolbi 07-01-2009 11:38 AM

Quote:

Originally Posted by mferguson (Post 1840359)
Can you check the vBSEO plugin called "vBSEO Precache Postbits" and see if the following code is present?

PHP Code:

global $vbseo_gcache;

$vbseo_gcache['user'][$post['userid']] = array(
'userid'=>$post['userid'],
'username'=>$post['username']
); 

If it is then let me know and we'll need to figure out a way to debug this issue. I've been unable to reproduce this issue myself and suspect that if it isn't the vBSEO issue that I'm aware of that it is related to usergroups that the users belong to? At a minimum the error being thrown indicates that $userinfo is being overwritten or not set up correctly thereby preventing the userid of the post owner from being passed to our code correctly.

Thanks!

Mark

This is my plugin code:
PHP Code:

global $vbseo_gcache;

$vbseo_gcache['user'][$post['userid']] = array(
'userid'=>$post['userid'],
'username'=>$post['username']
); 

It?s the same. A MySQL failure is caused by a visitor and the same by me (admin).

Kolbi 07-01-2009 11:41 AM

Quote:

Originally Posted by mferguson (Post 1840511)
Question though...why are guest's allowed to post without registering on the site? It seems this would result in massive amounts of spamming and not a configuration that I've ever run into before.

This could be the problem I had, too. Link: http://www.2-wheel-planet.de/vorstel....html#post2230 That caused the issue, I think.

I don?t allow guest to post, but I had deleted a user and then the name "guest" is shown.


All times are GMT. The time now is 08:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01402 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete