Possible Bug? : Rapid PHP 2006 Adding lines of code?
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Possible Bug? : Rapid PHP 2006 Adding lines of code?
Rapid PHP 2006
Ver 7.2 (7.2.0.68)
First off, I love the product. I was using the demo of htmlpad2006, and when I went to purchase, found RapidPHP 2006, and bought it instead.
Here's the problem I am having:
When I edit a file locally and save it to the FTP site, something get's goofed in the code I just uploaded. It's been the last couple of lines each time. It typically duplicates the last 5 or 6 lines of code when this happens.
Resaving the file does nothing.. I get the same results.
I tried searching the forum briefly, but found nothing like this... thoughts?
Ver 7.2 (7.2.0.68)
First off, I love the product. I was using the demo of htmlpad2006, and when I went to purchase, found RapidPHP 2006, and bought it instead.
Here's the problem I am having:
When I edit a file locally and save it to the FTP site, something get's goofed in the code I just uploaded. It's been the last couple of lines each time. It typically duplicates the last 5 or 6 lines of code when this happens.
Resaving the file does nothing.. I get the same results.
I tried searching the forum briefly, but found nothing like this... thoughts?
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
There is a topic here about files being truncated:
http://forums.blumentals.net/viewtopic.php?t=1363
I assume its the same related FTP issue.
Unsure whats going on, but does it always do it? ie, on new files, or when you overwrite an existing file? If you add text to the file and save, is it ok? I'm guessing its a file size issue - the program only sending x number of characters. Wild stab in the dark though, and only baseing that on the previous topic.
Do you know the type of server you're using? Linux, Windows, etc?
http://forums.blumentals.net/viewtopic.php?t=1363
I assume its the same related FTP issue.
Unsure whats going on, but does it always do it? ie, on new files, or when you overwrite an existing file? If you add text to the file and save, is it ok? I'm guessing its a file size issue - the program only sending x number of characters. Wild stab in the dark though, and only baseing that on the previous topic.
Do you know the type of server you're using? Linux, Windows, etc?
I saw that one, but didn't think that duplicating the last X lines was truncating a file...chrisjlocke wrote:There is a topic here about files being truncated:
It happens when I edit an existing file. Either by FTP, or locally then FTP'ing it up to the server. I just tested it on a new file, and it didn't do anything.
Just now, when I attempted to edit a file using the FTP browser, I got the FIRST four lines gone...
Sure. It's a Linux box. RHFC3, I belive.Do you know the type of server you're using? Linux, Windows, etc?
OK, here's what *just* happened...
I edited a FAQ on one of my pages via FTP. I added some lines, saved to ftp, worked fine.
I *DELETED* the lines, and it all went whacky.
This is the end of the file as it is shown on Rapid PHP:
This is what it looks like online right now:
The extra stuff after the ending </table> was what I had deleted. It shows as deleted in the editor, but not when it ftp's it up!
The file on the system looks just like it does in the editor... the stuff after the </table> is not there.
It's almost as if it's being cached somewhere within Rapid PHP....
I edited a FAQ on one of my pages via FTP. I added some lines, saved to ftp, worked fine.
I *DELETED* the lines, and it all went whacky.
This is the end of the file as it is shown on Rapid PHP:
Code: Select all
<tr>
<td bgcolor="#FFFFCC">We accept all common formats, including Quicktime, Windows Media, MPEG, MPG, ASF, MOV, WMV
and most forms of AVI. If for some reason your video format is not accepted, please contact us, and we'll work
with you to get your video converted.
</td>
</tr>
</table>
Code: Select all
<tr>
<td bgcolor="#FFFFCC">We accept all common formats, including Quicktime, Windows Media, MPEG, MPG, ASF, MOV, WMV
and most forms of AVI. If for some reason your video format is not accepted, please contact us, and we'll work
with you to get your video converted.
</td>
</tr>
</table>
<td bgcolor="#FFFFFF"><strong>Q: What is the maximum file size you allow?
</strong> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF">We typically limit our web form to about a 10meg file. If your file is larger, you may
contact us for a <strong>Professional Services</strong> quote.
</td>
</tr>
</table>
The file on the system looks just like it does in the editor... the stuff after the </table> is not there.
It's almost as if it's being cached somewhere within Rapid PHP....
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
Weird. I don't know how Karlis transfers files via FTP, but he might not overwrite the existing file, but write into it, if that makes sense.
If possible, try deleting the file on the remote server, and FTP'ing the file back up again. I appreciate it might involve using an FTP client to delete the file, or via some online system (cPanel for example).
If that works, then its a clue to what the problem is. Mind you, Karlis might already know what the problem is...
If possible, try deleting the file on the remote server, and FTP'ing the file back up again. I appreciate it might involve using an FTP client to delete the file, or via some online system (cPanel for example).
If that works, then its a clue to what the problem is. Mind you, Karlis might already know what the problem is...

