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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-07-2015, 02:39 PM
Evoir Evoir is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Vb3.8.7 PL2 server move creates errors

Hi,

I recently moved servers, including updating php to 5.4x and found some weird errors. Like images uploaded that are larger than 100kb will not display, and assigning access masks gives an error of Invalid User Specified. I did some research and I find that 3.8.7 PL2 does not like that version of php, so we rolled back last night to php 5.3x

Well, the problem did not subside. both are still present. We are running vB Advanced 3.2.3 which is the correct version for the version of vB we ahve installed.

We did move from a 32 bit environment to a 64 bit envirnment... could that be what's going on?

I don't get any errors, just a few weird behavoirs.

I've matched the server in every other way... in terms of
memory_limit = 128M ; Maximum amount of memory a script may consume (32MB)
upload_max_filesize = 128M
post_max_size = 128M
php used to be PHP 5.2.17 and is now 5.3.
used to be 32bit Cent OS5 now 64 bit Cent OS6

Any suggestions?
Reply With Quote
  #2  
Old 01-07-2015, 02:45 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you have for "Image Settings" in the options?
Reply With Quote
  #3  
Old 01-07-2015, 02:57 PM
Evoir Evoir is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only php modules that are not on the new server, that were on the old server are:
htscanner
ionCube Loader
timezonedb
Zend Optimizer
These should not be causing any issue, I don't think. Should they? Do any of these need to be present for vBulletin 3.8.7 PL2 to run properly?

Still looking for suggestions.

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

Quote:
Originally Posted by kh99 View Post
What do you have for "Image Settings" in the options?
Hi thanks! It's set to GD
Reply With Quote
  #4  
Old 01-07-2015, 03:02 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK. I asked because if you had it set to Imagemagik then you'd need that installed and have the path correct, but you don't. I seem to rememeber that if an image is very large it gets resized, so I was thinking that might explain why they don't display. It still may be part of the reason, but I don't know how.

I also looked at the code that saves access masks. That message comes up (not surprisingly) if a valid userid wasn't posted, or if the query for that user fails. If you haven't seen any database errors then I can't explain that either.

I don't know about any of those other modules, but hopefully someone else will.
Reply With Quote
  #5  
Old 01-07-2015, 03:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Under Server Settings and Optimizations, Do you have Safe Mode Upload enabled? Probably you don't, but if so, make sure the Safe Mode Temporary Directory is correct.

Also, do you have upload_tmp_dir set in php.ini? I think the code (perhaps incorrectly) uses it to find a temp directory, even though php doesn't require that value to be set.
Reply With Quote
  #6  
Old 01-07-2015, 03:22 PM
Evoir Evoir is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just tested with safe mode on, no change in image uploads I turned it back off.

Where do I change the php.ini ?

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

(And thanks for jumping in here, I really appreciate it)
Reply With Quote
  #7  
Old 01-07-2015, 03:27 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Evoir View Post
I just tested with safe mode on, no change in image uploads I turned it back off.
Yeah, I don't know as much as I should about php, but I beliieve there is no such thing as safe mod any more. But vbulletin still has that option and does somethign a little different if it's on.

Quote:
Where do I change the php.ini ?
I don't know that either. I guess you'd have to ask your host about it, or whoever set up your server.

You could try using "view php info" in the Maintenance menu of the admincp, and if you search the page for 'upload_tmp_dir' I think you can see the value there.
Reply With Quote
  #8  
Old 01-07-2015, 04:18 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You said your new server is on php 5.4, only vb3.8.8 supports php5.4 and only vb 3.8.9 supports php5.5. You'll need to upgrade your vbulletin version.
Reply With Quote
  #9  
Old 01-07-2015, 04:31 PM
Evoir Evoir is offline
 
Join Date: Nov 2001
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I downgraded php in the first post. Thanks for the offer tho....

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

Host change php.ini and that made no difference.
Reply With Quote
  #10  
Old 01-07-2015, 07:05 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you restarted php since you rolled it back to 5.3 from 5.4? Is the db configured the same way as on the old server? Are attachments being stored in the file system or the db?
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 09:19 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.04426 seconds
  • Memory Usage 2,252KB
  • 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
  • (3)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
  • (2)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