vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need HELP... PHP file just doubling everytime it spaces for some reason.. (https://vborg.vbsupport.ru/showthread.php?t=71938)

zurih 11-19-2004 03:23 PM

Need HELP... PHP file just doubling everytime it spaces for some reason..
 
1 Attachment(s)
I dont know whats causing it but somehow the php files of my forum just doubling everytime it spaces for some reason...
take a look at the attachment...

hope somebody can help me ...

Natch 11-19-2004 06:04 PM

You are editing in a text editor / Dreamweaver that is setup to provide Windows carriage returns (\r\n) instead of Unix carriage returns (\n).

Check the editor settings around carriage returns...

PS. simplified answer, it's realll early ;)

zurih 11-19-2004 06:55 PM

hmm... ok there is a setting called "Line break type". I changed it to "LF (Unix)".
this is it right?

and.. what I'm doing about those files that already edited by the windows format? how can I fix them?

thanks

Dean C 11-19-2004 07:05 PM

You shouldn't use dreamweaver for script editing. It's notorius for adding lots of crap and spaces into the files which can break the code itself. I'd reccomend another solution. There are lots of free text editors around :)


All times are GMT. The time now is 01:00 PM.

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.01731 seconds
  • Memory Usage 1,706KB
  • 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
  • (4)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