When I delete the file on the server, then try to resave it via RapidPHP's FTP option, I get errors.
Using the "Save and upload to FTP" button:
Of course it's not found. I deleted it. Leads me to think RapidPHP's caching it again....
Using File -> Save to FTP, I get "FTP Error" once I log in, and browse to the directory I want to save it to.
Using the "Save and upload to FTP" button:
Code: Select all
FTP Error: Access Denied or file not found.
Using File -> Save to FTP, I get "FTP Error" once I log in, and browse to the directory I want to save it to.
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
Depends on the issue. If its solvable, then it'll be in the next update. If there are too many 'fixes', then it'll be in the next update.
It works around a priority system - the important bugs and most requested features get fixed first.
How long between updates? Normally a month or so, if Karlis can get enough time at the keyboard.
We're working on cloning him, so we can get updates out faster!
(Have you seen Multiplicity?! haha!!)
It works around a priority system - the important bugs and most requested features get fixed first.
How long between updates? Normally a month or so, if Karlis can get enough time at the keyboard.
We're working on cloning him, so we can get updates out faster!

(Have you seen Multiplicity?! haha!!)
OK, I might be a little confused here with the process...
1.) I pay for a piece of software
2.) I have a problem, and report it / ask for help
3.) Am given a few suggestions, all of which I've tried.
4.) I get told to wait until an update, but that MIGHT not solve my issue.
I'm not wanting to sound hostile at all... but the software is useless to me if it is going to perform the way it does.
I can understand bugs, and I can understand issues.
I can't understand #4 from above.
1.) I pay for a piece of software
2.) I have a problem, and report it / ask for help
3.) Am given a few suggestions, all of which I've tried.
4.) I get told to wait until an update, but that MIGHT not solve my issue.
I'm not wanting to sound hostile at all... but the software is useless to me if it is going to perform the way it does.
I can understand bugs, and I can understand issues.
I can't understand #4 from above.
- chrisjlocke
- Top Contributor
- Posts: 995
- Joined: Mon Aug 01, 2005 4:12 pm
- Location: Essex, UK
- Contact:
If Karlis can look at the code and go, "Oh, its because of that variable not being set" and solve it, then it'll be done tomorrow.
If Karlis scratches his head and can't reproduce it, its going to take longer to fix.
Even if Karlis can identify what the problem is, it might require a complete re-write of a whole bunch of code.
Writing these applications isn't Karlis's full-time job, and he can't spend all day developing these programs. Unfortunately, its when he can spare the time. He had loads of time ages ago, but real life gets in the way of coding all the time. (urgh - that paragraph has way too many 'times' in it... my grammar is awful!)
If you pay for the software, you're automatically given the benefit of future updates within that version.
I'd argue that the software is useless with this 'issue' - a temporary workaround has been suggested by using a standalone FTP client. I appreciate its not ideal, but its a splint while it limps along until Dr Karlis gets on the scene...
If Karlis scratches his head and can't reproduce it, its going to take longer to fix.
Even if Karlis can identify what the problem is, it might require a complete re-write of a whole bunch of code.
Writing these applications isn't Karlis's full-time job, and he can't spend all day developing these programs. Unfortunately, its when he can spare the time. He had loads of time ages ago, but real life gets in the way of coding all the time. (urgh - that paragraph has way too many 'times' in it... my grammar is awful!)
If you pay for the software, you're automatically given the benefit of future updates within that version.
I'd argue that the software is useless with this 'issue' - a temporary workaround has been suggested by using a standalone FTP client. I appreciate its not ideal, but its a splint while it limps along until Dr Karlis gets on the scene...
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Ok, so the file truncation problem is going to be fixed in the next release. I spent a lot of time and found out that it is actually a bug of ProFTPD server. So I had to re-write FTP code so that it works around the buggyness of some FTP servers.
Anyway the update is planned to be released in mid-September.
Anyway the update is planned to be released in mid-September.