FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Code Stops Working
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Code Stops Working [message #172410 is a reply to message #172409] Wed, 16 February 2011 23:14 Go to previous messageGo to previous message
mrc2323 is currently offline  mrc2323
Messages: 12
Registered: February 2011
Karma:
Junior Member
In article <m2k4gz6apj(dot)fsf(at)sherm(dot)shermpendley(dot)com>,
sherm(dot)pendley(at)gmail(dot)com says...
> "P E Schoen" <paul(at)pstech-inc(dot)com> writes:
>
>> "John Andersen" wrote in message
>> news:ac29b1ee-97d4-40aa-b70f-13dd13cb50cb(at)v7g2000yqh(dot)googlegroups(dot)com...
>>
>>> Undo your change and see if it works again!
>>> If it does, concentrate on finding the error within
>>> your change! If it doesn't work, follow the leads
>>> from the other in this group.
>>
>> Good advice.
>
> *Great* advice! One very common beginner mistake is to make a whole
> host of changes at once, before trying to execute the result. When (not
> if) problems occur, that makes it difficult to pin down exactly which
> one of the many changes is responsible. Keeping changes as small as
> possible, and testing in between each, makes it easier.
>
>> I have learned that it is
>> always good to make copies of code as changes are made
>
> Ouch. It's far better, IMHO, to use a SCM (source code management) tool
> that's been expressly designed for just that purpose, such as Subversion,
> Mercurial, or Git. Making backup copies (i.e. foo.php, foo-2.php, foo-
> bak.php, foo-ihopethisdoesntbreak.php, etc.) is a pretty poor substitute
> for such a tool.

I backed out my changes, and the code does not work as it used to. I
made several (very minor) changes to the code (correcting spelling
errors in the text, etc.) to see that my "restored version" was being
engaged...and it is. 8<{{
Seems I have to start looking at my Web environment and such, as has
been suggested. <sigh...>
Thanks to all for your help!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: about memory usage with php application
Next Topic: PHP currency converter with XML feed
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 00:10:03 GMT 2024

Total time taken to generate the page: 0.03128 seconds