Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 09-12-2014, 12:41 PM
AllenMead AllenMead is offline
 
Join Date: Jul 2004
Location: East Sussex, England
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Attachments not showing, it's got me beat.

Hi

I'm running (vBulletin 4.2.2 Patch Level 1, but have an error where the attachments are not showing.

The attachments are in the filesystem, TMP set to 777. But, i get the following error,

The image "http://www.astra-mk2.com/forum/attachment.php?attachmentid=15736&d=1410527397" cannot be displayed because it contains errors.

You can check it here,
http://www.astra-mk2.com/forum/showt...381#post393381


Any ideas what can be causing this?
Reply With Quote
  #2  
Old 09-12-2014, 04:11 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

guests cant see images
Reply With Quote
  #3  
Old 09-12-2014, 04:37 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think he means guests *can't* see images (not can see images).

Anyway, please add the following line to your config.php file under the <?php line and see if you still have the same problem:

PHP Code:
define('SKIP_DS_ERRORS'true); 
Reply With Quote
  #4  
Old 09-13-2014, 07:35 AM
AllenMead AllenMead is offline
 
Join Date: Jul 2004
Location: East Sussex, England
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still the same i'm sorry to say.
Reply With Quote
  #5  
Old 09-13-2014, 09:46 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still the same here also where we can't see the image. You need to post a link to a thread where Unregistered Users are allowed to view the images.

Also, what type of Image Processing Library are you using? Are images stored in the database or filesystem? Did this problem just start? What happened on the server and site just prior to it breaking?
Reply With Quote
  #6  
Old 09-16-2014, 02:26 PM
AllenMead AllenMead is offline
 
Join Date: Jul 2004
Location: East Sussex, England
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

I've had time to change the setting so you can view as a unregistered user. The sites on shared hosting, so i would need to check with the hosts if they may any server changes. The attachments i've moved from the DB to the file system to see if this was causing the issue, but it's still the same.

The attachment system has always been alittle poor to be honest on the site. However i did not notice straight away after upgrade to '4.2.2 Patch Level 1' Maybe this is issue?

Image processing is GD.
Reply With Quote
  #7  
Old 09-16-2014, 04:08 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like thumbnails are fine. It's just the big images that are a problem. I get a blank white page when trying to view the image. Here is a page from the manual about troubleshooting blank or 'white' pages: https://www.vbulletin.com/docs/html/blank_pages I would start by checking your error_logs (if you don't know where they are, ask your host).

Did you leave that line in your config.php file that I asked you to put in? What version of PHP is on the server?
Reply With Quote
  #8  
Old 09-20-2014, 02:29 PM
AllenMead AllenMead is offline
 
Join Date: Jul 2004
Location: East Sussex, England
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did leave that line in.. I've not had change to upload all files again..

But.. While checking through the 'white' pages, i ran the repair tables and got the following,

vb3_attachmentviews Check Error: Can't find file: 'vb3_attachmentviews' (errno: 2)
vb3_attachmentviews Check Status: Operation failed
vb3_attachmentviews Optimize Error: Can't find file: 'vb3_attachmentviews' (errno: 2)
vb3_attachmentviews Optimize Status: Operation failed

Could this be the issue?



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

Have this, well lots of errors like this in the log.

================================================== ===

Database error in vBulletin 4.2.2:

Invalid SQL:
INSERT INTO vb3_attachmentviews (attachmentid)
VALUES (15607);

MySQL Error : Can't find file: 'vb3_attachmentviews' (errno: 2)
Error Number : 1017
Request Date : Wednesday, August 20th 2014 @ 07:06:28 PM
Error Date : Wednesday, August 20th 2014 @ 07:06:28 PM
Script : http://www.astra-mk2.com/forum/attac...7&d=1405600895
Referrer : http://www.astra-mk2.com/forum/showt...ssion-for-Sale
IP Address : 92.236.103.107
Username : sjr247
Classname : vB_Database
MySQL Version :
================================================== ===
Reply With Quote
  #9  
Old 09-20-2014, 04:06 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should show that error to your host. They may need to delete the table and recreate it for you if they are unable to repair it for you.
Reply With Quote
  #10  
Old 09-20-2014, 04:09 PM
AllenMead AllenMead is offline
 
Join Date: Jul 2004
Location: East Sussex, England
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok.. will do.. I'll let you know how i get on.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:29 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.08415 seconds
  • Memory Usage 2,248KB
  • 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)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (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_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
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete