Re: revIgniter

2011-07-20 Thread Andrew Kluthe
It is a web app framework for revServer (Now named LiveCode Server). It is
very much like CodeIgniter for PHP.

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-revIgniter-v1-4b-tp3678359p3681975.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revIgniter

2011-07-20 Thread Andre Garzia
On Wed, Jul 20, 2011 at 5:30 PM, Andrew Kluthe  wrote:

> It is a web app framework for revServer (Now named LiveCode Server). It is
> very much like CodeIgniter for PHP.
>

let me correct that for you dear Sir,

It is a *BEST* web app framework for revServer (Now named LiveCode Server).
It is
very much like CodeIgniter for PHP.

thanks you, carry on, keep calm and stay with snow leopard.


> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/ANN-revIgniter-v1-4b-tp3678359p3681975.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revIgniter installation

2016-03-28 Thread Bob Hall
Before installing Revigniter, you have to confirm Livecode Server (LCS) is 
installed and working. To be honest, this can be more of a challenge than 
getting Revigniter installed. Don’t even move on to Revigniter until you know 
for a fact LCS is operational with the simple test.lc file from the Livecode 
Lessons (on livecode.com website).

There’s some configuration you need to do on your host to get LCS to work and a 
shared host can complicate matters a bit. I did run into an issue with one of 
my hosting providers where they had things very locked down and would not add 
to my account the ability for apache to send a .lc file to a cgi. So I dropped 
them and moved to another provider.

When I install Rev, I simply copy the revigniter .zip file up to my host and 
using cPanel’s filemanager, extract the original Rev archive directly to the 
server. Then I either rename the revigniter directory or move the contents to 
the location that I need them to be in.

If you’ve got LC server up and working and copy the Rev files to the server, I 
have great success getting the Rev Welcome page to show almost 100% of the time 
with no issues. Make sure you include the “index.lc” in your URL when trying to 
access the server. There are additional steps you need to do hide the index.lc 
but to start, just include index.lc in all your server url’s and you mess a 
round a bit with some basic Livecode Server/Revigniter scripts.

-Bob
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Revigniter Sessions

2017-12-15 Thread Bob Sneidar via use-livecode
If the LC browser doesn't support cookies, probably nowhere. Session cookies 
are kept in memory, and therefore likely inaccessible. 

Bob S


> On Dec 15, 2017, at 07:29 , Tom Glod via use-livecode 
>  wrote:
> 
> Hi everyone, this may be a dumb question.but
> 
> When I download a URL (from inside LC Standalone), which is a (LC Server
> Page) that generates a cookie, where does the cookie get saved?  Is it
> accessible to me?
> I'm working on integrating LC Standalone with a Postgress DB via LC
> Server.  I'd like to have session control, but the Revigniter Documentation
> just assumes that the person is browsing the site using a regular browser.
> I'd like to download database query results straight from my standalone.
> 
> Hope my question makes sense
> 
> Thanks
> 
> Tom
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Revigniter Sessions

2017-12-15 Thread Tom Glod via use-livecode
Thanks Bob, thats what I suspected as wellI guess I have to create my
own session handler, or maybe I can still user rev-igniter's session
handling via database only and ignore the cookiewe shall see.

On Fri, Dec 15, 2017 at 10:33 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If the LC browser doesn't support cookies, probably nowhere. Session
> cookies are kept in memory, and therefore likely inaccessible.
>
> Bob S
>
>
> > On Dec 15, 2017, at 07:29 , Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi everyone, this may be a dumb question.but
> >
> > When I download a URL (from inside LC Standalone), which is a (LC Server
> > Page) that generates a cookie, where does the cookie get saved?  Is it
> > accessible to me?
> > I'm working on integrating LC Standalone with a Postgress DB via LC
> > Server.  I'd like to have session control, but the Revigniter
> Documentation
> > just assumes that the person is browsing the site using a regular
> browser.
> > I'd like to download database query results straight from my standalone.
> >
> > Hope my question makes sense
> >
> > Thanks
> >
> > Tom
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Revigniter Sessions

2017-12-15 Thread Alex Tweedly via use-livecode
Hold on - you guys are getting confused - or maybe you're just getting 
me confused :-) :-)



On the server side, Tom wants to use revIgniter session support - that 
should be just fine. revIgniter (or indeed LC Server) doesn't know, or 
care, if you are using a standard browser, a revBrowser inside an LC 
app, or just get/put URLs from an LC app.



On the client side, Tom (I think) wants to use an LC App - not sure 
whether he wants a revbroswer, or if he just wants to do "get URL" etc.


If it is the former (i.e. revBrowser) then I have no clue :-)

If it is "just" an LC app, then everything is fine - so long as the app 
handles cookies, and session cookies, just like a browser would. 
Therefore, when you retrieve a URL from the site, you should check the 
headers - using libURLLastRHeaders() - to see what cookies are being 
set; and when you make subsequent requests you need to set that 
cookie/value in the http headers you are sending.


see http://lists.runrev.com/pipermail/use-livecode/2008-July/112454.html 
for a brief description.


There ought to be a library to help, but I couldn't find one.

Alex.


On 15/12/2017 15:42, Tom Glod via use-livecode wrote:

Thanks Bob, thats what I suspected as wellI guess I have to create my
own session handler, or maybe I can still user rev-igniter's session
handling via database only and ignore the cookiewe shall see.

On Fri, Dec 15, 2017 at 10:33 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:


If the LC browser doesn't support cookies, probably nowhere. Session
cookies are kept in memory, and therefore likely inaccessible.

Bob S



On Dec 15, 2017, at 07:29 , Tom Glod via use-livecode <

use-livecode@lists.runrev.com> wrote:

Hi everyone, this may be a dumb question.but

