0

I'm using the Pagelines Theme for a site, and I put custom CSS in the custom CSS field. Long story short, I broke the entire site, and the CSS is stored in the database.

When loading the page there is absolutely nothing. A blank head tag and a blank body tag.

Firstly, how is this possible, and secondly, does anyone know how to exclude the dynamic.css stylesheet stored in a database with just the database login info, but without cpanel access?

Danny Beckett
  • 20,529
  • 24
  • 107
  • 134
Elijah Murray
  • 2,132
  • 5
  • 30
  • 43
  • Can you connect to the FTP and see if the files are still there ? Do you have made any backup before installing the theme ? – Xavier Jan 14 '13 at 21:41
  • Yeah, I FTPed and everything is identical. I'm pretty sure it's related to the Custom CSS which is stored in the database because I was editing the file, saved it to check how it looked, and the site was down since then. – Elijah Murray Jan 14 '13 at 21:45
  • Doesn't look like it is the css. There is no html structure/output for your site, you see. – Omega Jan 14 '13 at 22:26
  • Many hosts will configure your default server behavior to suppress error messages (for security purposes). I suspect you're throwing some sort of error before the page has a chance to render. While it may appear that you have a blank head and body tag, you actually don't. (The developer tools are showing those, but the actual page source is empty). If you have access to your error logs I would inspect those for the actual issue. – Jared Cobb Jan 14 '13 at 22:31
  • @Omega, you're right. I could have sworn it was the CSS but I guess not. I ruled it out. – Elijah Murray Jan 14 '13 at 22:48
  • @JaredCobb, good call. I turned on Wordpress DEBUG mode, but it doesn't spit anything out in a browser or in the debug.log file. The host is Godaddy. Thoughts? – Elijah Murray Jan 14 '13 at 22:52
  • @ElijahMurray Getting `HTTP Error 500 (Internal Server Error)` now, best to speak to your hosting to see if theres any issues with them. Read this http://support.godaddy.com/groups/web-hosting/forum/topic/wordpress-whats-happening-need-help/ also. – Omega Jan 14 '13 at 23:08
  • @ElijahMurray Yes, I would contact GoDaddy support and ask them how you can view / access the "error logs" for your apache/php server. They should understand what you need. They most likely have an interface in your admin panel to check error logs. The reason the debug mode doesn't give you anything is because something at a lower level is failing, preventing it from even getting to the debug code. Sorry I can't direct you to the log location, but I've never used GoDaddy. – Jared Cobb Jan 15 '13 at 01:28
  • Thanks for all the help guys! I just backed up the DB and core files and rebuilt the site. – Elijah Murray Jan 15 '13 at 02:04

1 Answers1

0

Check your functions.php to ensure there are no spaces before or after the opening and closing php tags.

WordPress Mike
  • 448
  • 2
  • 6
  • 21