Recently Updated Posts

daveylibra
New Member
*

daveylibra Avatar

Posts: 5

roguelantern
New Member
*

roguelantern Avatar

Posts: 15

Post by roguelantern on Jul 23, 2013 2:13:27 GMT -5

Did you by any chance install it to the "program files" directory? If yes, you could try installing to another, non-system directory. For example, make a directory c:\runbasic (or d:\runbasic if you have a d: drive) and install it there.
daveylibra
New Member
*

daveylibra Avatar

Posts: 5

Post by daveylibra on Jul 14, 2013 13:37:30 GMT -5

Hi, I used to use RunBasic to write simple programs for statistics.

I have now tried to download it on another laptop, but when I click View in Browser nothing happens.

It is Windows Vista Home Premium, and I downloaded
Free RunBasic for Windows.

Could anyone help with this please?
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
glscottmcsa
New Member
*

glscottmcsa Avatar

Posts: 4

Post by glscottmcsa on Jul 6, 2013 10:52:24 GMT -5

Hi:

Can I do an include of a run basic page on my server from a non-run basic site?

I get errors when I use:

<!-- #include virtual="http://192.168.1.5:8008/seaside/go/runbasicpersonal?app=MenuGary&1" -->

yet I can hyper link w/o problems:
<A HREF="http://192.168.1.5:8008/seaside/go/runbasicpersonal?app=MenuGary&1">Menu</A>

I realize that the address will need to be edited so that it uses a URL. I have that part figured out.

Thanks
pierre
New Member
*

pierre Avatar

Posts: 8

Post by pierre on Jun 17, 2013 10:12:27 GMT -5

OK ... I commented out all commands that involve CSS, and got rid of all SQLite calls, in a really cut-down bit of code. I still get the error page. It happens whenever the server is doing something meaty, and while it is doing that, a link (or button) is clicked.

For example: I set up a page (call it [mainPage]), which does a "cls", and then loads and renders a small picture file. It also has links to a different page. Navigate away from [mainPage], using 2 PCs both connected to that application, then press a button or link to return to [mainPage]. If you press both "return" buttons more or less at the same time, the /seaside/go/..." error page appears (this is using localhost).

So, it looks like the server can't cope with a request arriving when it is already busy doing something.

Thanks for the other link, Stefan (default.css not found). However, I had already read that one; unfortunately it doesn't end with a solution.
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

Post by StefanPendl on Jun 15, 2013 19:08:56 GMT -5

I just did another search and found the following:

StefanPendl Avatar
Searching this forum for the past 7000 days for "default.css" returned the following hit:
default.css not found


When searching make sure to increase the days to at least two years, since searching within the last 7 days just gets no hits at all in most cases.
Last Edit: Jun 15, 2013 19:09:27 GMT -5 by StefanPendl
[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
pierre
New Member
*

pierre Avatar

Posts: 8

Post by pierre on Jun 15, 2013 9:33:02 GMT -5

Just to let people know, even using only sequential files, with a home-grown locking mechanism, I still get the "/seaside/go/%5Cdefault.css/" message (though not quite as often).

So, this message is not connected to SQLite; it is presumably an issue with whatever sits behind Run BASIC. Oh well, back to the drawing board.
pierre
New Member
*

pierre Avatar

Posts: 8

StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

Post by StefanPendl on Jun 13, 2013 11:11:47 GMT -5

Sorry, but you can't trap the locking of the DB file, this will just freeze the session.

I would create a file if a user starts your application.
This file would be checked for its existence during the start.

Pseudo code:

If flag file exists notify user of the application being used and try again in a minute.
If it doesn't exist create it and proceed with the start of the application.
After the session has ended delete the flag file.
[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
pierre
New Member
*

pierre Avatar

Posts: 8

StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
pierre
New Member
*

pierre Avatar

Posts: 8

Post by pierre on Jun 11, 2013 6:43:00 GMT -5

Thanks Stefan and Meekat for the heads-up on this. "PRAGMA read_uncommitted=1" looks as though it should reduce the occurrence of locks in a big way - I will try it out.

I am now going to press ahead with the project, and see how it turns out. With a low number of users, and a bit of user education, hopefully this will be a workable solution. Looking forward to the day when we can use other databases as well, but even so, what a great bit of software Run BASIC is - I'm really impressed.
meerkat
Senior Member
****

meerkat Avatar

Posts: 250