Adding "model" still doesnt help!

hello guys,

as some of you may know… when you occasionally encountered a
"undefined class/module " error, it is recommended that you add a
model :<your_class_name>

in your controller to prevent such an error…

but recently i still encounter such error even though i loaded all of
the class!

this is traumatizing…anyone know any more solution/alternatives?

I also discover that when you load 2 websites at one time, this error
occurs more frequently eg. running 2 controllers at a time…
though pressing a refresh button would make it work… but is
irritating)

bao lee wrote:

hello guys,

as some of you may know… when you occasionally encountered a
"undefined class/module " error, it is recommended that you add a
model :<your_class_name>

in your controller to prevent such an error…

but recently i still encounter such error even though i loaded all of
the class!

this is traumatizing…anyone know any more solution/alternatives?

I also discover that when you load 2 websites at one time, this error
occurs more frequently eg. running 2 controllers at a time…
though pressing a refresh button would make it work… but is
irritating)

one of the reason which i have found out is that in a heavy load server,
the model method will fail also… so it isnt a fail-proof way to tackle
the “undefined class/module” error