vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Vb3.8.7 PL2 server move creates errors (https://vborg.vbsupport.ru/showthread.php?t=316483)

Evoir 01-07-2015 02:39 PM

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?

kh99 01-07-2015 02:45 PM

What do you have for "Image Settings" in the options?

Evoir 01-07-2015 02:57 PM

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 (Post 2531020)
What do you have for "Image Settings" in the options?

Hi thanks! It's set to GD

kh99 01-07-2015 03:02 PM

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.

kh99 01-07-2015 03:10 PM

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.

Evoir 01-07-2015 03:22 PM

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)

kh99 01-07-2015 03:27 PM

Quote:

Originally Posted by Evoir (Post 2531032)
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.

squidsk 01-07-2015 04:18 PM

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.

Evoir 01-07-2015 04:31 PM

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. :(

squidsk 01-07-2015 07:05 PM

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?


All times are GMT. The time now is 08:48 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.02082 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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