coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: letgo216 on March 26, 2006, 08:12:34 AM

Title: Theme doesn't load properly
Post by: letgo216 on March 26, 2006, 08:12:34 AM
I've created a theme to match AcidTech for phpbb, using Valentines as a base. When I view it on my localhost for testing, it works perfectly, but when I try it on my site (http://www.karma-syphon.com/gallery/index.php?theme=AcidTech), nothing loads.

I thought it was something I had messed up, but I also tried loading the original Valentines theme on my site (http://www.karma-syphon.com/gallery/index.php?theme=Valentines), and got the same results. 

Why do these themes not work on my site?
Title: Re: Theme doesn't load properly
Post by: Joachim Müller on March 26, 2006, 10:08:13 AM
not theme-related, as this happens with the classic themes as well (http://www.karma-syphon.com/gallery/index.php?theme=classic). The error message
QuoteCoppermine critical error:
Unable to connect to database !

MySQL said: Lost connection to MySQL server during query
suggests that there is an issue related to your database connection. Review your mysql settings in include/config.inc.php and make sure your mysql service is up and running.
Title: Re: Theme doesn't load properly
Post by: letgo216 on March 26, 2006, 04:20:59 PM
Ok, when I fist posted, I was not getting database errors, and the Classic theme was working, and it still is for me.
Title: Re: Theme doesn't load properly
Post by: Nibbler on March 26, 2006, 04:23:42 PM
The theme's directory is named AcidTech but you use the name 'acid tech' in template.html.
Title: Re: Theme doesn't load properly
Post by: letgo216 on March 26, 2006, 06:10:04 PM
Thanks for that, I went and fixed it, plus some of the same in theme.php and it now works.