If this is your first visit, be sure to
check out the FAQ. You will have to register
before you can post. To start viewing messages,
select the forum that you want to visit from the selection below.
If you have copied text output that contains formatting (colors, highlighting, etc.), please do not enclose it in QUOTE or CODE tags. Just right-click your mouse and choose "Paste Without Formatting" or similar (Paste as plain text).
Are the PHP files, by chance, ones that are 'in use'?
Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
I cleaned the email address, username and password out of the attached file and renamed it with a .txt extension. kate won't edit it, even as a text file but will edit other text files.
The file you uploaded is still named index.php, even though your upload description indicates it's index.txt. That said, opening your attachment in Kate does as you say - opens in Read Only mode. However, if I really rename the file to index.txt, Kate will happily open it for editing. One can then, make changes as one likes, save it as such, and then rename it back to index.php.
Not elegant, and doesn't explain the why of it, but...
This is the exact message that Kate issues when opening the index.php file:
Attached Files
Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
The file you uploaded is still named index.php, even though your upload description indicates it's index.txt. That said, opening your attachment in Kate does as you say - opens in Read Only mode. However, if I really rename the file to index.txt, Kate will happily open it for editing. One can then, make changes as one likes, save it as such, and then rename it back to index.php.
Not elegant, and doesn't explain the why of it, but...
This is the exact message that Kate issues when opening the index.php file:
It's gotta be the file then. Interesting that I don't get a warning.
Thanks, Snowhog
we see things not as they are, but as we are. -- anais nin
I'd say that's appropriate. I even when so far as to set up a PHP Session in Kate, load it before opening the index.php file, and still got the warning and the file opening in RO mode.
Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
I got to looking at the file I uploaded - if you look at the bottom of the file you'll see it's machine-generated on the fly as the file contains the date and time it was downloaded toward the bottom of the file. I tried a couple more vbulletin php files with the same result so I went and downloaded a couple of php scripts from other sources and they opened RW just fine.
Okay. I'm gonna bug vBulletin, not kate
we see things not as they are, but as we are. -- anais nin
Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
Comment