Very frustrating theme path problem

Permalink
I'm trying to install a C5 website on a Plesk server and having some issues that I am going round in circles trying to solve....please someone point out the obvious!

I have a theme that is working fine on my localhost but when I install it on the new live server I am getting an error as follows:

File /var/www/vhosts/my-site.com/httpdocs/themes/My-Theme/default.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files.

My theme has both default and view files, and default C5 install themes work fine.

I can't work out why this theme is trying to reference things using the entire server folder structure (var/www/vhosts etc) rather than just relatively inside the httpdocs folder as you might expect? As mentioned other themes work fine so it must be something in my theme. The first clue I think is on install the thumbnail.png image doesn't preview in the install theme interface.

Although this is not my first C5 install, this was the first theme I created some time ago (I've been busy!) and I made the newb error at the time of putting the theme in the Concrete/themes folder not the root. As such I may have had to naively hack something to make it work back then (although not that I recall) and now I'm pulling my hair out trying to work out what is wrong now I'm trying to install this theme properly a year later!

Any pointers will be very much appreciated. I'm very frustrated at the moment as I thought this would be a quick weekend job! :-)

mrjcgoodwin
 
mrjcgoodwin replied on at Permalink Reply
mrjcgoodwin
Ok!.... so this server is case sensitive! default not Default! This is why weekends are supposed to be for resting! ;-)
Mnkras replied on at Permalink Reply
Mnkras
filename-wise, keep it all lowercase, it makes it easier for everyone.