When I download a URL (from inside LC Standalone), which is a (LC Server
Page) that generates a cookie, where does the cookie get saved?  Is it
accessible to me?
I'm working on integrating LC Standalone with a Postgress DB via LC
Server.  I'd like to have session control, but the Revigniter

Documentation

just assumes that the person is browsing the site using a regular

browser.

I'd like to download database query results straight from my standalone.

Hope my question makes sense

Thanks

Tom
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your

subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Revigniter Sessions

2017-12-15 Thread Tom Glod via use-livecode
you got it Alex..thats exactly what I want to do . brilliant ...check
header for cookie..get cookie. got it.  Thank You!!!

On Fri, Dec 15, 2017 at 6:57 PM, Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hold on - you guys are getting confused - or maybe you're just getting me
> confused :-) :-)
>
>
> On the server side, Tom wants to use revIgniter session support - that
> should be just fine. revIgniter (or indeed LC Server) doesn't know, or
> care, if you are using a standard browser, a revBrowser inside an LC app,
> or just get/put URLs from an LC app.
>
>
> On the client side, Tom (I think) wants to use an LC App - not sure
> whether he wants a revbroswer, or if he just wants to do "get URL" etc.
>
> If it is the former (i.e. revBrowser) then I have no clue :-)
>
> If it is "just" an LC app, then everything is fine - so long as the app
> handles cookies, and session cookies, just like a browser would. Therefore,
> when you retrieve a URL from the site, you should check the headers - using
> libURLLastRHeaders() - to see what cookies are being set; and when you make
> subsequent requests you need to set that cookie/value in the http headers
> you are sending.
>
> see http://lists.runrev.com/pipermail/use-livecode/2008-July/112454.html
> for a brief description.
>
> There ought to be a library to help, but I couldn't find one.
>
> Alex.
>
>
>
> On 15/12/2017 15:42, Tom Glod via use-livecode wrote:
>
>> Thanks Bob, thats what I suspected as wellI guess I have to create my
>> own session handler, or maybe I can still user rev-igniter's session
>> handling via database only and ignore the cookiewe shall see.
>>
>> On Fri, Dec 15, 2017 at 10:33 AM, Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> If the LC browser doesn't support cookies, probably nowhere. Session
>>> cookies are kept in memory, and therefore likely inaccessible.
>>>
>>> Bob S
>>>
>>>
>>> On Dec 15, 2017, at 07:29 , Tom Glod via use-livecode <

>>> use-livecode@lists.runrev.com> wrote:
>>>
 Hi everyone, this may be a dumb question.but

 When I download a URL (from inside LC Standalone), which is a (LC Server
 Page) that generates a cookie, where does the cookie get saved?  Is it
 accessible to me?
 I'm working on integrating LC Standalone with a Postgress DB via LC
 Server.  I'd like to have session control, but the Revigniter

>>> Documentation
>>>
 just assumes that the person is browsing the site using a regular

>>> browser.
>>>
 I'd like to download database query results straight from my standalone.

 Hope my question makes sense

 Thanks

 Tom
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your

>>> subscription preferences:
>>>
 http://lists.runrev.com/mailman/listinfo/use-livecode

>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter is Fabulous!

2011-03-23 Thread -=>JB<=-
That looks very nice.  Was everything made with Revigniter?

-=>JB>=


On Mar 23, 2011, at 9:53 PM, Sivakatirswami wrote:

> We are redoing our www.himalayanacademy.com web site, very slowly, it will 
> take many moons...
> and we are not rushing.
> 
> I decided we should give RevIgniter a try. There was a little anxiety in the 
> air about using something new and different that was not PHP. And since 
> LiveCode has proven itself over and over again in-house for production apps, 
> I went out on a limb and convinced everyone here that LiveCode Server and 
> RevIgniter were going to provide us with
> 
> a) "radical flexibility" and
> b) fabulous performance
> 
> We have had enough experience with XOOPS and Drupal to know that it can only 
> get better, so no objections were raised. So for the past month I've been 
> hitting hard on the RevIgniter User guide and plaguing Ralf with all kinds of 
> questions.
> 
> Now as I finally got thru the learning curve and am actually putting together 
> pages, I can't say how utterly fantastic this is. It's like a dream come 
> true, like I've been hobbling around in web dev space since 1995 with both 
> arms tied behind my back and one leg broken and suddenly I can fly.
> 
> This is our sand box... and we are just getting started. Not only is it fast 
> and efficient but it is also just way too much fun.
> 
> http://dev.himalayanacademy.com/books/   (click the design one and design two 
> links)
> 
> Obviously this is just a skeleton right now, but, with setting far future 
> headers on our server and using the revIgniter assets helper cache busting 
> feature, we are getting jaw dropping speed.
> 
> Of course there are only two images on the page, but even so the "in the 
> blink of an eye" has already impressed a number of people.
> 
> Thank you, RunRev and Ralf Bitter!
> 
> Sivakatirswami
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter is Fabulous!

2011-03-24 Thread Robert Mann
I too found revIGniter a fantastic working work! and pointed that out several
time. 

My first site using that though has to be reworked from a speed point of
view because I chose to view pictures with a javascript gallery module that
loads every files at start up... and that also made the cache function of
revIgniter out in the limbs, (does not work in that case). So I'll drop
that.

www.le-saint-claire.com




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RevIgniter-is-Fabulous-tp3401600p3401962.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter is Fabulous!

2011-03-24 Thread Sivakatirswami

 On 3/23/11 7:05 PM, -=>JB<=- wrote:

That looks very nice.  Was everything made with Revigniter?

-=>JB>=

http://dev.himalayanacademy.com/books

