vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   PHP files turned into a single line of code. (https://vborg.vbsupport.ru/showthread.php?t=94593)

:Judge: 08-18-2005 10:56 PM

PHP files turned into a single line of code.
 
I recently have paid someone to add the v3 arcade hack so obviously I did not make the file edits.

Now all the files that had been edited turned into one single line of code. Things work as one line of code but I cannot make any more changes without getting errors.

Why would a file turn into a single line of code?

Zachery 08-18-2005 11:26 PM

the guy who edited the files did somthing really weird...

Boofo 08-18-2005 11:29 PM

Is this a Frontpage or Dreamweaver edit, by chance? ;)

:Judge: 08-19-2005 01:09 AM

I honestly do not know what he used.

It was adamgessel, not saying anything bad about Adam he did a fine job at a cost that couldnt be beaten but I have not ever seen this happen to a file before.

As I said the files work in a single line but as i am not a coder when I try to seperate the line I end up screwing things up. He said he is going to fix them but busy at this time. I pray to god he gets around to getting it taken care of. :p

I have a hack I need to remove that requires me getting into a file that is a single line (global.php) and I have vba links but cannot get the links back on because the usergroup.php is screwed up. I did the best I could with the usergroup.php but I am stuck like chuck around line 360, something about a } is unexpected and just cannot get it in the right place.

Biggest reason I ask is because I do not want to end up doing something like this myself.

jugo 08-19-2005 02:01 AM

run the file through a search and replace and replace every ";" with a ";<CRLF>" most text editors will do this...I use EditPlus.

:Judge: 08-19-2005 02:07 AM

Quote:

Originally Posted by jugo
run the file through a search and replace and replace every ";" with a ";<CRLF>" most text editors will do this...I use EditPlus.

Thank you jugo. Honestly I do not know what you are saying to do but I am going to look into EditPlus.

I use Wordpad by default and I use notepad when I am looking for a #'ed line.

:Judge: 08-20-2005 05:26 AM

I need some help with getting these files corrected if anyone could spare the time.

Adamgessel has been blowing me off too long, I am unable to make changes that need to be made for example:

I cannot get my vba links to work at all.
I am unable to make any changes to user groups.
Unable to make any changes to global.php.

Biker_GA 08-20-2005 05:30 AM

Quote:

Originally Posted by :Judge:
I use Wordpad by default and I use notepad when I am looking for a #'ed line.

There's the problem right there. Those two programs have caused more than one coding project to go *BOOM*!

Boofo 08-20-2005 05:33 AM

Quote:

Originally Posted by jugo
run the file through a search and replace and replace every ";" with a ";<CRLF>" most text editors will do this...I use EditPlus.

EditPlus is all I've ever used and it just keeps on getting better, doesn't it? ;)

:Judge: 08-20-2005 05:40 AM

Quote:

Originally Posted by Biker_GA
There's the problem right there. Those two programs have caused more than one coding project to go *BOOM*!

No that is not the problem on my end anyway, I have used them and had some trouble once. The files that had been edited for the arcade install by Adam are the ones all screwed up.

Oblivion Knight 08-20-2005 06:15 AM

Judge, I think I can possibly fix these for you.
I also believe that this is caused when the files are uploaded in BINARY mode instead of ASCII.

My IM and E-mail details are in my profile.

:Judge: 08-20-2005 03:23 PM

Quote:

Originally Posted by Oblivion Knight
Judge, I think I can possibly fix these for you.
I also believe that this is caused when the files are uploaded in BINARY mode instead of ASCII.

My IM and E-mail details are in my profile.

Thank you Knight, I have added you within my BL.

jugo 08-21-2005 01:42 AM

Quote:

Originally Posted by Boofo
EditPlus is all I've ever used and it just keeps on getting better, doesn't it? ;)


Yes it does.


All times are GMT. The time now is 02:08 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.01019 seconds
  • Memory Usage 1,736KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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