Jump to content

jvp

Members
  • Content count

    8
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    johann v. preu?en
  1. jvp

    [Contribution]Paypal IPN - Devosc

    i have previously posted info on an excellent editor for many different programming languages (obviously including php) with complete syntax checking and highlighting and ftp support for editing directly on your server's files-- jedit. well, the instructions posted now run afoul of the developers change in support towards a new version and the dropping of some specific linux sub-versions. since their site is slightly in dis-array and the supporting info is temporarily missing, i have copied the appropriate packages to one of my sites and i have a sample screen shot and some configuration help here: jEdit & RCS Start Page notice the RCS reference. this is a windows-only-based version control program that permits you to keep track of the various contribution versions and see the changes highlighted all in one page. once everything is set, RCS will upload only the changed files to update your server. there is more info and download links on this package as well. johann
  2. jvp

    [Contribution]Paypal IPN - Devosc

    greg et alii: for those of you struggling with folding in ipn with other contributions, i hope you have fully explored the RCS i mentioned a couple pages back. place a copy of your working files in the repository and then all changes -- additions and deletions -- will be conveniently highlighted for you and makes checking for errors much easier. AND NOW COMES ANOTHER SUGGESTION -- completely free jEdit. this is an editor written in java and originally meant strictly for java programmers. like all open source software it has been expanded well beyond its original concept and it now serves as a premier editor for php, text, xml, html, javascript, and many more. since it is written in java you can use the same program across all o/s's: windows, mac, linux, and unix. but this is not some unfamiliar programmers tool that that require eons to learn to use. a complete neophyte can install it, download some plugins to expand its capabilities, load in a php file and be editing in 10-15 minutes. it has the regular "look and feel" of a windows program and none of the crankiness factor (something you experience when you use it) of a linux/unix program. it has been five years in the making and it is a very mature product. it is highly customizable, but "right-out-of-the-box" it is just fine for the casual user -- except for the needed plugins. it gets its versatility from a wide range of plugins. there is a plugin for php syntax checking. one for ftp so you can edit files on your server directly. another plugin to create automatically a separate error file indicating the line(s) of code in error, the line number, and what was wrong with it -- not some "parse error at line 22", but "missing: ';'" instead. another plugin analyzes your "white space" and put a small colored dot where control characters exist so you can catch the spurious ^m often put after the final "?>" by windows editors. if you use RCS you do not have to worry because it automatically uploads whatever you have edited and puts in the proper unix line-ending and EOF codes in the right places. If you use jEdit, it also has a linux/unix line-ending switch. There is even a plugin allowing you to execute SQL statements on the server's database. there is even light-weight cvs and diff, greg; but i do not use it and cannot say anything about it. in order to use this pgm, i strongly suggest you follow these recommended steps: STEP ONE: unless you happen to have java 1.4.2_05 on your system, un-install what you have and restart your machine. unless you are a java affectionado, you probably have something from the 1.4.1_0x era. there are some real video issues in some of those versions and 1.4.2 is a better product and _05 is the latest stable version. STEP TWO: this is the java download page: java 1.4.2 download page this page has the software developers kit (SDK), run-time (JRE), and documentation (who wants that?!) for downloading. the SDK is nearly 60MB and is extensive over-kill for what jEdit needs (or you at any other time). click on the download for JRE and you get the page with different o/s's if you are using windows they suggest using the "on-line" download because it is smaller. do not bother trying to find it, it is not there. OK, it is there in the form of the one that does not say "offline". anyway, you really want the "offline" version. this will be downloaded to your disk and be available for re-installation if needed. when it finishes it may not start by itself -- depending upon your system configuration. if it does not, use windows explorer to cruise to where you placed it and double-click on the icon to start it and let it rip on the defaults. STEP THREE: here is the editor: jEdit download page this page will present you with choices -- again. now i upgraded my early 3.x version to 4.2pre15. this means 15 builds since 4.1 and previous to declaring 4.2 stabilized as a version. this should tell you something: you want 4.1. i have experienced no problems, but i reviewed the revision changes and there is nothing vital missing from 4.1 AND there is the possibility that some plugins will not work in 4.2 since they are only certified for 4.1. Please note: if you select either of the specific linux packages or the special mac package you are not getting the standard java package everyone else will have, so do not expect anyone to help you if problems arise. stick to the pure java implementation and you will not be sorry. STEP FOUR: you can spend an hour agonizing about which plugins to install and how they inter-relate or you can take my recommendations and get some initial configuration help by going here: jEdit Plugin/Configuration Help STEP FIVE: ENJOY! i have used jEdit for some time now and had completely forgotten it is written in java. it was not until greg mentioned he did his development on a linux box and missed the bells and whistles of windows editors that i remembered. java is independent of operating systems so programs written in java will execute on any system with the java engine installed. thus, the very same program works everywhere. Until greg's comments woke me from my inattentiveness, i really did not realize that many of the posts here relate to problems people are having because they lack a simple php syntactical tool. jEdit is that and a lot more and i hope anyone wishing to modify osc will jump right on getting it installed. johann
  3. jvp

    [Contribution]Paypal IPN - Devosc

    greg, sorry to hear about your win sys, but it might well be worth the effort to get it working. when i first started using RCS, i spent about 20 min reading the manual and 5 min setting up my first project. this was my total learning curve! after that everything is accessible from the win explorer including check-in/out, analyses, reports, help (good), et cetera. unfortunately, as you may well know, cvs in linux requires a great deal of time to just get started, let alone proficient. i do not know of a gui cvs that anyone thinks highly of. moreover, i have yet to even hear of one that someone thinks lowly of. as for third-party sites, i was thinking of the provisioning for more rapid updates should someone want them and the source for other combos w/ ipn. i did not realize osc had any ban on the practice since this happens on some other contributions. in fact, one contribution had everything except the download link on another site. do think about the win sys. linux is wonderful and getting better every day, but the gui's oftimes are a tad clunky -- as you already know. johann
  4. jvp

    [Contribution]Paypal IPN - Devosc

    well, greg and all others, a friend of mine has figured out from my name and initials that i supplied the long-winded post a few back and noted greg's reply. he thinks i should offer the same advice i gave him a few months ago. first, let me get the acronyms out of the way for the non-techical amongst the many readers here. in the unix/linux world there are many pieces of software continuosly developed by hordes of individuals that are free to the public to use. many of these are under the aegis of the free software foundation (FSF) and published under the general public license (GPL). you will frequently see GNU associated with these offerings and this relates back to a time some 20 odd years past when there was still some humor and individuality in computers. in fact, there seemed to be some competition amongst MIT computer scientists to devise recursive acronyms (they refer within themselves rather than to an actual abbreviation) so GNU was derived from "Gnu's Not Unix". the general field of revision control in the developer world is referred to as concurrent versions system (CVS) which are command line (think DOS window style) oriented and have a steep learning curve. these are meant for many programmers working with local copies that get updated to a central server (repository). lighter-weight versions meant for as few as one person are generally referred to as revision control systems (RCS). a company called component software has taken the GNU GPL for RCS and added a windows graphical user interface (GUI) and integrated it into windows (all versions) explorer in such a way that its use is virtually intuitive. for instance, i have created an OSC directory (folder) on one of my drives. by right clicking on the OSC directory in windows explorer i see the menu referred to as "context". since i have defined within RCS a project named "OSC" i use the "Add to RCS" option and all 1,012 files in that directory (and sub-directories) are added to the RCS repository. then i copy over greg's "misc" directory as a sub-directory to OSC and it is now automatically added to the RCS repository as a new addition. then i take the "catalog" contents of misc and copy them over the OSC/catalog entries and the RCS repository automatically recognizes the changes. the "so what?" in all this is that i can now right click on, say, the "admin" subdirectory and will see under the "RCS Status" option a listing that shows all the files sorted in the order from new to changed to unchanged. within this listing i could right click on the changed "catalog/admin/orderS.php" and select "RCS Status" and would see the following as an example of the output: RCS Example instead of the simpliistic side-by-side view in which you have to studiously look at both versions to detect the differences, this window is color coded in one window to reflect the original, deletions, and additons -- cumulatively. yet the repository retains a complete history of the changes so that you can step back and un-apply (undo) the changes and start over at some point. you can set milestones in toto or in groups. you can have sub-projects with different milestones. when you are satisfied that you have a stable version you can set a version number. when you make more changes you can have more milestones and more versions and so forth. RCS works for text files (.php, .htm, .txt, .c, ...) and binary files (.gif, .jpg, .bmp, .doc, .xls, .obj, ...) so that you can control programs, web sites, picture galleries, et cetera. it allows you to use window editors, but retains unix-style line endings and eliminates false control-m (^m) insertions so that when you upload the file to your server you do not have programatic glitches. although not an issue in osc, if someone has a new "war and peace" getting ready for the presses, this is the only software i know of that can handle very large files and very quickly. the changes are stored as increments of a few handsful of bytes rather than completely new copies of the original. i hope my efforts to impress you with the capabilities of RCS approach the the actual capabilities of the software -- this is a "must-have" item for even casual code revisioning. BEST OF ALL: IT IS COMPLETELY AND FOREVER FREE! get yours here: Free RCS S/W greg, i think this would be indespenable for you. you could have projects for osc, osc + xyz contribution, osc + abc, osc +xyz + abc, et cetera. those little code snippets you offer on the fly would never get lost and subsequent revisions would be fully documented. it would also make life easier for you because when someone comes in with problems integrating from another contribution you would have them provide their working source as a basis, set this up as a project, and then you could see for yourself how ipn impacts things without the "toing" and "froing" i often see in the posts. once again, i offer server space for any and all downloading capabilities. there could be a stable version site and interim builds as well as other contribution combos. greg, if you ftp your changes, i could set up a cron job to bundle up an .msi or .zip for each site so that they would be available to all almost instantly. one last thing: if the "misc" directory is to be made cumulative: the .sql file should also be copied in there so that it is easily recognized with an update. well, although the last time was not "the last time"; i hope this info proves beneficial. and my friend was right that i should pass this on to everyone. good luck!
  5. jvp

    [Contribution]Paypal IPN - Devosc

    i am returning to comment for, hopefullly, the last time. after seeing the frustrations these many business people have had trying to work in a php environment that they have not had, and should not expect to have to gain, much experience; i suggested on 4-7 jul that a working, clean, installation download be provided for them (and me). after being confronted by someone with the denotation/connotation of the symantics of the use of "should" and my attendant lack of humility in the face of greg's great contribution; i was daunted by this person's lack of a careful read of my ample praise of all the yeoman effort greg has put into shepherding this contribution through the many pitfalls. then i was confronted by a pico-manager of the internet bandwidth that presumed, from his apparent lack of technical knowledge, that my suggestion of an extra 40KB being transmitted with the contribution was going to be exorbitantly expensive. i promptly offered one of my servers to handle the extra couple of seconds per month of processing/transmission time. thus far there have been no takers. except for greg! even though, in an unrelated post, he seemed to express mis-givings about the approach; in his release 2.6 on 14 jul he included a "misc" directory in the distribution that provides the necessary files to copy straight over the basic installation to get an instantly working copy of osc/ipn. voila! hopefully the lead-in paragraph(s) of all future updates and the installation page itself will strongly stress this in layman's terms so that people will not miss what is available -- as two private msgs have led me to believe is happening. so, after all this, what am i really suggesting? these are my thoughts: 1.) make the "misc" directory cumulative. i discovered that the changed file list omitted a file that had been changed and the changes had been subsequently abandonded. this was my fault for not going back through umpteen versions to discover this; but a cumulative update would have made this essentially, wasteful time-burning unnecessary. collaterally, i am not sure why there always seems to be mysql snippets not included in the sql run -- are they of an erratum/addendum nature or what? these really belong in the sql file covering everyone. 2.) continue on the laudable dis-integration of ipn code from main-stream code so that the only lines of code outside the ipn directories are "includes" or calling routines. 3.) enlist the legion of people with other contributions that have been inordinately assisted in their own integration efforts to provide copies of their successfully operating results. i see many people going on for days and then they disappear. obviously some of these people got their integration working and their success would -- and should (there is that word, again) -- benefit everyone; but i have yet to see such an example. 4.) i realize that fora are meant to be the ultimate dissemination vehicle and, for the most part, they serve their purpose well. one thing i do notice is that this threadless version often gets cluttered with back-and-forths while working on a very specific problem that may take several postings to get resolved. perhaps pm's would better serve this effort and then have the resultant solution itself posted without all the in interim clutter. i can have no higher praise for this contribution than to say that when it attains stand-alone stability it is a must-have for the paypal module of osc. i use "stability" in light of the somewhat moving target paypal itself presents and do not suppose that it can ever remain static. greg has obviously continued in this project as a labor of love since otherwise it could be regarded as nothing if not a yoke of poverty. with all the time and effort he has devoted to it, it seems inescapable that he is financially unrewarded. thank you, greg, and i hope you accept my suggestions as they have ingenuously been offered. johann
  6. jvp

    [Contribution]Paypal IPN - Devosc

    While it would be nice if everyone who made a contribution went ahead and did an install for you and made it available for you to download where is all that bandwidth going to come from. Are you willing to lease some server space for that purpose? Your statement Why should this be made available for you. Greg has made an excellent set of instructions and if you had installed very many contributions you would know exactly how well written his instructions are compared to a lot of others. If you or anyone else cannot get this working on a clean install or otherwise there is no reason in the world for you to fight with it. You always have the option to pay someone to install it for you. That goes for other contributions as well as this one. I have installed contributions for people and been paid for doing so and there have been things that I wanted done that were either more than I felt comfortable doing or did not have the time to do and paid someone to do for me. Nobody that contributes to this project should do anything. Unless you are paying for something there is no should involved. the hand-full of files that need changing come to about 40KB -- c. 364,000 bits. the original .zip is c. 1,164,000 bits. the original .zip setup, packetizing, and transmission (100 Mb) by the server takes c. 15.2 milliseconds. the expanded .zip would require c. 19ms. if 500 people a month downloaded this new file, one of my servers would expended c. 9.5 seconds of my 2.628.000 seconds available. therefore,i do not think i will have a problem finding a place for this file. in fact, we need not limit serving only this package. if there are other combinations of ipn and other contributions that are working flawlessly, let us mount them as well. just email the .zip structured with "catalog" as the root (top directory) and instructions in .html and i will mount it and post where it is available. johann
  7. jvp

    [Contribution]Paypal IPN - Devosc

    A couple of problems with your approach. The first is there are lots of people who probably already have other contributions installed to their store. Should they not be able to ask for support here? What if all contribution support threads were like that? Should they all take the same attitude? Then what of the majority of the users who have more than one contribution installed? Most contributions work fine if they are the only one installed, having a bunch of different ones is when it gets tricky. This thread has so many posts because there are so many people using the contribution, the more people using it the more problems there are going to be. the governing statement in my post is: "in 138 pages i see many referrences to trying to install the contribution on a clean osc -- ground zero." this is where i see a major failure in the contribution. obviously there are numerous people with prior contributions added and support here is admirable. what i do not see is a clear, clean, straight-forward, dowloadable solution for someone who wants osc with the ipn contribution and then can go on to other things later -- if so desired. why make osc, and probably php, neophytes (much like myself) fight their way through cutting and pasting with an unlimited variety of text editors that insert "hidden characters" and newlines after ?> and whatever. most obviously a clean install such as i have wondered about exists somewhere and should be made available. this is really my one and only point. johann
  8. jvp

    [Contribution]Paypal IPN - Devosc

    in 138 pages i see many referrences to trying to install the contribution on a clean osc -- ground zero. is there some reason why an ftp site cannot be set up to cater to these situations. then all a person would have to do to get up and running is copy everything pertinent over ther existing directory structure and configure. if someone wants other contributions added AFTERWARDS, they can go to that support forum instead of making this one bear all the load. it is clear to me that the majority of the support provided by this forum is aiming at moving targets from these other contributions. it seems pointless for someone just getting started to have to wade through all of these other issues when getting started should be a ten minute proposition! johann
×