When you say "everything made with" depends what you mean. The 
navigation menus at the top are pure simple CSS. I use John Alsop's 
Style Master for CSS.  Are you using RevIgniter?


But the entire page assembly is revIgniter.

The rotating selection of the head image (changes on page load) is 
driven by a simple 4 line function .. actually it could have been two 
lines. No JS or Ajax there. The data for the book on the page is all 
drawn from an external source piped in through a "model"  HTML is 
assembled from six "views" -html "chunks"  and most of the content of 
these is made up of variables that are poked in the controller. That's 
what is impressive, the number of operations and "gets" that are being 
performed by LiveCode Server before the page is sent out (I count at 
least 30 operations done to put this one page together) is significant 
enough that you would think you might start to feel some processing 
sluggishness: but no -- it feels almost instantaneous. take a look at 
the time to render at the bottom of the page.


Part of this is because there is no html in a data base (ala other PHP 
CMS frameworks... "irritating"... you log in, choose a module, click on 
a list and "hello" there you are face-to-face with HTML in a "record.") 
instead we will just use the database  for media assets metadata 
storage. So even when we get to using queries to generate some parts of 
the page content, it will be very fast, because we will still get the 
html direct from disk.


Of course this is just a design decision as revIgniter would certainly 
support html code chunks being stored in dbase if you wanted to go that 
route, (I never will!) and I guess the CodeIgniter PHP framework is also 
very fast. i.e. you will have to cook your own CMS...and that's a 
different discussion.


If you want to see any of the code, happy to share.








___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter is Fabulous!

2011-03-24 Thread -=>JB<=-
I am not using revigniter yet but I downloaded it and have been reading
since your post.  I am really new to web programming and irev has very
little info unless they wrote documentation I don't know about so I have
been learning web basics from other sources.

Thanks for the reply and the offer to see your code.  I will probably take
you up on that offer when I learn more.

-=>JB<=-



On Mar 24, 2011, at 12:20 PM, Sivakatirswami wrote:

> On 3/23/11 7:05 PM, -=>JB<=- wrote:
>> That looks very nice.  Was everything made with Revigniter?
>> 
>> -=>JB>=
> http://dev.himalayanacademy.com/books
> 
> When you say "everything made with" depends what you mean. The navigation 
> menus at the top are pure simple CSS. I use John Alsop's Style Master for 
> CSS.  Are you using RevIgniter?
> 
> But the entire page assembly is revIgniter.
> 
> The rotating selection of the head image (changes on page load) is driven by 
> a simple 4 line function .. actually it could have been two lines. No JS or 
> Ajax there. The data for the book on the page is all drawn from an external 
> source piped in through a "model"  HTML is assembled from six "views" -html 
> "chunks"  and most of the content of these is made up of variables that are 
> poked in the controller. That's what is impressive, the number of operations 
> and "gets" that are being performed by LiveCode Server before the page is 
> sent out (I count at least 30 operations done to put this one page together) 
> is significant enough that you would think you might start to feel some 
> processing sluggishness: but no -- it feels almost instantaneous. take a look 
> at the time to render at the bottom of the page.
> 
> Part of this is because there is no html in a data base (ala other PHP CMS 
> frameworks... "irritating"... you log in, choose a module, click on a list 
> and "hello" there you are face-to-face with HTML in a "record.") instead we 
> will just use the database  for media assets metadata storage. So even when 
> we get to using queries to generate some parts of the page content, it will 
> be very fast, because we will still get the html direct from disk.
> 
> Of course this is just a design decision as revIgniter would certainly 
> support html code chunks being stored in dbase if you wanted to go that 
> route, (I never will!) and I guess the CodeIgniter PHP framework is also very 
> fast. i.e. you will have to cook your own CMS...and that's a different 
> discussion.
> 
> If you want to see any of the code, happy to share.
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter - Loading Images

2011-03-24 Thread Robert Mann

"Robert, here is my simple function to drive a random selection from a 
folder of images, the image is loaded once on page load and does not 
change until next page load. this may not be what you want... "

Many thanks its exactly what I was going to program : a random selection of
an image for each page call! I did not grasp the way it you did that in 5
seconds but will dig it next week, and let know and share handlers to do
that!

It would be nice to have a respository of revIgniter compatible handlers
somewhere. Maybe the best place is on rev lessons!? Because it needs a
little explanation also! 






--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RevIgniter-is-Fabulous-tp3401600p3404321.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



Re: RevIgniter - Loading Images

2011-03-24 Thread Web Admin Himalayan Academy

 On 3/24/11 4:51 PM, Robert Mann wrote:

"Robert, here is my simple function to drive a random selection from a
folder of images, the image is loaded once on page load and does not
change until next page load. this may not be what you want... "

Many thanks its exactly what I was going to program : a random selection of
an image for each page call! I did not grasp the way it you did that in 5
seconds but will dig it next week, and let know and share handlers to do
that!

[warning, if you are not familiar with apache future expires header
and caching performance issues, the following may be all ZULU to you.]

Just remember once you finish the testing to set the cache busting to 
false in my code I should have made that clear.


(I assume you have far future expires headers set on your server, you 
can do this with .htaccess of your site if you don't have access to the 
core httpd.conf...just put  this in your .htaccess file:


ExpiresActive On
ExpiresDefault "access plus 10 years"


see http://developer.yahoo.com/blogs/ydn/posts/2007/05/high_performanc_2/

for details

e.g. when developing do this:

put rigCssAsset("ha-new.css",,,TRUE) into gData["haNewCSS"] # Load Base 
Styles


when you stop changing your css and you know you are not going to change 
anything for a while then


put rigCssAsset("ha-new.css",,,FALSE) into gData["haNewCSS"] # Load Base 
Styles


and change:

   put (rigImageAsset(tBackGroundPath,,,TRUE))  into pTaggedImage

to

   put (rigImageAsset(tBackGroundPath,,,FALSE))  into pTaggedImage

Later if you start developing again and you find things are not updating 
as you work, instead of having to go empty the cache all the time, just 
set these back to "TRUE"   actually for certain sets of images there's 
hardly any reason use TRUE because the likelihood that i would put up a 
different version of "waialeale-sunset-dcsn6463.jpg" with the same name 
if very unlikely...


But if your content designers start throwing different versions of 
"masthead.jpg" onto the server every day, they you definitely will want 
to set it to TRUE  so that they will see their new image come up as they 
test...otherwise they will come crying to you that they never see their 
new baby on the screen and it keeps showing yesterdays' version of 
"masthead.jpg"



It would be nice to have a respository of revIgniter compatible handlers
somewhere. Maybe the best place is on rev lessons!? Because it needs a
little explanation also!


Agreed! Not sure what is best.  Happy to contribute moving forward... I 
think best would be a blog on Ralf site to guard against fragmentation.






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revIgniter and LC8

2016-05-04 Thread Monte Goulding
These errors can be hard to read. You want:
> row 1114, col 35: script: parsing error (13)
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Input.lc”

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: revIgniter and LC8

2016-05-05 Thread Alex Tweedly
Thanks Monte. I had looked at the files listed immediately before and 
after that part of the traceback - didn't think of going further down 
the list ...


So looking in Input.lc, I found line 1114 has

repeat for each item tSegment in tIPsegments then

which is clearly wrong - the stricter parser in LC8 complained (quite 
rightly :-) even though earlier version were happy.


Many thanks
Alex.

On 05/05/2016 01:15, Monte Goulding wrote:

These errors can be hard to read. You want:

row 1114, col 35: script: parsing error (13)
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Input.lc”

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: revIgniter - how to instal

2013-01-31 Thread Andrew Kluthe
Not sure exactly, but from the error message I would gather that it
expects to find
(/Library/WebServer/Documents/index.lc/system/revigniter/RevIgniter.blog)
and it can't. I'd start checking paths to make sure files are there
and check your application/config/config.lc file to make sure things
are configured properly.



On Thu, Jan 31, 2013 at 8:16 AM, paolo mazza  wrote:
> Hi all,
> I just installed revIgniter Version 1.5.19b .
> I installed revIgniter on the root of our web server, I set up the
> config.lc file accordingly,  and I was able to open the file index.lc
>
> Following documentation, I created a file ...
>
> http://myserver.local/system/application/controllers/blog.lc
>
> but when I tried to open the URL
>
> http://myserver.local/index.lc/blog/
>
> I got this answer:
>
> file "/Library/WebServer/Documents/index.lc"
>   row 123, col 1: include: could not find file
> (/Library/WebServer/Documents/index.lc/system/revigniter/RevIgniter.blog)
>
>
> Any idea what is wrong with my installation? All the best.
>
> Paolo
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
Regards,

Andrew Kluthe
and...@ctech.me

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revIgniter - how to instal

2013-01-31 Thread paolo mazza
Andrew,
the application/config/config.lc file is configured according to
documentation...

put "http://myserver.local/"; into gConfig["baseUrl"]

put "index.lc" into gConfig["indexPage"]


I think it is correct because revigniter files are on the root of my web server.

The file " 
/Library/WebServer/Documents/index.lc/system/revigniter/RevIgniter.blog
" does not exists, while the browser is supposed to  open file
"http://myserver.local/system/application/controllers/blog.lc ".
But it doesn't .

Thanks

Paolo


On Thu, Jan 31, 2013 at 3:30 PM, Andrew Kluthe  wrote:
> Not sure exactly, but from the error message I would gather that it
> expects to find
> (/Library/WebServer/Documents/index.lc/system/revigniter/RevIgniter.blog)
> and it can't. I'd start checking paths to make sure files are there
> and check your application/config/config.lc file to make sure things
> are configured properly.
>
>
>
> On Thu, Jan 31, 2013 at 8:16 AM, paolo mazza  
> wrote:
>> Hi all,
>> I just installed revIgniter Version 1.5.19b .
>> I installed revIgniter on the root of our web server, I set up the
>> config.lc file accordingly,  and I was able to open the file index.lc
>>
>> Following documentation, I created a file ...
>>
>> http://myserver.local/system/application/controllers/blog.lc
>>
>> but when I tried to open the URL
>>
>> http://myserver.local/index.lc/blog/
>>
>> I got this answer:
>>
>> file "/Library/WebServer/Documents/index.lc"
>>   row 123, col 1: include: could not find file
>> (/Library/WebServer/Documents/index.lc/system/revigniter/RevIgniter.blog)
>>
>>
>> Any idea what is wrong with my installation? All the best.
>>
>> Paolo
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> --
> Regards,
>
> Andrew Kluthe
> and...@ctech.me
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: revIgniter - how to instal

2013-01-31 Thread Ralf Bitter

Hi Paolo,

it seems that you are using MacOS server. If this is the case
I am sorry. There is a bug (9869) in LiveCode Server confirmed by RunRev.
LiveCode server versions 4.6.3 up to 5.0.2 have two incorrect path environment
variables on Lion and Mountain Lion. These variables are:

$_SERVER["PATH_TRANSLATED"] and $_SERVER["PATH_INFO"].

As revIgniter is heavily dependent on path variables this means that
there is no way to run revIgniter using the said OS / server versions.

I reported this bug in November 2011. In September 27, 2012 I got the
following response from the RunRev QCC:

"your bug report has been addressed and the issue you raised is fixed.
We fixed this bug in release: 5.5.3-rc-1."

Unfortunately the fixed version is still waiting to be released.


Ralf



On 31.01.2013, at 15:16, paolo mazza  wrote:

> Hi all,
> I just installed revIgniter Version 1.5.19b .
> I installed revIgniter on the root of our web server, I set up the
> config.lc file accordingly,  and I was able to open the file index.lc
> 
> Following documentation, I created a file ...
> 
> http://myserver.local/system/application/controllers/blog.lc
> 
> but when I tried to open the URL
> 
> http://myserver.local/index.lc/blog/
> 
> I got this answer:
> 
> file "/Library/WebServer/Documents/index.lc"
>  row 123, col 1: include: could not find file
> (/Library/WebServer/Documents/index.lc/system/revigniter/RevIgniter.blog)
> 
> 
> Any idea what is wrong with my installation? All the best.
> 
> Paolo
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [revIgniter] revIgniter and LC8

2016-05-04 Thread Dave Kilroy
Hi @Alex, I’m also using revIgniter on HostM and not seeing the same thing…

BTW, on the advice of a HostM technician a while ago I use the following in a 
.htaccess file in a domain folder to select which version of LC Server is used 
(I’ve not tried setting it to “lc8” but should think that would work too) - 
anyway, using this means you don’t have to make any changes to the .lc file 
extensions


SetHandler lc6


Kind regards

Dave




> On 5 May 2016, at 00:45, Alex Tweedly  wrote:
> 
> [ Hope no-one minds me cross-posting to two lists - but I think this could be 
> useful for people on both lists ]
> 
> I have a couple of web sites based on revIgniter, hosted on hostM.com
> 
> They've been running happily up until today - running the default version in 
> use by hostm which was (probably) the latest released version (i.e. 7.1.4 I 
> think).
> 
> Today, LC8..0 was released, so hostM have changed their default version to 
> that - and all my revIgniter sites now fail - see traceback info below.
> 
> hostm do provide a way to choose the version to be used, by using a different 
> extension (i.e. .lc vs .lc7 vs .lc6 etc.)
> However, using this with revIgniter doesn't work, because revIgniter then 
> uses the same extension in all included files.
> 
> So - in case anyone else runs into this - the quick work-around is to add the 
> second line below at line97 in ignite.lc, which is then renamed ignite.lc7
> (and of course modify any links/redirects as needed ...)
> 
> put "." & item -1 of sTempFileName into gEXT
> put ".lc" into gEXT-- override for now !! AGT
> 
> There may be a better workaround using .htaccess - but I couldn't get that to 
> work; I can't figure out what to use for the engine name.
> 
> 
> So now that we have a workaround, what's the real problem ?  What about LC8.0 
> breaks with revIgniter ?
> The traceback is as follows .. web site is  http://christineirvine.co.uk 
>   (still under development)
> 
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Router.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/URI.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Config.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Log.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Benchmark.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/application/config/config.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Hooks.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/application/config/constants.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/revigniter/Common.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/revigniter/RevIgniter.lc"
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Router.lc"
>   row 1114, col 35: script: parsing error (13)
>   row 1114, col 35: Operators mod: can't divide scalar by matrix (then)
>   row 1114, col 35: do: can't find command (then)
>   row 1114, col 35: request: error in keyword expression (then)
>   row 89, col 1: script: parsing error
>   row 89, col 1: if-then: error in statement
>   row 89, col 1: if-then: error in statement
>   row 89, col 1: if-then: error in statement
>   row 77, col 1: Handler: error in statement (rigLoadLibrary)
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Output.lc"
>   row 138, col 1: Handler: can't find handler (rigLoadLibrary)
> file 
> "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Input.lc"
> 
> I've not been able to identify what is the failing line, or even which script 
> it is in :-)
> 
> -- Alex.
> 
> 
> 
> 
> 
> 
> ___
> revIgniter mailing list
> revigni...@lists.livecodejournal.com
> http://lists.livecodejournal.com/listinfo.cgi/revigniter-livecodejournal.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [revIgniter] revIgniter and LC8

