• Welcome to KonaKart Community Forum. Please login or sign up.
 

urgent..problem migration 4.2.0.0 to 5.0.0.0

Started by cuilim, January 19, 2011, 05:06:56 am

Previous topic - Next topic

cuilim

when I was migrating from version 4.2 to 5.0, and I test in the local (windows computer) there is no problem at all ..
but when I've laid in hosting(os linux)  .. turns out when it will open an order, an error occurs as follows ..

velocity resource not found : C:\Program Files\KonaKart\templates\store1\OrderConfReceived_en.vm..

I suspect these errors are because he's trying to find files in these locations but did not see you, because my linux computer so there's no question that path .. how setnya to another location..

I've set it in a file konakart_velocity with :

# ----------------------------------------------------------------------------
# V E L O C I T Y    P R O P E R T I E S
# ----------------------------------------------------------------------------

input.encoding=UTF-8
output.encoding=UTF-8

#resource.loader=class
#class.resource.loader.class=org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

resource.loader = file

file.resource.loader.description = Velocity File Resource Loader
file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
file.resource.loader.cache = false
file.resource.loader.modificationCheckInterval = 0

# Set at runtime
file.resource.loader.path = /home/herianto/happycorn.new/konakart.new/templates/store1

but, i get same error...

please help me...

tx u...

trevor

Look in the Admin App under Configuration>>Velocity Templates and read the online help there to get more info.