• Resolved meetlouiz

    (@meetlouiz)


    I’ll start by stating that I’ve read TONS of entries similar, but not exact, to my problem.

    I have WordPress 2.9.2 installed on my server (www.antisteez.com). I have a “developer” directory (www.antisteez.com/dev) with WordPress 2.9.2 also installed in it, just because I work on future themes in it and then just drag the theme to the main directory.

    Just today, after a few months of working on a few themes, I upload a theme from the developer section to my main directory, just to preview it with my database, and it shows up blank. It works great on the developer site, though.

    I’ve dealt with themes that show up blank on the preview for some reason, but are fine when you activate, so I activated. Of course it’s also blank when I activate it. My admin section is also blank. No errors, just a white page.

    I FTPed the theme out and returned to my old theme. I did some research and made sure the directories were chmoded 777 and the files were 644. The preview screenshot works. I looked through function.php. I renamed the theme folder to make sure there are no “-” or “_”. And I’m pretty much stumped.

    Any suggestions would help me out. Thanks in advance.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter meetlouiz

    (@meetlouiz)

    Can anyone give me some sort of information? This is really important and I’m literally stuck.

    Moderator James Huff

    (@macmanx)

    Is the theme perhaps using any relative URLs to reference elements that don’t exist when calculated from your main directory?

    Thread Starter meetlouiz

    (@meetlouiz)

    It was the first thing I checked.

    That maybe I forgot to re-link something, where it’s still looking in the developer directory. But nope. :/

    Moderator James Huff

    (@macmanx)

    Does the Default theme work?

    Thread Starter meetlouiz

    (@meetlouiz)

    Yes sir. Even uploading a theme from the WP database works fine.

    I’m going to say it has something to do with the theme I created but it works fine on the other directory?

    Moderator James Huff

    (@macmanx)

    Maybe there’s a plugin that it needs that is either not there or inactive?

    Thread Starter meetlouiz

    (@meetlouiz)

    No plugin is “needed”. I’m basically coding all the plugins myself.

    I’m extremely stumped.

    Moderator James Huff

    (@macmanx)

    The only other thing that I can suggest (yes, I’m out of ideas too) is to increase PHP’s available memory:

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
    
    2. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M
    
    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '64M');
    
    4. Talk to your host.
    Thread Starter meetlouiz

    (@meetlouiz)

    I’ll give that a try and keep you updated, mac. Thanks a ton.

    Thread Starter meetlouiz

    (@meetlouiz)

    Where would I add that “WP_MEMORY_LIMIT’, ’64M” and how do I code it?

    I have wp-config open.

    wp-config.php

    And literally add define('WP_MEMORY_LIMIT', '64M'); to the end of the file – before any closing ?> php tag.

    Thread Starter meetlouiz

    (@meetlouiz)

    Okay, adding that to wp-config did nothing. I tried adding the other string to my .htaccess (which I already had one so I added it right before where it said #END WordPress) and it gave me a 500 Internal Error. So I obviously took it off.

    ??

    I’m basically coding all the plugins myself.

    Can you back-engineer and start commenting out any of the fancier elements in the theme? Given that you have a completely blank page, I’d start with anything that’s loaded in header.php or as part of wp_head(). Stripping down functions.php mightn’t be a bad idea either.

    One things that hasn’t been mentioned thus far – any access to error logs?

    Thread Starter meetlouiz

    (@meetlouiz)

    I do not have access to error logs.

    There are no plugins, or hard coded plugins in header. The only plugins I hard coded were small ones. Related posts, get images, post limiters.

    Let me attempt to fool around with function.php.

    Thread Starter meetlouiz

    (@meetlouiz)

    Ok. So trying the deactivating of plugins and reactivating, worked. (hence the fact that it’s 2:30am in the morning and now is when I’m trying).

    Just FYI, I am boycotting any Gravatar plugin and you guys should, too. LOL

    Thanks a lot for your help.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Blank Theme’ is closed to new replies.