Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Dec 2008
    Posts
    79
    Plugin Contributions
    1

    Default easier development/ bug issues & Developers Tool Kit

    hi,
    so as many of us i hack zencart code and would like a faster way to edit
    the desired file.

    anyway might i suggest that if there is a click option for the title bar on a window of a
    file called/searched up in the Developers Tool Kit that would actually bring up the file so it
    could be edited.

    imagine taking the other time wasting file searching & ftping out of the
    site maintenance and development.!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: easier development/ bug issues & Developers Tool Kit

    The convenience of that would be very handy.
    But there's a big problem with it ...
    Editing PHP code with a browser is inherently problematic for a multitude of reasons ... including the fact that most web hosts have hacker detection tools built in to detect (and block) when someone is submitting PHP code or SQL queries via web forms. Also, most browser-based editors screw up the encoding of files, including incorrect character-sets and incorrect line-endings and adding stray characters to the files, all of which can result in hard-to-troubleshoot difficulties.
    That's not to mention what the PCI people would say about it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2008
    Posts
    79
    Plugin Contributions
    1

    Default Re: easier development/ bug issues & Developers Tool Kit

    so maybe ..
    you can still click on the title "location" and directly DL
    the file to edit using php ftp calls? still would take out the

  4. #4
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: easier development/ bug issues & Developers Tool Kit

    Why not just keep all files on your local development computer / external hdd / NAS? Then test locally removing the need to be constantly using ftps (and being able to quickly search all files and file contents locally)?

    In the above scenario ftp is only needed to do a single sync after changes have been verified locally (good ftps clients have an option to automatically upload only "newer files"). One can also do quick searches locally as well (no internet connection required). Saves alot of time (and steps when debugging / testing) while avoiding potential security (and other) concerns.

  5. #5
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,833
    Plugin Contributions
    31

    Default Re: easier development/ bug issues & Developers Tool Kit

    imagine taking the other time wasting file searching & ftping out of the
    site maintenance and development.!
    Why not just keep all files on your local development computer / external hdd / NAS? Then test locally removing the need to be constantly using ftps (and being able to quickly search all files and file contents locally)?
    Exactly.
    I fail to understand why people still insist on testing their hacks on a working production shop. It's making money, don't mess with it.
    It appears everyone's code apart from mine always works first time with no repercussions!

    (I believe) site maintenance/development/test should always be done LOCALLY and so file changes can be uploaded in one go. Its faster to find and edit locally, with no downtime or errors due to multiple files on the hosting in mid-edit.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,695
    Plugin Contributions
    11

    Default Re: easier development/ bug issues & Developers Tool Kit

    One consideration might be the database and its effect if the host and local PHP versions are different. Doesn't stop local work, just another thing to watch.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  7. #7
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,833
    Plugin Contributions
    31

    Default Re: easier development/ bug issues & Developers Tool Kit

    One consideration might be the database and its effect if the host and local PHP versions are different. Doesn't stop local work, just another thing to watch.
    Every time I start hacking I import a copy of the real database to work on and I can't say I have ever had a database issue resulting from differing php versions, not to say that they don't exist.
    php versions don't ever bother me as I use the latest php available locally (5.63 at the moment) and so see/sort any compatibility problems years before the hosting upgrades the production site.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,695
    Plugin Contributions
    11

    Default Re: easier development/ bug issues & Developers Tool Kit

    Shouldn't happen unless you change some password as the hash may be different. Not a common scenario but, thought it should be considered.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  9. #9
    Join Date
    Dec 2008
    Posts
    79
    Plugin Contributions
    1

    Default Re: easier development/ bug issues & Developers Tool Kit

    Quote Originally Posted by torvista View Post
    Exactly.
    I fail to understand why people still insist on testing their hacks on a working production shop. It's making money, don't mess with it.
    It appears everyone's code apart from mine always works first time with no repercussions!
    so here's a tip i learned back in '95 when building my first website..
    if you name your old file that is working to bak or old you can always go home....
    whats the big deal if your precious site is down for 90 sec while you rename your file.... ;~)
    i am a craftsman by trade and a premio maestro (old master) told me once its not what
    you can make its what you can fix!

    data base has to be DL every time you want to work on your site seems like a lot of work
    and coordination and not to mention the version of php has to be same .what if you have 2or 3
    sites on different servers with versions of mysql or php?

    of course i hack the files locally cause my editor makes all the functions ,
    commands and variables such pretty colors,
    but the time to find the file and download & upload time can be cut
    down as said , as a easy way to DL the file to hack.
    you've already searched and have the file location in the title location heading
    it just has to be a clickable link.

    anyway thanks for the chat

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,695
    Plugin Contributions
    11

    Default Re: easier development/ bug issues & Developers Tool Kit

    .bak and .old violate PCI and make file vulnerable. Better to use your initials ( unless you're J Paul Getty.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Developers Tool Kit Problem
    By kashyyyk in forum General Questions
    Replies: 5
    Last Post: 28 Jun 2015, 06:40 AM
  2. Developers tool kit
    By eden in forum General Questions
    Replies: 1
    Last Post: 25 Nov 2008, 11:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg