Can't login with the mobile theme

  • daveytje

    #6759

    I will login in with the mobile theme on my mobiel. Only i can”t. I get a blank page when I click on Login. When I activated the theme for desktop I get also a blank theme.

    I have install the theme again. This isn’t the option.

    Website: http://www.uitrijk.nl

    How cn i delete the theme completely with all the settings? Maby it works.

    With the normal theme from graphene i can login and loguit. Onlly the mobile version I can’t.

    daveytje

    #35485

    I found the problem. My mobile child theme. The functions.php.

    The follow code i have in my functions.php:

    function new_excerpt_more($more) {
    global $post;
    return '<a href="'. get_permalink($post->ID) . '"> Lees verder</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

    What can i do?? I get a blank page when i will login in on the site.

    Admin

    Syahir Hakim

    #35486

    Does your mobile child theme functions.php file has an opening <?php tag at the beginning of the file?

    daveytje

    #35487

    Yes. And the close tag ?>

    Admin

    Syahir Hakim

    #35488

    Try setting WP_DEBUG to true in the wp-config.php file and see if any error messages come up.

    daveytje

    #35489

    A lots of errors. When I try to logging in on the mobile i get the follow error messages:

    Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/functions.php on line 2839

    Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/functions.php on line 2839

    Notice: Undefined index: excerpt_html_tags in /home/uitrijk/domains/uitrijk.nl/public_html/wp-content/themes/graphene-mobile/includes/theme-loops.php on line 235

    Notice: registration.php is niet meer in gebruik sinds versie3.1, geen alternatief beschikbaar. Dit bestand hoeft niet langer te worden toegevoegd. in /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/functions.php on line 2881

    Warning: Cannot modify header information - headers already sent by (output started at /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/functions.php:2839) in /home/uitrijk/domains/uitrijk.nl/public_html/wp-login.php on line 368

    Warning: Cannot modify header information - headers already sent by (output started at /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/functions.php:2839) in /home/uitrijk/domains/uitrijk.nl/public_html/wp-login.php on line 380

    Warning: Cannot modify header information - headers already sent by (output started at /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/functions.php:2839) in /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/pluggable.php on line 680

    Warning: Cannot modify header information - headers already sent by (output started at /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/functions.php:2839) in /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/pluggable.php on line 681

    Warning: Cannot modify header information - headers already sent by (output started at /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/functions.php:2839) in /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/pluggable.php on line 682

    Warning: Cannot modify header information - headers already sent by (output started at /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/functions.php:2839) in /home/uitrijk/domains/uitrijk.nl/public_html/wp-includes/pluggable.php on line 876

    The follow plugins i used:

    I used the follow plugins:

    Akismet

    All-in-One Event Calendar by Timely

    ALO EasyMail Newsletter

    Breadcrumb NavXT

    Broken Link Checker

    CodeStyling Localization

    Custom Contact Forms

    Global Hide/Remove Admin Bar Plugin

    Google XML Sitemaps

    GT Tabs

    Issuu Embed

    jQuery Vertical Accordion Menu

    Maintenance Mode

    Mobile Detector for the mobile smart

    Multi Twitter Stream

    Page Links To

    Profile Builder

    Q and A

    Role Scoper

    Tabbed Login Widget

    Thema My Login

    WP-CopyProtect [Protect your blog posts]

    WP-PageNavi

    WP Lightbox 2

    WP SMTP

    Only when I added the child functions.php then I can’t login with the mobile theme. When the child functions.php deleted then I can login.

    Admin

    Syahir Hakim

    #35490

    What’s the full content of the child functions.php? Where did you place this file? If the file content is quite long please post it on pastebin.com.

    daveytje

    #35491

    The content of the child functions.php is:

    <?php
    function new_excerpt_more($more) {
    global $post;
    return '<a>ID) . '"> Lees verder</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');
    ?>

    It state in: ../wp-content/uploads/graphene-mobile-custom

    the folder contains the following files:

    style.css (child)

    folder: Images -> sprite-master.png

    This text set the continue reading what I have with my site to lees verder. (see tis topic: https://forum.graphene-theme.com/graphene-mobile-support-requests/continue-reading-2 for the details).

    Admin

    Syahir Hakim

    #35492

    Your code has a syntax error. Should be like this:

    <?php
    function new_excerpt_more($more) {
    global $post;
    return '<a href="'. get_permalink($post->ID) . '"> Lees verder</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');
    ?>

    daveytje

    #35493

    Thanks. It works.. Great.

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

You must be logged in to reply to this topic.