[ 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.






_______________________________________________
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

Reply via email to