I have developed my YII application locally with XAMPP and the program has worked well. Now I uploaded the program on server and I get this error
include(CUSTOMER.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory
What can be the problem?
I was able to solve the problem by changing this CUSTOMER::model()-> into this Customer::model()->
you localhost is windows and the server is a unix machine? just curious…
Yes, Localhost is Windows and server Linux.
[color=#1C2837][size=2]Customer::model() will work on both windows and linux[/size][/color]