This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

atm.it1117342
atm.it1117342

hello all,

i am having a problem with the deployment of my website, basically i get the Class 'System\Models\file' not found error when i upload my website online, this class is used inside my code for the attachment of images to cretin database records, i thought the problem would be the PHP version that I am using, but even when i increased it to PHP 5.6.28 i still get this error message, please guide me through debugging this problem ;( .

Last updated

daftspunky
daftspunky

I wonder if it should be System\Models\File instead of System\Models\file.

atm.it1117342
atm.it1117342

that actually worked!!, thanks.

but why did it work on the local environment ?

daftspunky
daftspunky

Glad to hear it!

Probably because some file systems are case sensitive and others are not. For example this would work fine in Windows (File.php and file.php are the same), but in Ubuntu / Linux it would fail (File.php and file.php are not the same thing).

godhanipnj13117535
godhanipnj13117535

Hello, When I login admin panel then given error. "The slug has already been taken." any idea about solution..?

1-5 of 5

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.