I installed this theme and get immediately after activating it just blank pages. Unable to access the site.

Comments

tonyn’s picture

Uh oh, WSOD

Does this happen with just friendsforever? Ram limit issue? How many themes do you have installed? Any dev related modules? Can you retrieve any relevant error logs? Any other info would be helpful!

tonyn’s picture

Status: Active » Closed (fixed)

It looks like this error may have been caused by a module (http://drupal.org/node/214631). If anything recurs please report back.

softtouch’s picture

The quicktags issue was just a while ago. As I tried the theme, I did not have quicktags installed.
And yes, it only happen with this single theme.
VERY strange is, there is nothing about it in the apache error log...
I will try again in a while.

softtouch’s picture

I tried again, and got this time a log entry:

Thats the Apache error:

PHP Parse error: syntax error, unexpected $end in C:\\apache\\htdocs\\blogger\\sites\\all\\themes\\friendsforever\\page.tpl.php on line 82, referer: http://www.bloggercebu.com/admin/build/themes

tonyn’s picture

Status: Closed (fixed) » Active

Thanks for replying,

I'm opening this back up again.

That error may help! I think this error happens when short_open_tag is set to off. The easiest solution is to correct the tags from <? to <?php (the way they should be to begin with). Nothing strange, just my clumsiness getting the best of me.

CVS dev builds every... 12 hours? If you don't feel like waiting you can copy paste the new page.tpl.php from ">here.

Tell me if that changes anything...

softtouch’s picture

I downloaded the page.tpl.php and it installs fine. But it breaks almost all of my modules, and there is no more space between content, they are all sticked together and its hard to read. Also the titles of some modules vanished. I will test it further.

tonyn’s picture

Hey Softtouch! Thank you for reporting back and pointing this stuff out.

Could you elaborate on what you mean by "breaking" your modules. Does this theme cause your modules to give errors? Is there visual errors? Which modules? What makes you think the theme is at fault? Can you be specific?

Where did the titles of the modules vanish?

When you say space between content, do you mean between .nodes? Like between stories on the front page? In terms of that space issue, I did some tweaking and committed this style.css. It'll be in the dev build in a few hours. Does this fix the spacing? If not, more info/screenshots/browser info would be helpful.

softtouch’s picture

I have a block on the left side, which displays categories. the title of that block vanished.
I have other blocks, like blogger, which appear immediately after the main menu entries without any space between.
I have fivestars installed, and the first node on the front page is always screwed up, and also the avatar of the poster is not at top/right, its at the bottom. This happen ONLY with the first displayed node on the front page (and every first node on the next pages).

Small image of the left blocks: http://i144.photobucket.com/albums/r178/softtouch_ph1/screen1.jpg

Image of the first node on front page: http://i144.photobucket.com/albums/r178/softtouch_ph1/screen2.jpg

Additionally, I get warnings in the log:
Page not found: sites/all/themes/friendsforever/images/bg-nav.png
Page not found: sites/all/themes/friendsforever/images/gradient-inner.png

tonyn’s picture

Just committed some stuff.

When I originally made this template, it was one of my first... I included a lot of files (block.tpl.php, box.tpl.php, comment.tpl.php, node.tpl.php) from the garland theme, which seem to be screwing up a lot of things. So I'm cleaning those out, also I did a css fix, this should help a lot. I'll continue to work with this. I'm not giving up.

softtouch’s picture

Do not give up with this!
Its a damn nice theme and I want it... hahaha... unfortunately, I am not a php programmer (just delphi), so i cant be of much help.
If you need more info, let me know.

tonyn’s picture

Go to: /modules/fivestar/jquery.rating.js

On (1.10) line 189/ (1.11) line 239, find and replace:
var $container = $('<div class="fivestar-widget clear-block"></div>');
with
var $container = $('<div class="fivestar-widget"></div>');

Go to: /modules/fivestar/fivestar.module
find $output .= '<div class="fivestar-form-'. $form['content_id']['#value'] .' clear-block">';
replace with $output .= '<div class="fivestar-form-'. $form['content_id']['#value'] .'">';

Does that fix up that clearing/space issue for you? I made this into a patch for fivestar, though I can't guarantee it'll be committed.