View Full Version : Upgrade problem 4.2.2
astdirect
03-22-2014, 10:55 AM
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 1395486223 at 1395486223 ---------------
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 1395516686 at 1395516686 ---------------
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/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-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.
Zachery
03-23-2014, 02:23 AM
When did you download 4.2.2?
astdirect
03-23-2014, 09:33 AM
Not sure, I did download it a while ago before finally deciding to do the upgrade.
Zachery
03-23-2014, 02:36 PM
Re-download a fresh copy, and upload the files.
astdirect
03-24-2014, 01:20 PM
Thank you. Image posting issue seems resolved after uploading files again.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.