Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Devid

Pages: 1 [2]
16
Setup & Installation / Re: audio data cd creator
« on: October 30, 2019, 11:23:53 pm »
I found the solution in the os2.org forum: I've REMmed out in the config.sys the "SET EMXSHELL=C:/usr/bin/sh.exe" line.
I hope the solution may serve in the future to someone else.

Regards

Devid

17
Setup & Installation / [RESOLVED] audio data cd creator
« on: October 28, 2019, 10:38:33 pm »
Hi.
I've just installed audio data/cd creator 0.57 and i have a strange problem.
In the config panel the burning cd scanning bus does not work.
In the VIO window the last message is:
Code: [Select]
C:/usr/bin/sh.exe: 1: C:APPSCDR2cdrecord.exe: not found.For some reason the scanbus command wipe out the slash chars.
If instead I try the "scanbus.exe -scanbus" command from the shell it works correctly.
Somewhat had the same problem and know how solve it?
Thank.

18
General Discussion / Gallery
« on: October 12, 2019, 11:55:52 pm »
Hi
i no longer view the gallery section in os2world.com site.
When I click on the "Gallery" menu appears only the "...joomla..." string.
Does it also happen to you?

19
Utilities / Color labels
« on: October 12, 2019, 11:47:28 pm »
Hi
there is a way to label (for example with a color) or mark (with an icon/image) a file like Mac does?
Maybe reading/setting a sort of EA?

For example on XFCE (linux) I wrote a little shell script (in the popup menu) that mark the file icon.
Is it possible with AOS?

D.

20
Applications / Re: Database solution for os/2
« on: October 03, 2019, 08:42:40 pm »
Attached the right php.ini. Now phpmyadmin work inside nubuilder

21
Web applications / Re: How to make php active in Apache
« on: October 03, 2019, 08:39:12 pm »
Try in httpd.conf
Code: [Select]
LoadModule php5_module modules/modphp5.dlland copy modphp5.dll in the apache/modules directory.
My startup.cmd for apache:
Code: [Select]
@echo off
rem adjust as necessary
set HOSTNAME=localhost
set beginlibpath=c:\apps\apache2\bin;c:\apps\apache2\modules;c:\apps\php5;c:\apps\php5\modules;c:\usr\lib
set LIBCX_TRACE=+mmap
bin\httpd -d . 2>&1
Furthermore
Code: [Select]
ErrorLog "logs/error_log"
LogLevel debug
in httpd.conf and post your log...
(Attached my httpd.conf and php.ini)

22
Web applications / Re: How to make php active in Apache
« on: October 03, 2019, 06:47:01 pm »
Perhaps
Code: [Select]
AddType application/x-httpd-php .phpin httpd.conf (section <IfModule mime_module>).
Also
Code: [Select]
DirectoryIndex index.html index.phpalways in httpd.conf (section <IfModule dir_module>)

23
Applications / Re: Database solution for os/2
« on: August 27, 2019, 01:06:46 pm »
I uploaded the file on dropbox. Here the link: https://www.dropbox.com/s/w6tbe15y2rf5193/NEWDB.zip?dl=1

24
Applications / Database solution for os/2
« on: August 26, 2019, 04:58:10 pm »
Hi to all.
I searched for dbexpert but I discovered that is no longer available...
So I would like to propose to the community a database solution that I use daily: nubuilder.
It's a web client/server application based on Mysql/Javascript/Php. The homepage of the project (open source!) is nubuilder.net.
The last version il NuBuilderForte v. 4, and is based on php 7 so does not work on os/2. But having used it from version 2 I've kept the source of the version 3 (nubuilderpro) that works pretty well on os/2.
Here the instruction for install & start using it.
First of all I downloaded mysql 5.1.72, apache 2.2.34 and php 5.4.45 from Paul Smedley site: https://os2ports.smedley.id.au/
I've installed these programs in my "c:\apps\" directory (c:\apps\apache2, c:\apps\mysql51; c:\apps\php5).
Then I copied "modphp5.dll" in the c:\\apps\apache2\modules and php.ini in c:\mptn\etc directory.
For apache2 configuration I change c:\apps\apache2\conf\httpd.conf for my purpose.
For mysql I copy and edited the my.cnf file in the c:\etc directory.
(At the end of the post there are my conf files and the useful web link)
These are the minimal changes necessary for a proper apache/php/mysql use:
For apache:
Code: [Select]
--> ServerRoot "/apps/apache2"
--> LoadModule php5_module modules/modphp5.dll
--> DocumentRoot "/apps/apache2/htdocs"
--> <Directory "/apps/apache2/htdocs">
--> DirectoryIndex index.html index.php
--> AddType application/x-httpd-php .php
--> #LoadModule authn_core_module modules/authn_co.dll
--> #LoadModule authz_core_module modules/authz_co.dll
--> #LoadModule access_compat_module modules/access_c.dll
--> Order allow,deny
--> Allow from all

