vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Upgrade problem 4.2.2 (https://vborg.vbsupport.ru/showthread.php?t=309789)

astdirect 03-22-2014 10:55 AM

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

tbworld 03-22-2014 01:42 PM

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?

astdirect 03-22-2014 03:46 PM

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

tbworld 03-22-2014 03:54 PM

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.

astdirect 03-22-2014 04:14 PM

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)

Lynne 03-22-2014 07:15 PM

AdminCP > Settings > Options > Image Settings > Image Processing Library > GD

astdirect 03-22-2014 07:29 PM

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.

tbworld 03-22-2014 09:09 PM

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.

Zachery 03-22-2014 09:57 PM

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

astdirect 03-23-2014 12:49 AM

Zachery, if you see first post I have already done that change in includes/config.php but no change.


All times are GMT. The time now is 02:02 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.04042 seconds
  • Memory Usage 1,729KB
  • 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
  • (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