Forum

Thread tagged as: Problem, Addons, Members

members app doesn't show

I've installed the members app but it doesn't show anything in the default templates, please see..

https://www.ohvehicleconversions.thedesignbank.co.uk/members/index.php

page fails when it gets to

            <?php 
        if (perch_member_logged_in()) {
        echo '<h1>Welcome back, '.perch_member_get('first_name').'!</h1>';
    }else{
        echo '<h1>Hello!</h1>';
        echo '<p>You are not logged in. Please login or <a href="register.php">register</a>.</p>';
    }
    ?>

what could be going wrong please?

John Robinson

John Robinson 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you post your diagnostics? You should have been asked for these when you started the thread.

Sorry, forgot how you got to it. The short version.

Summary information

Perch: 2.8.19, PHP: 5.5.30, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 15d5c781cfcad91193dceae1d2cdd127674ddb3e $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.19), assets (2.8.19), categories (2.8.19), perch_blog (4.6), perch_members (1.4)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'members', );
PERCH_LOGINPATH: /admin
PERCH_PATH: /var/www/web/admin
PERCH_CORE: /var/www/web/admin/core
PERCH_RESFILEPATH: /var/www/web/admin/resources
Image manipulation: GD
PHP limits: Max upload 128M, Max POST 128M, Memory: 128M, Total max file upload: 128M
Resource folder writeable: Yes
DOCUMENT_ROOT: /var/www/web
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
REQUEST_URI: /admin/core/settings/diagnostics/
HTTP_HOST: ohvehicleconversions.thedesignbank.co.uk
Drew McLellan

Drew McLellan 2638 points
Perch Support

In your apps.php file members needs to be perch_members.

Thanks, working now