Re: picture upload initiated on a webpage severed by 4D webserver

2021-08-15 Thread Ronald Rosell via 4D_Tech
We do this quite easily using an iframe. The iframe shows the image that’s already uploaded (if any) and contains a small form to upload an image … basically, an field, as with your example below. You can also include instructions about what’s supposed to be uploaded in the iframe page,

Re: HTML attachment in an email from 4D V17 mac/pc

2021-05-30 Thread Ronald Rosell via 4D_Tech
1) I’d check SMTP_SetPrefs. I’ve found that SMTP_SetPrefs (1;1;0) works best for me. 2) We ran into a problem not long ago where large attachments could cause problems resembling what you’ve encountered … seemed to begin when we switched to V18. Ultimately we changed from attaching files to

Re: 4D is acting strange?

2021-03-29 Thread Ronald Rosell via 4D_Tech
Is there possibly some other method … a trigger perhaps … that’s resetting the t_6 field to some other value, or clearing it? I’d try the following: 1) Do a Find in Design looking for “[Extra 3]t_6:=”. That should identify any code you have that touches that field. See if one of your methods

Re: V18 plugins not showing as Notarized?

2020-05-01 Thread Ronald Rosell via 4D_Tech
Thanks Randy, In our particular case that problem doesn’t appear arise, perhaps since we’re not distributing a built application with unlimited desktop, we’re running something in-house on 4D Server. I did notice that the package contents -> Plugins folder for 4D Server (8.1) didn’t have the

Re: V18 plugins not showing as Notarized?

2020-04-30 Thread Ronald Rosell via 4D_Tech
er adjacent to the application are copies for distribution and > therefore not code signed at all. > >> On May 1, 2020, at 12:00, Ronald Rosell via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> Executing codesign --verify -- verbose against 4D InternetCommands.bundle, >>

V18 plugins not showing as Notarized?

2020-04-30 Thread Ronald Rosell via 4D_Tech
Hi folks, My apologies if this is a “RTFM” question, but I’ve searched the Knowledge Base, and the NUG archive, but haven’t found an answer to this problem. (The 4D support portal also appears to be having issues at the moment.) I’m in the process of upgrading from v17.4 to v18.1, in large

Re: iOS 13.x User Agent Shows iPad as Macintosh

2020-03-07 Thread Ronald Rosell via 4D_Tech
Hi Tom, If your code is assessing the userAgent in the On Web Connection database method then you’d have an issue, because the code I provided relies upon testing the browser’s ability to create a TouchEvent. 4D wouldn’t have a way to test that directly, but the browser can report its

Re: iOS 13.x User Agent Shows iPad as Macintosh

2020-03-07 Thread Ronald Rosell via 4D_Tech
Hi Tom, Only necessary on web pages that need to differentiate between iOS and other operating systems/browsers. (Keep in mind, there are other mobile browsers out there … Chrome on Android, for example. So you shouldn’t be using iPad/iPhone detection code just to determine if you’re working

Re: iOS 13.x User Agent Shows iPad as Macintosh

2020-03-07 Thread Ronald Rosell via 4D_Tech
… does a userAgent test* (oops), then checks for TouchEvent. In any event, modifying our browser detection code this way solved the problem for us. The !window.MSStream is in there because Microsoft injected “iPhone" into IE11’s user agent on Windows Phone. (Does anyone use Windows Phone?)

Re: iOS 13.x User Agent Shows iPad as Macintosh

2020-03-07 Thread Ronald Rosell via 4D_Tech
Tom, Here’s how we handled it. Basically it does a userAgent text, but follows that up with an additional check for creating a TouchEvent if the userAgent includes “Macintosh”, as it will if iOS is emulating Safari on a Mac. This may fail when touchscreen Macs appear, but for now it does the

Re: Hosting Service for Small System

2020-02-21 Thread Ronald Rosell via 4D_Tech
A couple of years ago I gave MacStadium an endorsement when asked about colocation facilities for a Mac server. I now feel that, in all honesty, I have to rescind that endorsement. Things have changed there, and not for the better. Early on in my seven-year business relationship with them

Re: For those using Javascript - here is a grid component...

2020-01-15 Thread Ronald Rosell via 4D_Tech
Thanks Chip! This is an impressive tool. We use some Javascript-based dynamic grids and pivot tables in our work and had been looking at updating the grid library we’ve been using. AG-Grid definitely seems worth a closer look! Ron > On Jan 15, 2020, at 7:47 PM, Chip Scheide via 4D_Tech

Re: 4D Web Server Security

2019-11-26 Thread Ronald Rosell via 4D_Tech
(Sorry, sent this earlier but “from” the wrong email address so the list didn’t pick it up.) A few things to consider: 1) Even if you’re only serving dynamic pages, you can configure a front-end server to directly serve images and Javascript files, letting everything else proxy through to 4D.

Re: Off - Apple OS Server

2018-08-02 Thread Ronald Rosell via 4D_Tech
Regarding the web server, if you’re just serving static content, then having your ISP host is usually fine. If you have a website front end that integrates with 4D then you can continue to use MacOS to serve your site. All that Apple is doing is unbundling some third-party applications,

Re: DENIAL OF SERVICE ALERT—The Mcafee Problem

2018-04-04 Thread Ronald Rosell via 4D_Tech
Robert, You mentioned a Gmail account. Note that Gmail now treats any ZIP attachments as “suspicious” and doesn’t deliver them. That may be part of your problem. (Well, it’s all our problem, courtesy of Google). We started using an FTP service (Hightail) to send any ZIP files. Ron Rosell

