• I’ve never run into this problem before when using my coding structure; but for some reason this theme just doesn’t seem to want to work. When I first installed the theme after creation it worked fine; I went to create an additional page template, uploaded the new files; and it returned a ‘500 internal server error’
    I reverted my files back to what they were when it was functioning and the error persisted. Now I can’t seem to get it work at all, no matter what I do; yet the TwentyTen and TwentyEleven themes work fine to my dismay.

    At this point I’ve been staring at the same code for about 12 hours and have yet to be able to fix the problem, maybe someone can enlighten me.

    the site is located here: LINK

    here’s my header.php
    here’s my footer.php
    here’s my functions.php
    here’s my sidebar.php
    here’s my index.php
    here’s my single.php
    here’s my page.php

    hopefully that’s all you’ll need for reference, if not please ask below and I’ll provide it to you.

    hopefully a fresh pair of eyes is all it will take to see what i’m missing…. i sure as hell can’t find it.

Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter andrew-s3

    (@andrew-s3)

    still doesn’t like it when i re-upload my page.php file… i know it’s not necessary for WP to function, but in order for me to have a second page template i need it :-/ or I have to write some ridiculously long conditional IF, Else statement for those containers which i want to hide on internal pages… lol

    Thread Starter andrew-s3

    (@andrew-s3)

    still can’t understand why when i upload my page.php file that only the “front page” is able to be displayed and no “pages” can be displayed; I get a 500 internal server error….

    Update pastebin with your latest page.php, header.php, footer.php and sidebar.php

    The pages in the link above are working, but it looks like the div nesting is wrong, re-size the browser and the background gets out of line.

    Look at the last two validation errors, there seems to be two closing tags missing!

    Regards

    David

    Thread Starter andrew-s3

    (@andrew-s3)

    page.php
    header.php
    footer.php
    sidebar.php <– even though it’s never called.

    There are extra closing table element tags and closing div tags outside the ‘page-5’ conditional code, made harder as the two conditions are in the header and footer and not in a page-5.php file.

    I tried to look at it paste all three files into one file, but the nested tables are out of line, and there was a closing div with no opening div.

    Strip out the code blocks build the nested divs and tables in a single file first then add back the code bit at a time!

    create one file for page 5 and one default page then split the code out into the three files.

    HTH

    David

    Thread Starter andrew-s3

    (@andrew-s3)

    Sounds like more work than necessary; it’s working in it’s current state w/o a page.php file. I don’t know how I frankensteined it let alone why it’s not working w/ the page.php file… but I don’t have the time to fart around w/ it anymore… sadly.

    Hi andrew,
    For rotators, image ribbons, menus etc: I use template parts, makes them portatble easy to bug fix and makes the code easy to read.

    It would be ideal for your theme, as it breaks the code blocks down into several files.

    This simple example is a footer latest post image ribbon, I put the code into a template part and call it in footer.php with a single line of code, I can them drop it into any theme.

    Regards

    David

    Thread Starter andrew-s3

    (@andrew-s3)

    I will definitely start using them!

    on a side note; for some reason WP will not display a single post on a page… ie. click ideas & insights (blog) and click one of the headers. I tried it w/ and w/o my single.php file uploaded. I have a feeling this problem is the same problem as the page.php file… my McGuyver tactics are starting to fail on me ;-/

    Thread Starter andrew-s3

    (@andrew-s3)

    and by the grace of god, everything is now functioning perfectly with all files in place… wtf?!

    header.php
    footer.php
    functions.php
    index.php
    page.php
    sidebar.php
    single.php

    again, David… thank you thank you thank you for all your help and patience; you’ve just gained a new subscriber to your blog ??

    Still funky when you re-size it in the browser, look at about us and resize.

    HTH

    David

    Thread Starter andrew-s3

    (@andrew-s3)

    what browser are you using; i’m using all current releases of:
    Chrome
    IE
    FireFox

    and they all look fine, i’ve got 3 monitors that i’m stretching my browser window across and it looks fine

    also, i’m going to add, i’m on a PC not a MAC

    Streching is find but shrink it and look!

    PC not Mac, Browser IE, FireFox & Chrome, screen size 22″ all fine, resize browser!
    https://digitalraindrops.net/images/resize.png

    HTH

    David

    Thread Starter andrew-s3

    (@andrew-s3)

    i can’t get it to do that in my IE…

    Thread Starter andrew-s3

    (@andrew-s3)

    it shows up that way in Chrome/Firefox; but not sure how to fix it; can’t get it replicated in IE… my co-worker believes it’s because something has a fixed-width that is causing the BG problem… though i’m not sure.

    Thread Starter andrew-s3

    (@andrew-s3)

    it shows up that way in Chrome/Firefox; but not sure how to fix it; can’t get it replicated in IE… my co-worker believes it’s because something has a fixed-width that is causing the BG problem… though i’m not sure.

    …and he was right; my #header-container was set at 1341px; lol! gotta love code!

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Problems with a Custom-Made WordPress Theme’ is closed to new replies.