Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2011, 04:50 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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)
Reply With Quote
  #2  
Old 02-19-2011, 04:58 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldSchoolDSL View Post
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.
Reply With Quote
  #3  
Old 02-19-2011, 05:12 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 02-19-2011, 06:47 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin needs a rewrite because of a php bug in an out of date version of php? Wha?
Reply With Quote
  #5  
Old 02-19-2011, 07:03 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
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. )
Reply With Quote
  #6  
Old 02-19-2011, 08:07 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 02-19-2011, 04:39 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KevinL View Post
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.
Reply With Quote
  #8  
Old 02-19-2011, 06:54 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 02-19-2011, 07:39 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
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.
Reply With Quote
  #10  
Old 02-19-2011, 08:11 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


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:56 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.04804 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete