[revIgniter] revIgniter and LC8

Dave Kilroy dave at applicationinsight.com
Wed May 4 20:08:23 EDT 2016


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

<FilesMatch "\.lc$">
SetHandler lc6
</FilesMatch>

Kind regards

Dave




> On 5 May 2016, at 00:45, Alex Tweedly <alex at tweedly.net> 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 <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
> revIgniter at lists.livecodejournal.com
> http://lists.livecodejournal.com/listinfo.cgi/revigniter-livecodejournal.com




More information about the use-livecode mailing list