For mysql:
Follow the smedley readme.os2 instruction then open a shell command:
Code: [Select]
cd \apps\mysql51\bin
mysqld
Open another shell and:
Code: [Select]
cd \apps\mysql51\bin
mysql -u root -p
ALTER USER 'root'@'localhost' IDENTIFIED BY '<password>';
CREATE USER '<user>'@'localhost' IDENTIFIED BY '<password>';
GRANT ALL PRIVILEGES ON *.* TO '<user>'@'localhost';
FLUSH PRIVILEGES;
Where <password> is yours password and <user> is a user name.
For some reason my mysql installation refuse to start and I have to insert always inside the mysql client:
Code: [Select]
use mysql;
DROP TABLE servers;
CREATE TABLE `servers` (
`Server_name` char(64) NOT NULL,
`Host` char(64) NOT NULL,
`Db` char(64) NOT NULL,
`Username` char(64) NOT NULL,
`Password` char(64) NOT NULL,
`Port` int(4) DEFAULT NULL,
`Socket` char(64) DEFAULT NULL,
`Wrapper` char(64) NOT NULL,
`Owner` char(64) NOT NULL,
PRIMARY KEY (`Server_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers table';
exit
We login again with the mysql command client but now with <user> account:
Code: [Select]
cd c:\apps\mysql51\bin
mysql -u <user> -p
create database <newdb>;
exit
Where <newdb> is the name of our first database project.
Here arrive the os/2 power: the work area.
I create a folder with two program object inside: one for starting apache server daemon and one for mysql server daemon (see screenshot below). With the Work Area option activate the daemons start automagically whenever I open my databases folder.
And when I finish with my database job closing the folder automagically close also the daemon, so i have not the servers always active.
Some little step and the database system is ready to go...
I have a zip file (newdb.zip) that is the real nubuilder engine (but yet void: below there is also nubuilderprodemo.sql, an example application downloaded some time ago from the nubuilder site). The zip file occupy about 25 MBytes, so i cannot upload such as post attachment. Here Martin can help me saying where I can upload it  ;D.
Unzip newdb.zip inside the c:\apps\apache2\htdocs\ directory and change name with yours project name (c:\apps\apache2\htdocs\<proj_name>)
Inside that directory there is a file called config.php like the following:
Code: [Select]
<?php

    $nuConfigDBHost                 
"localhost";
    
$nuConfigDBName                 "newdb";
    
$nuConfigDBUser                 "user";
    
$nuConfigDBPassword             "userpassword";
    
$nuConfigDBGlobeadminPassword   "globeadminpassword";
    
$nuConfigtitle                  "newdb";

?>

Well, edit it with your data ("newdb" --> proj_name; "user" and "userpassword" --> user name and password created with mysql; "globeadminpassword" --> password of the root user of the project).
Now start firefox and insert the URL:
Code: [Select]
localhost/<proj_name>/nuinstall.phpIn the shown page insert the globeadmin (root) password and click on run.
DONE!
From now on you can "connect" to yours database project from "localhost/proj_name" URL.
For a proper use look at https://wiki.nubuilder.net/nubuilderv3 and https://forums.nubuilder.com/
Below screenshot and zip files.
For some reason the "database" button on the globeadmin page does not work so phpmyadmin login page does not open anymore for me. I think is some httpd.conf/php.ini/my.cnf misconfiguration. I have rimedied with adminer (www.adminer.org).
Happy warping!

25
Comments, Suggestions & Questions / Copy/Replace file dialog in OS/2
« on: October 22, 2018, 09:46:23 pm »
I'm reading all the as2ezine, some other os/2 forum/wiki in Internet, same old magazines and everywhere I found described many software for os/2 GUI enhancement/replacement (Object Desktop, XWorkplace, xit, styler2, ecc) but nothing that enhance the default copy/raplace file dialog and that add a progress bar. Someone had found something?
I think is very boring waiting for files copy with the big os/2 file copy dialog that occupy most of the screen... :-\

26
Utilities / Re: DO.EXE new version commandline utility 1.99
« on: October 22, 2018, 09:28:51 pm »
Hi to all! I'm new to os2world... and welcome to myself  ;D
After many years finally I have some time for my dream: a workstation with a daily functional os/2.
My first warp pc was version 2.1. Then I bought warp 3 but in that years also starting my actual job such as Graphics Technician.
So my first operating environment is Apple Mac.
I follow this forum from a few months when I contacted Martin Iturbide for some information about DBExpert. But it is another story...
I take this opportunity to propose my opinion about DO.EXE.
I think was possible to name it LDO.EXE, like "Let's DO":
> ldo delete
> ldo copy
Cheers to you all and Happy Warping!

Pages: 1 [2]