This topic has 2 replies, 2 voices, and was last updated 8 years by Laura.

  • Author
  • #89454
     buzztwitter
    Participant

    Hi there have this issue

     

    Parse error: syntax error, unexpected end of file in /home/thonwa/buzztwitter.com/wp-content/themes/sweetdate/page.php on line 36

    Dont know what is wrong with it. Here is a copy of the file

     

    <?php /* Template Name: Custom Lockdown */ ?>
    <?php
    /**
    * The template for displaying all pages.
    *
    * This is the template that displays all pages by default.
    * Please note that this is the WordPress construct of pages
    * and that other ‘pages’ on your WordPress site will use a
    * different template.
    *
    * @package WordPress
    * @subpackage Sweetdate
    * @author SeventhQueen <themesupport@seventhqueen.com>
    * @since Sweetdate 1.0
    */

    get_header(); ?>

    <?php get_template_part(‘page-parts/general-before-wrap’);?>

    <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>

    <?php get_template_part( ‘content’, ‘page’ ); ?>

    <!– Begin Comments –>
    <?php comments_template( ”, true ); ?>
    <!– End Comments –>

    <?php endwhile; ?>

    <?php get_template_part(‘page-parts/general-after-wrap’);?>

    <?php if (is_user_logged_in()) :?><?php get_footer(); ?>

     

    copied a bit of code into there to block those not logged in form seeing others content. I made a copy of the code in notepad and when I took the code out as it did not work I pasted it back in the way it was. Sire has been working fine, getting all the configiuration sorted and then this has happened. Comes up when ever I want to access a page on the site.

     

    really looking forward to a quick response so I can get back on with it.

     

    Also one more question. When I activate paid membership pro, not even configured, new users get thrown to a 404 page instead of profile, do you have any ideas on this.

     

    Thanks In Advance

    #89455
     buzztwitter
    Participant

    Sorted it, just seen I had left some code in the bottom <?php if (is_user_logged_in()) :?><?php get_footer(); ?>

    Well I am learning to be more vigilant lol

    Could you please help with the 404 issue with regards to new members and paid membership pro. I dectivate it and new users click on the email link and are directed straight to the profile page, but when paid membership pro is activated they get a 404…..

    Thanks in Advance

    #89678
     Laura
    Moderator

    Hello, make sure you have all pages selected at Memberships > Pages 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?