• Resolved lucavanon

    (@lucavanon)


    Hello,
    I just installed wordpress, installed the Gantry5 plugin and the hydrogen theme.
    What I obtained is what you see on the page linked.
    Seems that the theme is not able to use Gantry or that Gantry is not finding all the css and other styles files.
    I also tried to install helium, same result.
    Also the admin pages looks broken, with dropdown menu not working and displayed as lists.
    What’s wrong?
    It’s a plain new install, no plugins installed, only Gantry5 and the theme.
    Maybe it’s a problem of my server configuration, I’m running it on LAMP Ubuntu 16.
    Thanks!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 16 through 21 (of 21 total)
  • Plugin Author Gantry

    (@gantry)

    Well somethings clearly preventing Gantry5 from generating CSS files and it’s probably something with your server configuration. Maybe it’s user and group settings in httpd.conf or some security module is blocking css generating -it’s hard to tell. Please ask your hosting provider to check your apache configuration for you.

    Thread Starter lucavanon

    (@lucavanon)

    The page source code missing these links:

    
    <link rel='stylesheet' id='g-admin-css'  href='mysite/wp-content/plugins/gantry5/admin/css-compiled/g-admin.css?ver=5cfe0128' type='text/css' media='all' />
    <link rel='stylesheet' id='font-awesome.min-css'  href='mysite/wp-content/plugins/gantry5/assets/css/font-awesome.min.css?ver=5cfe0129' type='text/css' media='all' />
    <link rel='stylesheet' id='wordpress-g-admin-css'  href='mysite/wp-content/plugins/gantry5/admin/css-compiled/wordpress-g-admin.css?ver=5cfe0128' type='text/css' media='all' />
    

    I copied these from the source code of the “working” site and noticed that in the “non working” site they are missing.

    Thread Starter lucavanon

    (@lucavanon)

    This site is on a virtual machine so I have to modify apache settings by myself since I installed and configure it.
    If you can give me some advices it will save me a lot of time trying to understand what is going on…

    Plugin Author Gantry

    (@gantry)

    • Try reuploading all files again.
    • Check PHP logs for potential issues and hints
    • Check Apache logs for potential issues and hints
    • Verify httpd.conf and user/group settings if they’re proper
    • Check if anything in your configuration is preventing PHP from creating directories/files
    • Disable all PHP security modules for the time of testing
    • Check Google if anyone else with your hosting provider/linux distribution had similar issues

    These are my suggestions. Fingers crossed for you to find what could be wrong with your setup.

    Thread Starter lucavanon

    (@lucavanon)

    I found out that the problem is the php version.
    My server is running 7.0 and it’s probably too old for Gantry5.
    Unfortunately I have another website running on the same server that is not working with 7.3. I eve tried with 7.2 with no luck…
    If I run php7.3 or php7.2 Gantry5 is running fine but my old website is not working…
    Maybe is not the version but some deep configuration in php.ini that prevents Gantry5 to work with php7.0…

    Plugin Author Gantry

    (@gantry)

    I’m glad that you found the issue. Gantry 5 should work just fine with PHP 7.0 so if it isn’t, there must be some important difference between configurations of your PHP 7.0 and others.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Gantry5 theme not working, fresh install’ is closed to new replies.