Re: Server 15.4 crashing on Mac OS X xServe - interpreting spindump?

2017-12-05 Thread Ronald Rosell via 4D_Tech
Paul: Could be something as simple as an out-of-range error on an array; I’ve seen that cause 4D to consume 100% of CPU and then freeze. If any code was recently modified (especially involving arrays), I’d check on that. Also, run Maintenance & Security Center diagnostics and repair any

Re: Hosting Service for Small System

2017-10-16 Thread Ronald Rosell via 4D_Tech
nd. > > I like it that they did a clean install at no extra charge. That's > *excellent* customer service. > > My client and I will be talking this week and I'll pass this information > along to them. > > > -- > Douglas von Roeder > 949-336-2902 > > On Fri, Oct 13, 20

Re: Hosting Service for Small System

2017-10-13 Thread Ronald Rosell via 4D_Tech
We’ve been very happy with Macstadium. I have two minis hosted there, while I have a MacPro hosted at a Host.net facility in Florida. (I have nothing but good things to say about host.net either, especially since they’ve stayed online through several

Re: [Off] Remote backup

2017-09-11 Thread Ronald Rosell via 4D_Tech
er to within 10 minutes of the > disaster, even if your entire data center gets destroyed. > > Jeff > > -- > Jeffrey Kain > jeffrey.k...@gmail.com > > > > >> On Sep 10, 2017, at 3:28 PM, Ronald Rosell via 4D_Tech >> <4d_tech@lists.4d.com&g

[Off] Remote backup

2017-09-11 Thread Ronald Rosell via 4D_Tech
Hi all, I’m looking for ways to improve my off-site backup strategy and was wondering if any of you found an online service that reliably backs up the log (.journal) file on a high-frequency basis … without disrupting that file. We have several servers (Macs) in two colocation data centers …

Re: UUID vs Longint primary key

2017-08-04 Thread Ronald Rosell via 4D_Tech
I can’t speak to any performance differences when using them as indexed key fields for searches … they likely have similar performance, but that’s just a guess. But here’s one situation where UUID has an advantage. We historically used the Sequence Number (a longint) as the primary key, until

Re: Need help identifying a crash source

2017-07-21 Thread Ronald Rosell via 4D_Tech
Kirk, something seems odd about this code. Toward the end you have: If ($key#"") QUERY([KVP];[KVP]key=$key;*) QUERY([KVP]; & ;[KVP]dir=$dir;*) QUERY([KVP]) End if That last Query([Table]) would bring up the query editor. I’ve never tried doing that at the end of a string of Query

Re: PHP Execute

2017-07-15 Thread Ronald Rosell via 4D_Tech
Works for me in a 15.4 compiled Mac app; haven’t tried it on Windows. __ Ron Rosell President StreamLMS > On Jul 14, 2017, at 5:02 PM, David Ringsmuth via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Does PHP Execute work in 4D v15.4 (windows) compiled built app? > > (please say yes) > >

Re: v14 and OS Sierra - Any real life issues

2017-06-15 Thread Ronald Rosell via 4D_Tech
Main issue I ran into was running it on a new MacBook Pro with touch bar; you need 4D 15.4 or higher for that to work. 4D v 14.x just quits on you on a touch bar Mac. (The workaround is to bring up a VM in a program like Parallels running El Capitan; that will work, even on a touch bar

Re: Web serving on OS X Server

2017-06-09 Thread Ronald Rosell via 4D_Tech
(5.3.1) __ Ron Rosell President StreamLMS > On Jun 9, 2017, at 1:13 PM, Ronald Rosell via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I’ve done this for multiple sites (domains) accessing a 4D instance. I’ve > done it through several OS versions; currently my server’s

Re: Web serving on OS X Server

2017-06-09 Thread Ronald Rosell via 4D_Tech
Lee, I’ve done this for multiple sites (domains) accessing a 4D instance. I’ve done it through several OS versions; currently my server’s running El Capitan (10.11.8) Here’s a step by step guide for a domain I’ll call “mydomain.com ”. 1) Set up the sites with the

Re: [off] Textwrangler

2017-06-02 Thread Ronald Rosell via 4D_Tech
Sweet! I’d been using Printfolder for this, with mixed results. I also found that you could copy the Textwrangler document into a spreadsheet in NeoOffice and it’ll retain the formatting: subfolders in column B, file names in Column C, etc. __ Ron Rosell President StreamLMS > On Jun 2,

Re: What would cause PROCESS 4D TAGS to "not work"

2017-05-23 Thread Ronald Rosell via 4D_Tech
Try your test using process variables, not local variables. PROCESS 4D TAGS was changed as of version 14 so that it had to use process variables (at least in Interpreted mode). > Compatibility note: In previous versions of 4D, local variables defined in > the calling context could be accessed

Re: Primary key contains duplicate values

2017-05-19 Thread Ronald Rosell via 4D_Tech
I ran into this on a conversion once. Turned out, I was using a Sequence Number field as the PK field, and somewhere along the way some code had been introduced that led to duplicates. Usually this was because records were being created by multiple methods, and one of them was doing it

Re: Experience with FTSY Sync Code//Speed up Sync Code

2017-04-24 Thread Ronald Rosell via 4D_Tech
Doug, I may be misunderstanding your application, but wouldn’t API Pack’s Record to Blob and Blob to Record functions work? (It’s from pluggers.nl) We use that, first compressing then converting the Blob that contains the entire record to text before sending it as a variable via an HTTP Post.