windows and linux have a basic difference for file nomenclature, Windows is not Case Sensitive and Linux yes where according to wikipedia
Case sensitive is an English language term that means size sensitive, or case sensitive, it is used to indicate that there are differences between high-case and normal-case letters. Methods and command in a program or compiler, distinguishes between font sizes.
Thus the windows considers two candidates appointedteste.php
and Teste.php
as files of the same name, which does not happen in linux.
To the class APP
of cakephp the first parameter refers to the name of the file that will be imported, so I always recommend to use the name of the file as it is allocated in your folder, which in case would be
App::uses('ReadMessages', 'Utility');
Is there any difference between your local server and the published one? This seems to be a common error between servers [tag:windows] and [tag:linux]
– Erlon Charles
yes, locally using windows, the server is linux...
– Ricardo Costa
What is the file name? Exactly how it is written?
– Erlon Charles
Folder: lib/Cake/Utility/Readmessages.php
– Ricardo Costa