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!
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.
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
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.
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.
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.
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).
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
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.
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.
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.
Comments
Comment #1
tonyn commentedUh 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!
Comment #2
tonyn commentedIt looks like this error may have been caused by a module (http://drupal.org/node/214631). If anything recurs please report back.
Comment #3
softtouch commentedThe 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.
Comment #4
softtouch commentedI 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
Comment #5
tonyn commentedThanks 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...
Comment #6
softtouch commentedI 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.
Comment #7
tonyn commentedHey 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.
Comment #8
softtouch commentedI 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
Comment #9
tonyn commentedJust 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.
Comment #10
softtouch commentedDo 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.
Comment #11
tonyn commentedGo 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.