Load own libraries |
[eluser]Miha Iancu[/eluser]
Hello, I created an application locally on my computer using CodeIgniter. The application includes an image library that I created and placed in system/application/libraries/. As I said the library works perfect on my computer, but when I uploaded online I got the following message: An Error Was Encountered Unable to load the requested class: pictureupload Can anyone help me figure out why I cannot use my library on the server, please? Thank you very much. Miha
[eluser]Colin Williams[/eluser]
Did you follow the naming conventions exactly? Double check your capitalization, etc.
[eluser]Miha Iancu[/eluser]
Hi again, I did checked that. But the library works perfectly on my local server that's why I don't understand...My guess is that is some server configuration just I don't know what exactly. it will be great if you can give me any ideas. Thanks, Miha
[eluser]devbro[/eluser]
can be one the following: 1. unix vs windows (capital matter) there is a chance that it was changed in transfer 2. permmission. is it possible that your files is not readable by the server? try to access your file directly: http://yourserver.com/yoursite/system/ap...urfile.php put some echo before the first line.
[eluser]Miha Iancu[/eluser]
Thank you very much...I tried both ways...the problem was the fact that I named my library PictureUpload and used as pictureupload... My problem is solved problem..Thank you again! Miha |
Welcome Guest, Not a member yet? Register Sign In |