[RapidPHP] Search / Replace In Files Details Not Displaying

Post your questions and problem reports here

Moderator: kfury77

Forum rules
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;
Post Reply
User avatar
DevlshOne
Posts: 8
Joined: Wed Oct 05, 2011 5:47 pm

[RapidPHP] Search / Replace In Files Details Not Displaying

Post by DevlshOne »

When using the search / replace in files function, although "display detailed results" is checked, the detailed results do not show up after execution.

RapidPHP 11.01 (11.0.1.127)

Thanks
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: [RapidPHP] Search / Replace In Files Details Not Displaying

Post by MikeyB »

Hi,

Can confirm the same.

Just did a test (never used replace in files before), get the message 98 replacements were made. but no details.
And even worse, no replacements were actually made, all the files are as they were before, even the date & time on them are unchanged.

Can then confirm no changes are made by doing a find in files for the original term on the same folder, do get detail results now with 46 files searched, 98 matches found in 5 files!

Mike
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: [RapidPHP] Search / Replace In Files Details Not Displaying

Post by Gatis »

Hi,

There are no detailed results displayed when "Replace All" is done. This is by design, we have received some remarks about this, but currently we have not intended to change this functionality.
If you want to see detailed results, then you need to use "Replace" and then click inside the results to be prompted for a replace on each found instance.

I could not reproduce the problem of no replace being done. Please give a list of steps, so we can repeat the problem, if it really exists.

Kind regards,
Gatis Avots
Kind regards,
Gatis Avots
User avatar
DevlshOne
Posts: 8
Joined: Wed Oct 05, 2011 5:47 pm

Re: [RapidPHP] Search / Replace In Files Details Not Displaying

Post by DevlshOne »

If you want to see detailed results, then you need to use "Replace" and then click inside the results to be prompted for a replace on each found instance.
How exactly would you go about this on the "Replace In Files" action? Load each file individually and use "Replace" on each one? That defeats the purpose, don't you think?

Unlike Mike, I can confirm that the action does, indeed, make the changes to the file. Mike, you may want to check your file permissions for that folder if you are not doing it locally.

Thanks
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: [RapidPHP] Search / Replace In Files Details Not Displaying

Post by MikeyB »

DevlshOne wrote: Unlike Mike, I can confirm that the action does, indeed, make the changes to the file. Mike, you may want to check your file permissions for that folder if you are not doing it locally.
Something odd going on for me then, testing on my local drive not a network drive, and my account has local administrator privileges on Windows XP, so full permissions.

Just as a test, searching all files in an asp.net project, replacing asp with xxx

One of the files before doing the replace:
Image

Search -> Find in files:
Image

Result of doing Replace All:
Image

Re-open the file above, can still see asp throughout, none changed to xxx:
Image

In fact if I do another replace all without even closing the Replace in Files dialog then it will again say 233 replacements.

Mike
Post Reply