vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   php 5.3.3 & vBulletin --or-- Host issue? (https://vborg.vbsupport.ru/showthread.php?t=259106)

OldSchoolDSL 02-19-2011 04:50 AM

php 5.3.3 & vBulletin --or-- Host issue?
 
So I just need to know if this is a hosting issue or does vBulletin not like php 5.3.3

I get this warning message on my forum header:

PHP Code:

Warningtrim() expects parameter 1 to be string, array given in [path]/forum.php(653) : eval()'d code on line 28 

When I follow this step to use php 5.3.3

https://support.hawkhost.com/index.p...barticleid=147

(Option #2)

TheLastSuperman 02-19-2011 04:58 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2164193)
So I just need to know if this is a hosting issue or does vBulletin not like php 5.3.3

I get this warning message on my forum header:

PHP Code:

Warningtrim() expects parameter 1 to be string, array given in [path]/forum.php(653) : eval()'d code on line 28 

When I follow this step to use php 5.3.3

https://support.hawkhost.com/index.p...barticleid=147

(Option #2)

Use 5.2, I've had issues with some of my clients when they tried to use 5.3 and noted to myself a while back the best for me so far has been 5.2.14. So for now rid yourself of that line and revert back to a 5.2 form.

OldSchoolDSL 02-19-2011 05:12 AM

PHP Version 5.2.14 is the default on my host, but of course then I can not use all the file cache options.

*sigh* vBulletin needs a re-write.
https://vborg.vbsupport.ru/showthread.php?t=258319


Thanks for the friendly and quick reply. :)

Zachery 02-19-2011 06:47 AM

vBulletin needs a rewrite because of a php bug in an out of date version of php? Wha?

OldSchoolDSL 02-19-2011 07:03 AM

Quote:

Originally Posted by Zachery (Post 2164210)
vBulletin needs a rewrite because of a php bug in an out of date version of php? Wha?

What's the newest version vBulletin can accept without conflict or error?

(assuming the majority is using a control panel and its dependents. )

KevinL 02-19-2011 08:07 AM

I use 5.3.4 on all our servers.

I am assuming you just updated to 4.12? If so then that error is from this mod https://vborg.vbsupport.ru/showthread.php?t=243460

OldSchoolDSL 02-19-2011 04:39 PM

Quote:

Originally Posted by KevinL (Post 2164222)
I use 5.3.4 on all our servers.

I am assuming you just updated to 4.12? If so then that error is from this mod https://vborg.vbsupport.ru/showthread.php?t=243460

You sir, solved my problem. Thank you :)

I'm still on 4.1.1 and since I have things working the way I want... I may not update again until the new editor is released.

But you were right. This modification seem to conflict with some versions of PHP. As it's not 100% needed, I've removed it.

Boofo 02-19-2011 06:54 PM

No, the mod does not conflict with any versions of PHP. I am using that mod on PHP 5.3.4 and vb 4.1.0 PL2 just fine. It is the 4.1.2 version of vb that is messing it up. They changed the way they list the active users now. I'll fix it when I upgrade to 4.1.2, and not before.

OldSchoolDSL 02-19-2011 07:39 PM

Quote:

Originally Posted by Boofo (Post 2164368)
No, the mod does not conflict with any versions of PHP. I am using that mod on PHP 5.3.4 and vb 4.1.0 PL2 just fine. It is the 4.1.2 version of vb that is messing it up. They changed the way they list the active users now. I'll fix it when I upgrade to 4.1.2, and not before.

Problem about that is I was using vBulletin 4.1.1 and not 4.1.2

Issue only happen upon changing to PHP 5.3.3. Reverting back to PHP 4.2.14 also corrected the issue.

Either way, uninstalling your modification corrected the issue and allowed me to us PHP 5.3.3.

Boofo 02-19-2011 08:11 PM

Well, you're the only one using 4.1.1 that has reported that so it sounds to me like you have more going ion than just problems with this mod. Trim is a perfectly valid function on 5.3. AFAIK.

But, like you said, disabling it made things work right again in that area for you. As weird as this sounds, thanks for uninstalling it. Now I don't have to beat my head into the ground trying to figure out a fix for just one person. ;)


All times are GMT. The time now is 09:40 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.01254 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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