vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Missing Images (https://vborg.vbsupport.ru/showthread.php?t=301583)

XGC Paravain 08-24-2013 09:07 PM

Missing Images
 
Im having an issue I changed my custom avatar this morning and now I have a box with a question mark in it and the image file works fine on other websites, I always had an issues with custom avatars not showing up in the active stream and the members list but now custom avatars are not the only thing missing all my pictures in my albums are missing also profile pictures are there but if you change your profile picture then its gone and you cant get it back up does any one have any ideas?

Here is a link to my site http://armorgaming.com/member.php?2-AG-Paravain-Co

you can see with my avatar and the group icon is not there I always had a problem with that

ozzy47 08-24-2013 09:14 PM

Does the same thing happen on a unmodified default style?

XGC Paravain 08-24-2013 09:18 PM

Yes I checked the default one this morning I get the same thing

ozzy47 08-24-2013 09:24 PM

OK then temporarily disable all your mods, and see if the issue still persists.


To disable the plugin/hook system open your config.php which can be found in your forumroot/includes directory

Just below:

Code:

<?php
Add this:

Code:

define('DISABLE_HOOKS', true);
Then save the file.

If you would like to enable the plugin/hook system again, either remove the line again or simply comment that line out. To comment it out, add two forward slashes " / " so it will look like

Code:

// define('DISABLE_HOOKS', true);
Next time you would like to disable the plugin/hook system again
you simply have to remove those two " / ".


Or since you are able to access your AdminCP go to

AdminCP -> Settings -> Options -> Plugin/Hook System

And set it to No to disable.

XGC Paravain 08-24-2013 09:30 PM

ok I did disable every thing this morning but in the admin cp I will add that to the file give me a min here is a print screen of default

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

sorry file was to big for the print screen going to edit file now

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

Ok the line is added to the php file

ozzy47 08-24-2013 09:42 PM

Ok I see they are still not showing, so try this, please run AdminCP -> Maintenance -> General Update Tools -> Rebuild Custom Avatar Thumbnails

XGC Paravain 08-24-2013 09:46 PM

I did that this morning and it said all the way down the list error missing attachments was it attachments lol yeah yeah that too

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

oh wait I must of did attachments this morning I just did custom avatars and no error but still nothing

ozzy47 08-24-2013 09:54 PM

I see some issue going on. Some of your users that the avatar is showing is shows like so:

Code:

src="images/avatars/thumbs/7.gif"
With your avatar not showing, it shows like so:

Code:

src="image.php?u=2&dateline=1377370109&type=thumb"
Which is really strange, the first way, it is reading from the filesystem and the second way it it is reading from the database.

What do you have for this setting, AdminCP -> Avatars -> User Picture Storage

XGC Paravain 08-24-2013 09:56 PM

Is it possible im missing a folder? I did have an issue with files last weekend where I may have deleted the folder to my admincp I had to redownload that folder

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

them would be default avatars

ozzy47 08-24-2013 09:58 PM

I dunno, either way it should not be reading the avatars from both systems, it should be one or the other.

XGC Paravain 08-24-2013 09:58 PM

I will check I never messed with the User Picture Storage

ozzy47 08-24-2013 09:59 PM

Just see what it says, maybe take a screenshot of that.

XGC Paravain 08-24-2013 10:00 PM

maybe thats why the custom avatars were not showing up in the active stream, members list, and arcade

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

I don't know whats wrong with my paint it wont paste so I can save a screenshot is there another way?

ozzy47 08-24-2013 10:08 PM

I don't know, that is the only way I do it. There is probably browser extensions that allow you to do so though.

XGC Paravain 08-24-2013 10:09 PM

File Path - ./customavatars
URL to avatars - customavatars
profile picture path - ./customprofilepics
URL to profile picture - customprofilepics
Sig picture path - ./signaturepics
URL to sig pic - signaturepics

ozzy47 08-24-2013 10:12 PM

Ok, so they re being served from the database, are those folders present and writable (usually chmod 0777)

XGC Paravain 08-24-2013 10:25 PM

Here is a URL of a member whos custom avatar is showing

http://armorgaming.com/member.php?266-AG-Disrupt-AC

ozzy47 08-24-2013 10:26 PM

I am not seeing his avatar either.

XGC Paravain 08-24-2013 10:27 PM

Im not sure not all that familiar with databases files present and whiteable what more will I be looking for?

ozzy47 08-24-2013 10:30 PM

That may not even be the problem though. Like I said earlier, some are being read from the database and some are being read from the filesystem. I would wait till someone else replies here that may know more, or has come across such a issue.

XGC Paravain 08-24-2013 10:37 PM

Oh yeah I have 3 browser open and the internet explorer one I can see his avatar but not on ice dragon or fire fox

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

Ok I found a customavatar folder with another folder thumbs and index.html
Is that what im looking for?

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

should I start thinking about looking for a backup the last backup I may have is from the 17th but I know that it was before I may have deleted some files lol thats great I wont admit it lol I was uploading a activity award system but I uploaded the upload folder thats what I deleted but when I went to import the XML my admin panel had a 404 message I got my panel back but there are other issues that you see it seems to but any image you browse from your computer like profile pictures avatars albums photos now im out of ideas and wondering if restoring is the only way

XGC Paravain 08-25-2013 12:30 AM

1 Attachment(s)
found out there is a glitch on some windows 8's I guess if your printshot is not copying to paint try holding Ctrl Fn Prt Sc

now for my Prt Sc this is my custom avatars in my database

Lynne 08-25-2013 04:40 PM

Your avatars are stored in the filesystem. Make sure your /customavatars/thumbs directory is chmod to 777 and then run the script to rebuild the custom avatar thumbnails.

XGC Paravain 08-26-2013 01:41 AM

Quote:

Originally Posted by Lynne (Post 2441001)
Your avatars are stored in the filesystem. Make sure your /customavatars/thumbs directory is chmod to 777 and then run the script to rebuild the custom avatar thumbnails.

how do I do that Lynne?

ozzy47 08-26-2013 01:42 AM

In phpmyadmin or you should be able to do it in filezilla

XGC Paravain 08-26-2013 01:50 AM

I know how to run the script to rebuild but how do I make sure me Custom avatar/thumb is chmod to 777 and if it is not how do I make it to that? wouls I do that in my FTP?

ozzy47 08-26-2013 01:54 AM

If you are using filezilla, find the folder customavatars/thumbs, right click on it, select File Attributes, and in the field, Numeric value, enter 777, then click OK

XGC Paravain 08-26-2013 02:05 AM

1 Attachment(s)
Here is a shot of the thumb folder in my FTP

XGC Paravain 08-26-2013 02:06 AM

I think its 0755 if im thinking of the same thing the permissions?

ozzy47 08-26-2013 02:07 AM

Correct, try setting it to 777, and then try loading a avatar again.

XGC Paravain 08-26-2013 02:19 AM

1 Attachment(s)
ok I changed rebuilt and still nothing

XGC Paravain 08-26-2013 02:25 AM

1 Attachment(s)
its like I said I think its some thing with my attachments all together this is my album

ozzy47 08-26-2013 02:25 AM

Hmmm, I am stumped, no clue why it won't work.

XGC Paravain 08-26-2013 02:31 AM

and its every thing with attachments I cant even add a attachment to a post im having a problem with profile picture members have a profile pic but ones they change it its gone

Lynne 08-26-2013 04:22 PM

You can't add attachments either? What is the error you are getting? And what is in your error_logs (if you don't know where they are, ask your host) when you try to upload an image?

