View Full Version : PHP files turned into a single line of code.
:Judge:
08-18-2005, 10:56 PM
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.
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
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
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
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
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
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.
EditPlus is all I've ever used and it just keeps on getting better, doesn't it? ;)
Yes it does.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.