Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 01-29-2014, 06:21 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MylesM View Post
As album pictures are also not working, but I can download the image via FTP as I have them stored in the file system - they look fine to me.

Hmm, then it seems to me that would point to some kind of web server configuration issue, although I'm not sure. Hopefully someone else will know more.
Reply With Quote
  #12  
Old 01-29-2014, 06:22 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check your config.php file and make sure you didn't save it as UTF-8 (with BOM). It needs to be edited with a plain text editor like notepad++ and it needs to be saved without the BOM!
Reply With Quote
Благодарность от:
kh99
  #13  
Old 01-29-2014, 06:31 PM
MylesM MylesM is offline
 
Join Date: Aug 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Check your config.php file and make sure you didn't save it as UTF-8 (with BOM). It needs to be edited with a plain text editor like notepad++ and it needs to be saved without the BOM!
Lynne, thank you for replying.

I always edit my files using FileZilla as my FTP client, which allows me to edit the files using notepad.

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

Quote:
Originally Posted by kh99 View Post
Hmm, then it seems to me that would point to some kind of web server configuration issue, although I'm not sure. Hopefully someone else will know more.
Thank you for your help, I really appreciate it!
Reply With Quote
  #14  
Old 01-29-2014, 06:37 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm pretty sure Lynne is right though. I looked and you actually have those 3 bytes (a BOM) at the start of your forum pages, but it doesn't affect the html. But it's almost certainly because they're at the beginning of your config.php file. If you don't have a programming editor then get notepad++, edit a new copy of config.php on your PC, then upload it via ftp.
Reply With Quote
  #15  
Old 01-29-2014, 06:47 PM
MylesM MylesM is offline
 
Join Date: Aug 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I'm pretty sure Lynne is right though. I looked and you actually have those 3 bytes (a BOM) at the start of your forum pages, but it doesn't affect the html. But it's almost certainly because they're at the beginning of your config.php file. If you don't have a programming editor then get notepad++, edit a new copy of config.php on your PC, then upload it via ftp.
I've edited an original copy of config.php on my PC and uploaded it via FTP. Unfortunately, no change.
Reply With Quote
  #16  
Old 01-29-2014, 06:54 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you use something other than notepad? It could be that the problem is somewhere else, but I'm just making sure. It's actually one of those problems that comes up fairly regularly, but usually it's someone getting an error message that says "headers already sent".

Another thing I suppose you could do to verify that it's not a web server issue is to take one of the files, copy it under public_html somewhere, then download it directly and see if it comes through OK.
Reply With Quote
  #17  
Old 01-29-2014, 06:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have a lot of odd characters on your site which would lead me to think the database wasn't transferred correctly. Did you import it using the command line? Did you make sure when you moved it to the new server, that the new server mysql was using the same collation and charset before you imported it?
Reply With Quote
  #18  
Old 01-29-2014, 06:58 PM
MylesM MylesM is offline
 
Join Date: Aug 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Did you use something other than notepad? It could be that the problem is somewhere else, but I'm just making sure. It's actually one of those problems that comes up fairly regularly, but usually it's someone getting an error message that says "headers already sent".

Another thing I suppose you could do to verify that it's not a web server issue is to take one of the files, copy it under public_html somewhere, then download it directly and see if it comes through OK.
I edited with notepad++ as suggested.

I can download files fine when I upload them to public_html

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

Quote:
Originally Posted by Lynne View Post
You have a lot of odd characters on your site which would lead me to think the database wasn't transferred correctly. Did you import it using the command line? Did you make sure when you moved it to the new server, that the new server mysql was using the same collation and charset before you imported it?
This is what I am thinking. I requested that my host transfer my website files/database over to the server, which they did.

I am considering uploading a back up database from last night and I've also got back up files from a few days ago which I am also considering overwriting the current files.

Do you think this would make any difference?
Reply With Quote
  #19  
Old 01-29-2014, 07:58 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MylesM View Post
I edited with notepad++ as suggested.

I can download files fine when I upload them to public_html
OK, then it seems like a problem with vbulletin. Lynne's the expert, but I'm not sure how database problems would affect the attachment downloads, so I'm leaning toward the vbulletin files. If you haven't modified the files then it couldn't hurt to upload a new set, as long as you can get the owner and permissions right.
Reply With Quote
  #20  
Old 01-29-2014, 08:59 PM
MylesM MylesM is offline
 
Join Date: Aug 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
OK, then it seems like a problem with vbulletin. Lynne's the expert, but I'm not sure how database problems would affect the attachment downloads, so I'm leaning toward the vbulletin files. If you haven't modified the files then it couldn't hurt to upload a new set, as long as you can get the owner and permissions right.
Restored everything to the 26th, files/database the lot and the problem still hasn't changed.

That seems like the last resort and I've run out of ideas now...
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 11:18 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.04603 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
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
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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_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