How to get to a working theme install?

Register or login to post to the forum.
12 Oct, 2016 12:58

I've got a working install at members.fourthestate.co however getting the site theme working properly is escaping me.

I've tried enabling all of the themes and the site layouts are still broken. What am I missing here? I'd like to get to a starting point like the demo so that we can evaluate the software.

14 Oct, 2016 22:24

I'm going to guess you missed the "m" in .com which is no problem.

Looking at your source code view-source:http://members.fourthestate.co/ I do see links to fully qualified domains with https...

First - I think depending on when you created the site that we may have to push some commits to the project template. For expediency, you can look at the themes at https://demo.tendenci.com logging in admin and then admin again. It's a container so it resets every hour so it's hard to test on that site but you can take a look.

Questions:

  1. What version of Tendenci are you on? (on your support menu drop down)
  2. Did you set up the cron jobs?
  3. Check your global site settings and be sure it has the correct protocol prefix for the site URL.
  4. Check settings.py and local_settings.py for the use ssl = t/f entry

If that doesn't solve it perhaps post the error logs (turn on in /etc/nginx/nginx.conf or your sites /etc/nginx/sites-enabled/site-name nginx file.

smile

Edited 14 Oct, 2016 22:25
03 Nov, 2016 14:00

The version is: 7.2.41

Crons are set and running.

prefixes are all setup and working as is ssl on the settings files.

Error logs all show some differing versions of the following.

root@ubuntu:~# tail /var/log/nginx/error.log 2016/11/03 18:52:04 [error] 31236#31236: 2452 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/js/jcarousellite_1.0.1.pack.js" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GET /themes/academic-bootstrap3/media/js/jcarousellite_1.0.1.pack.js HTTP/1.1", host: "members.fourthestate.co", referrer: "http://members.fourthestate.co/" 2016/11/03 18:52:04 [error] 31236#31236: 2449 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/js/jquery.cycle.all.min.js" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GET /themes/academic-bootstrap3/media/js/jquery.cycle.all.min.js HTTP/1.1", host: "members.fourthestate.co", referrer: "http://members.fourthestate.co/" 2016/11/03 18:52:04 [error] 31236#31236: 2455 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/images/search-mag.png" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GET /themes/academic-bootstrap3/media/images/search-mag.png HTTP/1.1", host: "members.fourthestate.co", referrer: "http://members.fourthestate.co/" 2016/11/03 18:52:04 [error] 31236#31236: 2455 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/js/jquery.cycle.all.min.js" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GET /themes/academic-bootstrap3/media/js/jquery.cycle.all.min.js HTTP/1.1", host: "members.fourthestate.co", referrer: "http://members.fourthestate.co/" 2016/11/03 18:52:04 [error] 31236#31236: 2455 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/js/jcarousellite_1.0.1.pack.js" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GET /themes/academic-bootstrap3/media/js/jcarousellite_1.0.1.pack.js HTTP/1.1", host: "members.fourthestate.co", referrer: "http://members.fourthestate.co/" 2016/11/03 18:52:12 [error] 31236#31236: 2453 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/css/styles.css" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GET /themes/academic-bootstrap3/media/css/styles.css HTTP/1.1", host: "members.fourthestate.co", referrer: "http://members.fourthestate.co/" 2016/11/03 18:52:12 [error] 31236#31236: 2449 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/css/skeleton.css" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GET /themes/academic-bootstrap3/media/css/skeleton.css HTTP/1.1", host: "members.fourthestate.co", referrer: "http://members.fourthestate.co/" 2016/11/03 18:52:12 [error] 31236#31236: 2455 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/js/jquery.cycle.all.min.js" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GET /themes/academic-bootstrap3/media/js/jquery.cycle.all.min.js HTTP/1.1", host: "members.fourthestate.co", referrer: "http://members.fourthestate.co/" 2016/11/03 18:52:12 [error] 31236#31236: 2453 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/js/jcarousellite_1.0.1.pack.js" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GET /themes/academic-bootstrap3/media/js/jcarousellite_1.0.1.pack.js HTTP/1.1", host: "members.fourthestate.co", referrer: "http://members.fourthestate.co/" 2016/11/03 18:52:12 [error] 31236#31236: 2452 open() "/var/www/jeffbrown/themes/academic-bootstrap3/media/images/search-mag.png" failed (2: No such file or directory), client: 73.1.31.181, server: fourthestate.com, request: "GE

04 Nov, 2016 06:08

All the errors and issues we're seeing so far seem to be from missing theme elements.

07 Nov, 2016 12:57

@4EJeffe - Gotcha. Sounds like we need to update the project template.

Any chance you can grep the nginx error logs for a list of the files?

07 Nov, 2016 13:03

Take a look at the post above.

Can you send me a zip of the templates so that we can get this done?

07 Nov, 2016 14:33

4Ejeffe - all files SHOULD be located here: https://github.com/tendenci/tendenci-project-template

A "hotfix" would be to add nginx locations as needed, but a better fix would be a pull request to move the files into each theme directory.

Hence this file: /var/www/jeffbrown/themes/academic-bootstrap3/media/css/styles.css should equate to files here but I think these may be out of date. https://github.com/tendenci/tendenci-project-template/tree/master/themes/academic-bootstrap3

Checking with some of the devs to reconcile and if it is out of sync we can add a github issue.

21 Dec, 2016 09:53

Thanks Eric. Still no joy.

All I want for Christmas is a working Creative Theme