2016-05-04 Thread Alex Tweedly
Thanks Dave - good suggestion for the htaccess file, this means you 
never use the 'default' version of LC, you are using the latest version 
of LC 6.x.x without having to specify the exact detailed version !


-- Alex.

On 05/05/2016 01:08, Dave Kilroy wrote:

Hi @Alex, I’m also using revIgniter on HostM and not seeing the same thing…

BTW, on the advice of a HostM technician a while ago I use the following in a 
.htaccess file in a domain folder to select which version of LC Server is used 
(I’ve not tried setting it to “lc8” but should think that would work too) - 
anyway, using this means you don’t have to make any changes to the .lc file 
extensions


SetHandler lc6


Kind regards

Dave





On 5 May 2016, at 00:45, Alex Tweedly  wrote:

[ Hope no-one minds me cross-posting to two lists - but I think this could be 
useful for people on both lists ]

I have a couple of web sites based on revIgniter, hosted on hostM.com

They've been running happily up until today - running the default version in 
use by hostm which was (probably) the latest released version (i.e. 7.1.4 I 
think).

Today, LC8..0 was released, so hostM have changed their default version to that 
- and all my revIgniter sites now fail - see traceback info below.

hostm do provide a way to choose the version to be used, by using a different 
extension (i.e. .lc vs .lc7 vs .lc6 etc.)
However, using this with revIgniter doesn't work, because revIgniter then uses 
the same extension in all included files.

So - in case anyone else runs into this - the quick work-around is to add the 
second line below at line97 in ignite.lc, which is then renamed ignite.lc7
(and of course modify any links/redirects as needed ...)

 put "." & item -1 of sTempFileName into gEXT
 put ".lc" into gEXT-- override for now !! AGT

