Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter janpedryc

    (@janpedryc)

    Case closed 😉

    Thread Starter janpedryc

    (@janpedryc)

    I got it!

    In the themes directory are about 12 files, almost everyone blank.

    This was the problem. Among the files was a blank home.php file.

    After your suggestion I took all files down and put your index.php and style.css, that’s why it started to work.

    Now everything (including my files) work, because I uploaded the files with content (index, style, header, footer). After including the blank file home.php, it takes over in the theme and actually do what it should – display a raw, white website 🙂

    I believe, to be specific, the body_class() in the body tag is causing the problem, trying to push the home.php – as it actually should 😉

    I actually didn’t even start to make a template, and it’s so much fun already 😛

    Thread Starter janpedryc

    (@janpedryc)

    After a two day break I copied the files to my server to find what’s wrong, and … it works! I have no clue what went wrong the first time. I cleared the content cache of my browser constantly to be sure it’s not the problem. The other suggestion was a problem on the sever site, but than again why it worked after including your files?

    Still, I’m happy it works and I can again play with my theme 😉

    Thank you very much for your help and happy New Year!

    Thread Starter janpedryc

    (@janpedryc)

    It works.

    I edit the files through FileZilla. The files open in gedit, I save them and a pot up shows up if the file on the server should also be edited.

    I will try to minimize my files and pinpoint the problem, to give you back my findings.

    Thank you very much for your help, finally something works 😉

    Thread Starter janpedryc

    (@janpedryc)

    Changed the index.php file and got the same output.

    Downloaded the twentysixteen theme and everything works fine. It seems like wp wouldn’t see the files only within my theme directory. But the permissions look fine (drwxrwxr-x) and the directory name basia shouldn’t cause problems I think.

    EDIT: Tested also the Spacious Theme and it works fine.

    Thread Starter janpedryc

    (@janpedryc)

    Nothing is rendered and I don’t see the admin bar. But I can still access the admin panel.

    I deactivated all plugins and the problem still occurs.

    The permissions of the themes directory are 775 and inside:
    dir 775
    files 664

    In the themes directory are about 12 files, almost everyone blank. The only ones with content are the above three files and the stylesheet:

    style.css

    /*
    Theme Name: Basia
    Theme URI: http://janped.com/
    Author: Jan Pedryc
    Author URI: http://janped.com/
    Description: A simple theme
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
    Text Domain: basia
    
    This theme, like WordPress, is licensed under the GPL.
    Use it to make something cool, have fun, and share what you've learned with others.
    */

    The theme is tested on a fresh WP 4.4 on janbag.pl

    I changed the theme to twentyfifteen and everything works fine. After changing it again to my theme – blank site.

    EDIT:
    By creating the files and uploading them via FTP to the wp themes folder did I everything right? Or is there some place I should additionally note that a new theme is being added?

    og my god, sry guys, just replaced the file with a fresh widgets.php and everything is fine :/
    I promise I’ll check now everything twice! 🙂

    Similar problem:

    Parse error: syntax error, unexpected ‘<‘ in …/wp-content/themes/virtue/lib/widgets.php on line 772

    Everything was fine till I was on widgets.php on the admin menu :/
    Any ideas?

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