vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - vB Global Translator - Multiply your indexed pages & put search traffic on autopilot (https://vborg.vbsupport.ru/showthread.php?t=216218)

GamerPerfection 06-17-2009 07:17 PM

I keep getting emails notifying me of vbulletin database errors.

And they all seem to centre around the languages. For example:

Quote:

Database error in vBulletin 3.8.3:

Invalid SQL:

UPDATE session
SET lastactivity = 1245267656, location = '/forums/index.php?hl=de', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '5b2512f2b64d205f4087c9b7ef3758fb';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, June 17th 2009 @ 08:40:56 PM
Error Date : Wednesday, June 17th 2009 @ 09:10:14 PM
Script : http://www.galaxyofstars.co.uk/forums/index.php?hl=de
Referrer :
IP Address : 72.30.79.27
Username : Unregistered
Classname : vB_Database
MySQL Version :

Quote:

Database error in vBulletin 3.8.3:

Invalid SQL:

UPDATE session
SET lastactivity = 1245267677, location = '/forums/index.php?hl=cs', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '5b2512f2b64d205f4087c9b7ef3758fb';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, June 17th 2009 @ 08:41:17 PM
Error Date : Wednesday, June 17th 2009 @ 09:10:08 PM
Script : http://www.galaxyofstars.co.uk/forums/index.php?hl=cs
Referrer :
IP Address : 72.30.79.27
Username : Unregistered
Classname : vB_Database
MySQL Version :

As you can see where the script bit is it always is to do with the languages.

I just got 13 emails.

Dave Hybrid 06-17-2009 07:26 PM

Quote:

Originally Posted by clarkey25 (Post 1831478)
I keep getting emails notifying me of vbulletin database errors.

And they all seem to centre around the languages. For example:







As you can see where the script bit is it always is to do with the languages.

I just got 13 emails.

I get a few of them on my sites too, we are looking into it as we speak. So long as your site functions it is nothing to really worry about allbeit a little annoying I know. This happens when the bots try to translate a page and get bored and move on so the MySQL query gets halted and an error thrown.

Dave Hybrid 06-17-2009 07:28 PM

Quote:

Originally Posted by hIBEES (Post 1831438)
I'm getting ....

Warning: require_once(translate.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/functions.php(5721) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required 'translate.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxx/public_html/forum/includes/functions.php(5721) : eval()'d code on line 1


on my portal pages..

I'm gueessin its coz it uses Hook Location: global_complete

If your portal is in a different folder to your forum you will need to upload the files to both folders.

GamerPerfection 06-17-2009 07:34 PM

Quote:

Originally Posted by Dave Hybrid (Post 1831484)
I get a few of them on my sites too, we are looking into it as we speak. So long as your site functions it is nothing to really worry about allbeit a little annoying I know. This happens when the bots try to translate a page and get bored and move on so the MySQL query gets halted and an error thrown.

Ok, thanks for the quick response.

Yes it's not really a problem, just an annoyance, but as long as I know it's nothing major. :D

nascimbeni 06-17-2009 08:56 PM

Can I select fewer languages ? My forum will probably work well with just English and Italian for example

since my forum is a sub domain I uploaded the flag folder in both the subdomain root and main domain root .

I am getting this error
"Fatal error: Call to undefined function mysql_set_charset() in /home/vhosts/lifeinitaly.com/subdomains/my/httpdocs/translate.php on line 36"

Thanks

Dave Hybrid 06-17-2009 09:02 PM

Quote:

Originally Posted by nascimbeni (Post 1831523)
Can I select fewer languages ? My forum will probably work well with just English and Italian for example


PS since my forum is a sub domain where do I uploaf the flag folder in the subdomain root or the main domain root ?

Thanks


Sure, just open translateflags.php and remove the ones you don't want, I'd appreciate if you would leave the credit link/flag badge in.

Dave Hybrid 06-17-2009 09:18 PM

Quote:

Originally Posted by RWerksman (Post 1831422)
How does this mod handle non-standard language responses or forums?

Can you explain what you mean, I'm not sure I understand. :)

Bounce 06-17-2009 09:31 PM

Quote:

Originally Posted by Dave Hybrid (Post 1831486)
If your portal is in a different folder to your forum you will need to upload the files to both folders.

ahhhh, thanks :up:

nascimbeni 06-17-2009 09:35 PM

Thanks for the fast answer !

Since my forum is a sub domain ( not in a folder ) I uploaded the flag folder in both the subdomain root and main domain root .

but I am getting this error
"Fatal error: Call to undefined function mysql_set_charset() in /home/vhosts/lifeinitaly.com/subdomains/my/httpdocs/translate.php on line 36"

Dave Hybrid 06-17-2009 09:53 PM

Quote:

Originally Posted by nascimbeni (Post 1831564)
Thanks for the fast answer !

Since my forum is a sub domain ( not in a folder ) I uploaded the flag folder in both the subdomain root and main domain root .

but I am getting this error
"Fatal error: Call to undefined function mysql_set_charset() in /home/vhosts/lifeinitaly.com/subdomains/my/httpdocs/translate.php on line 36"

I would ask your host, seems to be a php.ini config issue.

http://www.idealog.us/2005/01/howto_fix_fatal.html


All times are GMT. The time now is 08:11 PM.

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.01305 seconds
  • Memory Usage 1,751KB
  • 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
  • (9)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