There may be a better workaround using .htaccess - but I couldn't get that to 
work; I can't figure out what to use for the engine name.


So now that we have a workaround, what's the real problem ?  What about LC8.0 
breaks with revIgniter ?
The traceback is as follows .. web site is  http://christineirvine.co.uk 
  (still under development)

file 
"/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Router.lc"
file "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/URI.lc"
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Config.lc"
file "/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Log.lc"
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Benchmark.lc"
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/application/config/config.lc"
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Hooks.lc"
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/application/config/constants.lc"
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/revigniter/Common.lc"
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/revigniter/RevIgniter.lc"
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Router.lc"
   row 1114, col 35: script: parsing error (13)
   row 1114, col 35: Operators mod: can't divide scalar by matrix (then)
   row 1114, col 35: do: can't find command (then)
   row 1114, col 35: request: error in keyword expression (then)
   row 89, col 1: script: parsing error
   row 89, col 1: if-then: error in statement
   row 89, col 1: if-then: error in statement
   row 89, col 1: if-then: error in statement
   row 77, col 1: Handler: error in statement (rigLoadLibrary)
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Output.lc"
   row 138, col 1: Handler: can't find handler (rigLoadLibrary)
file 
"/home/ua886128/public_html/christineirvine.co.uk/system/libraries/Input.lc"

I've not been able to identify what is the failing line, or even which script 
it is in :-)

-- Alex.






___
revIgniter mailing list
revigni...@lists.livecodejournal.com
http://lists.livecodejournal.com/listinfo.cgi/revigniter-livecodejournal.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [revIgniter] revIgniter and LC8

2016-05-05 Thread Dave Kilroy
Yep that’s right, the .htaccess file can go anywhere in the file system so with 
multiple copies you can have some domains running really old versions of LC 
Server, others just moderately old and yet others surfing the latest version

> Thanks Dave - good suggestion for the htaccess file, this means you 
> never use the 'default' version of LC, you are using the latest version 
> of LC 6.x.x without having to specify the exact detailed version ! 
> 
> -- Alex. 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [revIgniter] revIgniter and LC8

2016-05-05 Thread Ralf Bitter
Sorry for coming late. The superfluous "then" keyword in
system/libraries/Input.lc -> _rigValid_ipv4() was overlooked
because server engine versions prior to 8 were forgiving and
didn't complain.
The bug is fixed since version 1.7.2. So, all of you who use
older versions need to fix this in case you intend to upgrade
the server engine to version 8.
Anyhow I recommend to update revIgniter to the latest version.


Warm regards

Ralf

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter & current on-rev LiveCode server version

2013-05-18 Thread Robert Mann
Hi I confirm I do have the latest revIgniter package installed on the current
on-rev, no problem. Hope you find the glitch.



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/RevIgniter-current-on-rev-LiveCode-server-version-tp4665045p4665052.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter & current on-rev LiveCode server version

2013-05-18 Thread Keith Clarke
Hi Robert. Thanks for the confirmation that the on-rev LiveCode server version 
is revIgniter-compatible.

So, now I know it's something I've (not) done - but continued trouble-shooting 
is worthwhile, as it will work! :-)
Best,
Keith.. 

On 18 May 2013, at 13:21, Robert Mann  wrote:

> Hi I confirm I do have the latest revIgniter package installed on the current
> on-rev, no problem. Hope you find the glitch.
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/RevIgniter-current-on-rev-LiveCode-server-version-tp4665045p4665052.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter & current on-rev LiveCode server version

2013-05-18 Thread Ralf Bitter

Hi Keith,

the bug mentioned in the user guide applies only to
installations on Lion and Mountain Lion. It is
fixed in LiveCode Server release: 6.0.0-rc-1 though.

This means, revIgniter should work on on-rev.com without
flaws. I would try to start with a clean root folder
without any Apache directives in .htaccess. Then all
you have to do (really) is to copy the files and folders
included to server root. Check your installation using
an URL like "yourSite.on-rev.com/index.lc".

Best

Ralf


On 18.05.2013, at 11:07, Keith Clarke  
wrote:

> Hi folks,
> Can any revIgniter expert please advise whether the current version of 
> LiveCode Server installed on pancake.on-rev.com is compatible with 
> revIgniter? 
> 
> I've installed but getting 404 errors on the index.lc page under revIgniter 
> and the user guide's troubleshooting section mentions a bug in some LiveCode 
> Server versions. 
> 
> I don't see any LiveCode server info in CPanel and can't find any 
> documentation on how to check the server version from a .lc file. 
> 
> Is there a statement similar to that used to check PHP parameters -  like 
> 'put server version' ?
> Best,
> Keith.. 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter & current on-rev LiveCode server version

2013-05-18 Thread Keith Clarke
Hi Ralf - thanks for the clarification. I think my problem is confusion over 
the term 'root' 

I have the choice of my document root - at 'myname.on-rev.com';
My account web-root at 'myname.on-rev.com/public_html';
My company web site at 'myname.on-rev.com/public_html/mydomain.com' 
The sub-directory of that site, where I want to experiment with revIgniter - 
and where the index.lc file will reside - at 
'myname.on-rev.com/public_html/mydomain.com/mytestfolder/index.lc

So far, I've been installing revIgniter bits into into (4), to avoid any risk 
to the rest of my company web site, but should I be installing into (1) or (2) 
and leaving the index.lc in (4)?
Thanks & regards,
Keith..
 
On 18 May 2013, at 17:10, Ralf Bitter  wrote:

