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 03-22-2014, 10:55 AM
astdirect astdirect is offline
 
Join Date: Dec 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Upgrade problem 4.2.2

I am having major issues with anyone being able to upload images to the forum. I either get an "undefined" error or when you click upload nothing appears in the post.

I have tried pretty much every variation of flash, basic, ajax uploader etc but no joy.

I tried to have images posted as thumbnails and then got this error when rebuilding index :

Warning: Declaration of vB_Image_Magick::fetch_image_info() should be compatible with that of vB_Image_Abstract::fetch_image_info() in ..../includes/class_image.php on line 1256

I saw in another thread to add a line to stop errors to the config file but that didn't work.

Any info appreciated

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

Error log when trying to upload picture in forum shows :

[Sat Mar 22 11:02:20 2014] [error] [client 93.158.149.31] File does not exist: /home/pokerban/public_html/403.shtml
Reply With Quote
  #2  
Old 03-22-2014, 01:42 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you run the simple diagnostic tests in the ACP? See ACP --> Maintenance --> Diagnostics: UPLOAD

Could be directory permission problems or your PHP is not set up correctly.

What version of PHP?
Reply With Quote
Благодарность от:
astdirect
  #3  
Old 03-22-2014, 03:46 PM
astdirect astdirect is offline
 
Join Date: Dec 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

upload diagnostic :

Pertinent PHP Settings
file_uploads: On
open_basedir: None
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 200.00 MB

Help
Results
No errors occurred while opening the uploaded file for reading.

PHP 5.2.17
Reply With Quote
  #4  
Old 03-22-2014, 03:54 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I did not read your thread thoroughly enough - my bad. Temporarily switch to GD2 and see if everything works for the time being. What has happened is your PHP version is not compatible with your image magic version on your server.
Reply With Quote
  #5  
Old 03-22-2014, 04:14 PM
astdirect astdirect is offline
 
Join Date: Dec 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where or how do I switch to GD2. I had a look in server settings but nothing there

Checked PHP and it says GD Version bundled (2.0.34 compatible)
Reply With Quote
  #6  
Old 03-22-2014, 07:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AdminCP > Settings > Options > Image Settings > Image Processing Library > GD
Reply With Quote
  #7  
Old 03-22-2014, 07:29 PM
astdirect astdirect is offline
 
Join Date: Dec 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I only have option for None, GD or Imageshack. I already have GD as option. There is no GD2.

I am running 4.2.2

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

tried imgemagick and also none option but neither helps.
Reply With Quote
  #8  
Old 03-22-2014, 09:09 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why are you running PHP v5.2.17?

Unless you or your server company has made this version safe, you should be upgrading to a later version of PHP.

Today GD2 might be referred by the name 'GD'. In reality the GD library was a 'c' library extension for PHP, whereas GD2 is typically included in PHP distributions today.
Reply With Quote
  #9  
Old 03-22-2014, 09:57 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
As of vBulletin 4.2.2 we’ve stopped suppressing notices and warnings. This is a change from all previous versions of the software.

In some environments more notices/warnings show than in others. In order to address the issue you just need to add the following line to your config.php file
define('SKIP_ALL_ERRORS', true);

You can see additional information about this change here: http://www.vbulletin.com/forum/forum...-been-released
Reply With Quote
Благодарность от:
tbworld
  #10  
Old 03-23-2014, 12:49 AM
astdirect astdirect is offline
 
Join Date: Dec 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zachery, if you see first post I have already done that change in includes/config.php but no change.
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:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04318 seconds
  • Memory Usage 2,258KB
  • Queries Executed 13 (?)
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
  • (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
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete