Atom on FreeBSD Server - Dominion Theme Home Page Issues

67 views
Skip to first unread message

Otmar Conradus

unread,
Jun 1, 2015, 9:33:07 AM6/1/15
to ica-ato...@googlegroups.com
Hi All,

I am running the latest 2.1.2 on a FreeBSD Server with Apache.
Runs OK except for the Home Page.
When Using the Dominion theme only the header (with login link) is displayed and the rest of the page is empty.
Only when you have logged in you will see the whole home page.
I have attached some screenshots from the previous 2.0.0 installation.
As I indicated I just upgrade to 2.1.2 and the problem still exists.

Change the theme to the ArchivesCanada theme will show the homepage without having to be logged in.

Has any other user had encountered the same issue?

Best Regards,

Otmar
atom-homepage.jpg
atom-loggedin.jpg

Dan Gillean

unread,
Jun 1, 2015, 1:23:58 PM6/1/15
to ica-ato...@googlegroups.com
Hi Otmar,

First off, let me point out that here at Artefactual, we develop and test AtoM using Nginx and Ubuntu 14.04, so while the application should work regardless of webserver and OS, there may be some compatibility issues we have not yet found. However, it sounds like you've successfully installed, and only need to complete a few last steps, so let's hope it works!

The first thing I would recommend trying is to remake the CSS for each theme. I will include steps below for doing this on the base Dominion theme - you can repeat it for the ArchivesCanada theme if you continue experiencing issues.

Navigate to the Dominion theme plugin

   $ cd plugins/arDominionPlugin

Recompile the CSS

   $ make

Return to your root directory

   $ cd ..

   $ cd ..

Clear the cache

   $ php symfony cc

Restart PHP5-FPM

   $ sudo service php5-fpm restart

You may want to restart your web server at this point too.

Rebuild the search index

   $ php symfony search:populate


Let us know if that resolves the issue for you! If not, please let us know a bit more about your application - what version of FreeBSD, what version of Apache, what version of PHP you have installed, whether you are hosting the application yourself or using a third-party hosting service - anything else that you think might help our developers to understand your setup so they can offer troubleshooting suggestions.

Regards,


Dan Gillean, MAS, MLIS
AtoM Product Manager / Systems Analyst,
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/a2163508-84e4-4b09-84c0-78d81fadee0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dan Gillean

unread,
Jun 1, 2015, 1:38:56 PM6/1/15
to ica-ato...@googlegroups.com
PS - for the second screenshot, there is a simple solution for getting the search box back into the header.

AtoM has not been designed from the ground-up as a responsive application - instead, it gains minimal repsonsiveness by using the Bootstrap 2.3 framework for its base CSS. Because it was not heavily customized for full responsiveness, some elements work better than others.

In the case of the search box:

At the moment, especially when viewed on a screen with low resolution the header bar doesn't have enough room to accommodate the logo, site title, and search box - so the search box gets bumped down to the next line, especially when you are logged in and all the icons for the main menu appear to the right. Fortunately, you can easily alter which elements appear in the header via the user interface - you can change the title (to make it shorter) or hide it and/or the logo - via Admin > Settings > Default page elements and Admin > Settings > Site information. See:

Try making your title shorter, or removing it; and/or hiding the AtoM logo, etc. Once you have more room, the search box should move back up into the header bar.

Cheers,


Dan Gillean, MAS, MLIS
AtoM Product Manager / Systems Analyst,
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

Otmar Conradus

unread,
Jun 1, 2015, 11:16:22 PM6/1/15
to ica-ato...@googlegroups.com
Hi Dan,

Unfortunately the provided procedure did not fix the issue.
I am running my own dedicated server with
- FreeBSD 8.4-RELEASE-p27
- apache22-2.2.29_3
- elasticsearch-1.5.2_1
- perl5-5.20.2_4
- php5-5.4.41  

Hope that helps.

Best Regards,

Otmar Conradus

Otmar Conradus

unread,
Jun 1, 2015, 11:22:44 PM6/1/15
to ica-ato...@googlegroups.com
The problem seems like an page permission or something.
That would explain why only when logged in it is displayed.

Under FreeBSD the httpd deamons runs as user "www".
So the atom directory is owned by this user.

Otmar

mi...@artefactual.com

unread,
Jun 2, 2015, 1:57:56 PM6/2/15
to ica-ato...@googlegroups.com
Hi Otmar,

Do you have memcached running as well?

Cheers,
Mike Cantelon
Artefactual Systems

Otmar Conradus

unread,
Jun 2, 2015, 2:25:46 PM6/2/15
to ica-ato...@googlegroups.com
Hi Mike,

I currently have the following running:
memcached-1.4.22               High-performance distributed memory object cache system
pecl-memcache-3.0.8            Memcached extension

Best Regards,

Otmar Conradus

Otmar Conradus

unread,
Jun 2, 2015, 2:34:07 PM6/2/15
to ica-ato...@googlegroups.com
These are my Apache Error Logs and Access Log when I just load the homepage (without being logged in).
Once I submit login details no new errors appear in the apache error log.

Apache Error Log:
[Tue Jun 02 14:31:45 2015] [error] [client x.x.x.x] PHP Fatal error:  Call to undefined function _() in /usr/home/atom-2.1.2/apps/qubit/modules/menu/templates/_userMenu.php on line 27

Apache Access Log:
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /plugins/arDominionPlugin/css/main.css HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/jquery.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/yahoo-dom-event/yahoo-dom-event.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/element/element-min.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /plugins/sfDrupalPlugin/vendor/drupal/misc/drupal.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/button/button-min.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/container/container_core-min.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/menu/menu-min.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/jquery-ui.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/modernizr.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/jquery.expander.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /plugins/arDominionPlugin/vendor/fonts/font-awesome/css/font-awesome.css HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/container/assets/skins/sam/container.css HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/tabview/assets/skins/sam/tabview.css HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/button/assets/skins/sam/button.css HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/calendar/assets/skins/sam/calendar.css HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/yui/menu/assets/skins/sam/menu.css HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/jquery.masonry.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/jquery.imagesloaded.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/bootstrap/js/bootstrap.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /vendor/URI.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /js/qubit.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /js/treeView.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /js/dominion.js HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /plugins/arDominionPlugin/vendor/fonts/open-sans/OpenSans-Regular-webfont.woff HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /images/logo.png HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /plugins/arDominionPlugin/images/gray-arrow.png HTTP/1.1" 304 -
x.x.x.x - - [02/Jun/2015:14:31:45 -0400] "GET /favicon.ico HTTP/1.1" 200 1150

Reply all
Reply to author
Forward
0 new messages