> 
> Hi Keith,
> 
> the bug mentioned in the user guide applies only to
> installations on Lion and Mountain Lion. It is
> fixed in LiveCode Server release: 6.0.0-rc-1 though.
> 
> This means, revIgniter should work on on-rev.com without
> flaws. I would try to start with a clean root folder
> without any Apache directives in .htaccess. Then all
> you have to do (really) is to copy the files and folders
> included to server root. Check your installation using
> an URL like "yourSite.on-rev.com/index.lc".
> 
> Best
> 
> Ralf
> 
> 
> On 18.05.2013, at 11:07, Keith Clarke  
> wrote:
> 
>> Hi folks,
>> Can any revIgniter expert please advise whether the current version of 
>> LiveCode Server installed on pancake.on-rev.com is compatible with 
>> revIgniter? 
>> 
>> I've installed but getting 404 errors on the index.lc page under revIgniter 
>> and the user guide's troubleshooting section mentions a bug in some LiveCode 
>> Server versions. 
>> 
>> I don't see any LiveCode server info in CPanel and can't find any 
>> documentation on how to check the server version from a .lc file. 
>> 
>> Is there a statement similar to that used to check PHP parameters -  like 
>> 'put server version' ?
>> Best,
>> Keith.. 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter & current on-rev LiveCode server version

2013-05-19 Thread Ralf Bitter

Hi Keith,

seems that yesterday my response didn't go through,
so here it is again:

The bug mentioned in the user guide applies only to
installations on Lion and Mountain Lion. It is
fixed in LiveCode Server release: 6.0.0-rc-1.

This means, revIgniter should work on on-rev.com without
flaws. I would try to start with a clean root folder
without any Apache directives in .htaccess. Then all
you have to do (really) is to copy the files and folders
included to server root. Check your installation using
an URL like "yourSite.on-rev.com/index.lc".

Best

Ralf



On 18.05.2013, at 11:07, Keith Clarke  
wrote:

> Hi folks,
> Can any revIgniter expert please advise whether the current version of 
> LiveCode Server installed on pancake.on-rev.com is compatible with 
> revIgniter? 
> 
> I've installed but getting 404 errors on the index.lc page under revIgniter 
> and the user guide's troubleshooting section mentions a bug in some LiveCode 
> Server versions. 
> 
> I don't see any LiveCode server info in CPanel and can't find any 
> documentation on how to check the server version from a .lc file. 
> 
> Is there a statement similar to that used to check PHP parameters -  like 
> 'put server version' ?
> Best,
> Keith.. 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter & current on-rev LiveCode server version

2013-05-19 Thread Keith Clarke
Thanks for resending, Ralf - though I did see your original yesterday(?!?) 

Following your advice, I've been able to access revIgniter from 
myName.on-rev.com/index.lc by installing the contents of the zip file into my 
docroot myname.on-rev.com.

For this, I had to edit index.lc as follow:
system = /home/myName/revIgniter/system
application - /home/myName/revIgniter/system/application
 
This is great but I want to use revIgniter from a sub-folder of one of my 
add-on domains and I'm getting 404 errors at URL URL 
http://myDomain.com/myFolder/index.lc which resolves to folder 
/home/myName.on-rev.com/public_html/myDomain/myFolder 

I'm not sure if this is a problem with path definitions in the index.lc file in 
the sub-domain folder (currently the same as above) and/or access permissions. 

Maybe I need a .htaccess file or something on my subdomain to be able to access 
revIgniter folders / files 'above' the add-on domain's web root 'up' to my 
account's docroot.

Any ideas gratefully received.
Best,
Keith..
 
On 19 May 2013, at 15:34, Ralf Bitter  wrote:

> 
> Hi Keith,
> 
> seems that yesterday my response didn't go through,
> so here it is again:
> 
> The bug mentioned in the user guide applies only to
> installations on Lion and Mountain Lion. It is
> fixed in LiveCode Server release: 6.0.0-rc-1.
> 
> This means, revIgniter should work on on-rev.com without
> flaws. I would try to start with a clean root folder
> without any Apache directives in .htaccess. Then all
> you have to do (really) is to copy the files and folders
> included to server root. Check your installation using
> an URL like "yourSite.on-rev.com/index.lc".
> 
> Best
> 
> Ralf
> 
> 
> 
> On 18.05.2013, at 11:07, Keith Clarke  
> wrote:
> 
>> Hi folks,
>> Can any revIgniter expert please advise whether the current version of 
>> LiveCode Server installed on pancake.on-rev.com is compatible with 
>> revIgniter? 
>> 
>> I've installed but getting 404 errors on the index.lc page under revIgniter 
>> and the user guide's troubleshooting section mentions a bug in some LiveCode 
>> Server versions. 
>> 
>> I don't see any LiveCode server info in CPanel and can't find any 
>> documentation on how to check the server version from a .lc file. 
>> 
>> Is there a statement similar to that used to check PHP parameters -  like 
>> 'put server version' ?
>> Best,
>> Keith.. 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter & current on-rev LiveCode server version

2013-05-19 Thread Ralf Bitter

On 19.05.2013, at 16:51, Keith Clarke  
wrote:

> Thanks for resending, Ralf - though I did see your original yesterday(?!?) 
> 
> Following your advice, I've been able to access revIgniter from 
> myName.on-rev.com/index.lc by installing the contents of the zip file into my 
> docroot myname.on-rev.com.
> 
> For this, I had to edit index.lc as follow:
> system = /home/myName/revIgniter/system
> application - /home/myName/revIgniter/system/application



If you don't move or rename any of these folders there is
no need to modify index.lc. The location of these folders
are relative to the directory where your index.lc is located
independent of how deep your revIgniter folder is nested.



