Dear Bernard and friends,
This is going to be longer than I expected, and a mixed bag:
I’ve pushed your latest commit, but git only detected changes in “prototype.php” - so if, as you said, you changed other files, the changes were either already contained in this mornings commit or you missed them somehow. But will be easy to add on top if they are somewhere…
As to your readme, would you like me to use it as the “face”-page of that GitHub-repo I set up? We can replace the one I currently have, we just need to exchange the extension to md. Or if Anthony adds it to his branch, we can also merge it into the bagong branch. You can add some “markdown”-markup if you want to give it some structure - in case you want it to be used for that purpose.
As to the GD library - I can’t comment on its usefulness for bp - but it’s included in most php-distributions - and it’s already available in MAMP, both in the Moodle-Mac distribution (I coincidentally had) and the bare Windows distribution I installed today. If you run the php-info link, it should show you “gd-enabled” somewhere in the long list of active php-modules. The GD library is very popular for stuff like resizing, or otherwise processing images in websites, but I don’t know if it can be used for drawing and for realtime requirements. But the “wrapper” you thought about is already there, it’s just the question how to access it. And if it’s not active yet in your distribution, it might just be a matter of enabling it in php.ini. In the worst case you need to download it somewhere. Linux distributions provide additional php-modules as packages to be installed through the package manager, MAMP should provide something analogous. But I am sure it’s already there.
Now as to my results trying to get the php-interface work on Windows: unfortunately no joy yet. I first tried with bare Apache-PHP which I gotl through the Chocolatey package manager available on Windows. That one provides very recent versions of both Apache (2.4.43) and PHP (7.4.7). I set the DocumentRoot to a Sites folder in my home directories and ran Apache as myself. When opening index.php, I got the title lines and several rows of error messages:
This is on-line Bol Processor
Content of folder bolprocessor
Warning: scandir(bolprocessor,bolprocessor): The system cannot find the file specified. (code: 2) in C:\Users\schue\Projects\bolprocessor\php\index.php on line 54
Warning: scandir(bolprocessor): failed to open dir: No such file or directory in C:\Users\schue\Projects\bolprocessor\php\index.php on line 54
Warning: scandir(): (errno 2): No such file or directory in C:\Users\schue\Projects\bolprocessor\php\index.php on line 54
Warning: Invalid argument supplied for foreach() in C:\Users\schue\Projects\bolprocessor\php\index.php on line 57
So I thought it might have to do with my install, and I installed MAMP as well. No errors, but no content either ;-) - it just didn’t produce the error messages:
This is on-line Bol Processor
Content of folder bolprocessor
Sorry for not having better news. I might have misconfigured my system - but it’s rather unlikely, I think. The MAMP server runs as root, and I experimented with placing/and configuring the DocumentRoot in various locations of the filesystem. I also copied the repo rather than use the symlinks you see in the error-messages - same result (and follow symlinks is enabled). The other things on the mamp server (homepage, phpmyadmin, phpinfo, mysql-access) work just fine, so I think my configuration should be okay - except there is some special MAMP configuration you use that I am not aware of.
Best
.r.
> On 26. Jul 2020, at 22:38, Bernard Bel <ber...@gm...> wrote:
>
> Today I completed the edition of MIDI sequences on the sound-object prototype page "prototype.php".
>
> It may be described as "Implemented sound-object MIDI editing on prototype page."
>
> Several pages have been modified. Therefore it will be safe to commit the entire php folder.
>
> I also created a "ReadMe.txt" file that could be placed inside or outside the "php" folder… Please read it and confirm that the proposal is fair. I haven't found a download link of the server application from SourceForge. All links seem to point at BP2.9.8… Anthony, I remember you shared it in a message!
>
> All new material on my site:
> https://leti.lt/bolprocessor/
>
> Bernard
>
>
>
>
>
> _______________________________________________
> bolprocessor-devel mailing list
> bol...@li...
> https://lists.sourceforge.net/lists/listinfo/bolprocessor-devel
|