And, out of curiosity, did your host do anything to your server recently? On the front panel of your admincp, what version of PHP does it say is on your server?

XGC Paravain 08-26-2013 09:44 PM

Give me a min to get on my computer and check I just got home from work

XGC Paravain 08-26-2013 09:56 PM

1 Attachment(s)
Ok im here, I took a screen print of my admin panel. And as far as my server that's the place I went and they told my there is nothing wrong with my server I do have a private server but they said it was running normal

XGC Paravain 08-26-2013 10:24 PM

1 Attachment(s)
Oh and the error im getting with the attachments im just getting a red light like my screen print

CAG CheechDogg 08-27-2013 05:17 PM

I had this problem right after Firefox 23 updated...it has to do with mixed content ...

I have an https protocol and some images and avatars that are being served from an http protocol were not showing.

You might be having the same problem here.

Now all browsers are using this stupid feature which blocks a lot of content for "security purposes"...might want to check into this.

Hope this helps you.

XGC Paravain 08-27-2013 10:04 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2441465)
I had this problem right after Firefox 23 updated...it has to do with mixed content ...

I have an https protocol and some images and avatars that are being served from an http protocol were not showing.

You might be having the same problem here.

Now all browsers are using this stupid feature which blocks a lot of content for "security purposes"...might want to check into this.

Hope this helps you.

Thats one thing I thought of and I checked other sites and its just my site other website are fine


All times are GMT. The time now is 04:28 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.01229 seconds
  • Memory Usage 1,810KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (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
  • (40)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