> 
> This is great but I want to use revIgniter from a sub-folder of one of my 
> add-on domains and I'm getting 404 errors at URL URL 
> http://myDomain.com/myFolder/index.lc which resolves to folder 
> /home/myName.on-rev.com/public_html/myDomain/myFolder 
> 
> I'm not sure if this is a problem with path definitions in the index.lc file 
> in the sub-domain folder (currently the same as above) and/or access 
> permissions. 
> 
> Maybe I need a .htaccess file or something on my subdomain to be able to 
> access revIgniter folders / files 'above' the add-on domain's web root 'up' 
> to my account's docroot.
> 
> Any ideas gratefully received.
> Best,
> Keith..




In this case all you have to do (really) is to define the "Base Site URL"
in your configuration file like:

put "http://myDomain.com/myFolder/"; into gConfig["baseUrl"]

It is at the top of the configuration file in 
system/application/config/config.lc

Check your installation using an URL like:

http://myDomain.com/myFolder/index.lc


The next thing to do is to get rid of the need to include "index.lc" in your 
URIs.
This is explained in detail in the user guide.


Best

Ralf





> 
> On 19 May 2013, at 15:34, Ralf Bitter  wrote:
> 
>> 
>> Hi Keith,
>> 
>> seems that yesterday my response didn't go through,
>> so here it is again:
>> 
>> The bug mentioned in the user guide applies only to
>> installations on Lion and Mountain Lion. It is
>> fixed in LiveCode Server release: 6.0.0-rc-1.
>> 
>> This means, revIgniter should work on on-rev.com without
>> flaws. I would try to start with a clean root folder
>> without any Apache directives in .htaccess. Then all
>> you have to do (really) is to copy the files and folders
>> included to server root. Check your installation using
>> an URL like "yourSite.on-rev.com/index.lc".
>> 
>> Best
>> 
>> Ralf
>> 
>> 
>> 
>> On 18.05.2013, at 11:07, Keith Clarke  
>> wrote:
>> 
>>> Hi folks,
>>> Can any revIgniter expert please advise whether the current version of 
>>> LiveCode Server installed on pancake.on-rev.com is compatible with 
>>> revIgniter? 
>>> 
>>> I've installed but getting 404 errors on the index.lc page under revIgniter 
>>> and the user guide's troubleshooting section mentions a bug in some 
>>> LiveCode Server versions. 
>>> 
>>> I don't see any LiveCode server info in CPanel and can't find any 
>>> documentation on how to check the server version from a .lc file. 
>>> 
>>> Is there a statement similar to that used to check PHP parameters -  like 
>>> 'put server version' ?
>>> Best,
>>> Keith.. 
>> 
>> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: RevIgniter & current on-rev LiveCode server version

2013-05-19 Thread Keith Clarke
Thanks  Ralf - I've now got a revIgniter instance installed safely in its own 
folder in my doc-root, outside of the public_html web-root and accessible from 
both my on-rev account web-root and a specific folder within one of my add-on 
domains.

This on-rev set-up required settings somewhat different from the installation 
guide, which I'll share, in case it helps others reading the archive…

To enable your on-rev account with revIgniter:
Install the zip file contents into a sub-folder in your on-rev home folder, 
such as '/home/accountName/revIgniter' - retaining the top-level folder, to 
keep everything together, perhaps rename this to 'revIgniter' or similar;
Optionally, for added security, rename the system sub-folder, such as 'foo';
Move the index.lc to your public_html web-root and edit it:
System folder name: /home/accountName/revIgniter/foo
Application Folder name: /home/accountName/revIgniter/foo/application
Open URL accountName.on-rev.com to test revIgniter starts

Access revIgniter from an add-on domain:
Move/copy index.lc to the required folder;
Edit Base Site URL in 
/home/accountName/revIgniter/foo/application/config/config.lc to the URL of 
your add-on domain's folder. 

Now, time to start playing!
Best,
Keith..
  
On 19 May 2013, at 17:57, Ralf Bitter  wrote:

> 
> On 19.05.2013, at 16:51, Keith Clarke  
> wrote:
> 
>> Thanks for resending, Ralf - though I did see your original yesterday(?!?) 
>> 
>> Following your advice, I've been able to access revIgniter from 
>> myName.on-rev.com/index.lc by installing the contents of the zip file into 
>> my docroot myname.on-rev.com.
>> 
>> For this, I had to edit index.lc as follow:
>> system = /home/myName/revIgniter/system
>> application - /home/myName/revIgniter/system/application
> 
> If you don't move or rename any of these folders there is
> no need to modify index.lc. The location of these folders
> are relative to the directory where your index.lc is located
> independent of how deep your revIgniter folder is nested.
> 
>> 
>> This is great but I want to use revIgniter from a sub-folder of one of my 
>> add-on domains and I'm getting 404 errors at URL URL 
>> http://myDomain.com/myFolder/index.lc which resolves to folder 
>> /home/myName.on-rev.com/public_html/myDomain/myFolder 
>> 
>> I'm not sure if this is a problem with path definitions in the index.lc file 
>> in the sub-domain folder (currently the same as above) and/or access 
>> permissions. 
>> 
>> Maybe I need a .htaccess file or something on my subdomain to be able to 
>> access revIgniter folders / files 'above' the add-on domain's web root 'up' 
>> to my account's docroot.
>> 
>> Any ideas gratefully received.
>> Best,
>> Keith..
> 
> In this case all you have to do (really) is to define the "Base Site URL"
> in your configuration file like:
> 
> put "http://myDomain.com/myFolder/"; into gConfig["baseUrl"]
> 
> It is at the top of the configuration file in 
> system/application/config/config.lc
> 
> Check your installation using an URL like:
> 
> http://myDomain.com/myFolder/index.lc
> 
> 
> The next thing to do is to get rid of the need to include "index.lc" in your 
> URIs.
> This is explained in detail in the user guide.
> 
> 
> Best
> 
> Ralf

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode