• Resolved iragless

    (@iragless)


    Hi

    I’m having an issue with Document gallery (1.4.12) only showing the short codes. ie [dg attachment_pg=”false” paginate=”true” ids=”173″]

    I’m also getting a message showing Document Gallery requires PHP ≥ 5.3. Your server is running version 5.2.17. However Cpanel is showing PHP Version 5.4.24

    Appreciate any assistance.

    https://ww.wp.xz.cn/plugins/document-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi iragless,

    If Document Gallery is reporting you’re running 5.2.17 then that is the version of PHP actually running WordPress. It sounds like CPanel is mis-reporting the PHP runtime being used. You’ll want to contact your hosting provider to get that discrepancy resolved. It’s possible that there are two versions of PHP installed on your server, and one is detected by CPanel and the other is the one actually being used to run WordPress, but that’s just a wild guess.

    Until you are running PHP 5.3 or greater, nothing in the modern Document Gallery will function. We stop loading the plugin right after performing the check that you are reading.

    If you want to backtrack to a version of Document Gallery that did not require PHP 5.3 or greater then you’ll want to go to pre-4.0: https://github.com/thenadz/document-gallery/archive/3.5.4.zip.

    -Dan

    Thread Starter iragless

    (@iragless)

    Thanks Dan

    Sorted it out.

    This line was in .htaccess
    AddHandler application/x-httpd-php5s .php

    Changed to
    AddHandler application/x-httpd-php54 .php

    And the problems was fixed. Not sure how that line got there?

    Regards
    Ian

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Document galleries only showing short codes.’ is closed to new replies.