Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 01-17-2013, 10:22 PM
aMies aMies is offline
 
Join Date: Dec 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Issues Loading global.php for Integration

Hi,

We've been having an issue since migrating to a new server where including global.php causes long load times and/or 500 Server Errors. We need to require it to integrate the vB login to our website. Additionally, since the migration, loading a thread or blog results in:

No packages found on line 321 in /home/complexi/public_html/forums/vb/types.php
#0 /home/complexi/public_html/forums/vb/types.php(265): vB_Types->loadPackages(Array)
#1 /home/complexi/public_html/forums/vb/types.php(158): vB_Types->loadTypeInfo(Array)
#2 /home/complexi/public_html/forums/vb/types.php(120): vB_Types->loadTypes()
#3 /home/complexi/public_html/forums/vb/types.php(136): vB_Types->__construct()
#4 /home/complexi/public_html/forums/packages/vbattach/attach.php(1322): vB_Types::instance()
#5 /home/complexi/public_html/forums/includes/class_blog_entry.php(506): vB_Attach_Display_Content->__construct(Object(vB_Registry), 'vBBlog_BlogEntr...')
#6 /home/complexi/public_html/forums/includes/class_blog_entry.php(291): vB_Blog_Entry->process_attachments()
#7 /home/complexi/public_html/forums/blog.php(751): vB_Blog_Entry->construct()
#8 {main}

Any idea what is causing these issues? I've installed the latest patch and used the diagnostic tools to ensure the files were ok.

--------------- Added [DATE]1358465166[/DATE] at [TIME]1358465166[/TIME] ---------------

http://www.complexitygaming.com/index.php

This is where these issues are happening. Click one of the thread or blog links at the bottom to receive the error above. You may also expeirence what feels like a timeout (or very long load) due to what I've narrowed down to be global.php (which is included in order to enable the login up top). This worked on our previous server prior to the migration. I'm stumped.
Reply With Quote
  #2  
Old 01-18-2013, 01:46 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This all happened after a server migration? Are both servers running the same version of PHP and MySQL? And was the database collation/charset the same on both? Did you try reuploading all new default vbulletin files? Did you try disabling all your modifications? Is there anything in your error_logs (if you don't know where they are, ask your host)?
Reply With Quote
  #3  
Old 01-18-2013, 02:28 AM
aMies aMies is offline
 
Join Date: Dec 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
This all happened after a server migration? Are both servers running the same version of PHP and MySQL? And was the database collation/charset the same on both?
Pre-Migration
Apache version: 2.2.14
PHP version: 5.2.12
MySQL version: 5.0.96-community
Server charset: UTF-8 Unicode (utf8)

Post-Migration
Apache version: 2.2.23
PHP version: 5.2.17
MySQL version: 5.5.23
MySQL charset: UTF-8 Unicode (utf8)

Quote:
Did you try reuploading all new default vbulletin files? Did you try disabling all your modifications?
Yes and yes.

Quote:
Is there anything in your error_logs (if you don't know where they are, ask your host)?
Error logs didn't give me anything of great value, but we did find that when the lag occurs (do to processes building), it hangs on function.flock.

--------------- Added [DATE]1358522560[/DATE] at [TIME]1358522560[/TIME] ---------------

The No Packages error has now been fixed. However, when including global.php, processes still continue to build and eventually hang resulting in an Internal Server Error.
Reply With Quote
  #4  
Old 01-18-2013, 05:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just went to your site and got no error when clicking on a thread or blog link from the bottom of your index.php page. Did you get the issue resolved?
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05465 seconds
  • Memory Usage 2,187KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete