vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Move to new server. ASCII mode (https://vborg.vbsupport.ru/showthread.php?t=227786)

BANDiT600 11-11-2009 08:45 PM

Move to new server. ASCII mode
 
So, after long time of preparing our new server we have moved our forum to the new one. Everything is Ok, but seems after FXP from server to server .js files are in BINARY mode, all content goes in one line and errors with script on forum (for example vbulletin_quick_edit.js, Quick Edit doesn't work and so on). How to solve this, can I download files and reuplod once again in ASCII mode??? It will solve the problem?

porcupine73 11-11-2009 10:21 PM

Are you using a Windows server? I had a similar issue on Windows (and believe the issue is unique to Windows) so if you're using Windows server I can let you know what I did.

BANDiT600 11-11-2009 10:32 PM

FreeBSD, but write about what you did.

porcupine73 11-11-2009 10:48 PM

Well in IIS6 I couldn't get vB to work at all even using 'ascii' transfer mode. So I wrote something to take care of the CR/LF LF/CR thing. But then it still wasn't reliable on all pages. So on one troublesome page I tried opening and saving it in Wordpad and then poof it worked. (Opening and saving it in notepad made no change.) So I wrote a script to open all my text files in wordpad and save them. I run it on everything i serve on the web including other apps that use PHP else they just don't work right for me. I later realized but didn't investigate that notepad can add a byte order mark that messes things up so it isn't helpful, and sometimes Wordpad saves with a different encoding (ANSI UTF-8, etc) - I think the difference may be encoding but haven't checked.

BANDiT600 11-11-2009 11:13 PM

Could I ask you to uload its script?

porcupine73 11-11-2009 11:23 PM

I can if you want but it's in Visual Basic 6.

BANDiT600 11-11-2009 11:38 PM

It's Ok for me!


All times are GMT. The time now is 07:50 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.01774 seconds
  • Memory Usage 1,713KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete