PDA

View Full Version : Issues Loading global.php for Integration


aMies
01-17-2013, 10:22 PM
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 1358465166 at 1358465166 ---------------

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.

Lynne
01-18-2013, 01:46 AM
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)?

aMies
01-18-2013, 02:28 AM
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)

Did you try reuploading all new default vbulletin files? Did you try disabling all your modifications?

Yes and yes.

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 1358522560 at 1358522560 ---------------

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.

Lynne
01-18-2013, 05:33 PM
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?