Weather template and template-switching bug
Weather template and template-switching bug
Hi Carl,
I tried your new weather-template but it seems not to work for me. The output was: nothing but an empty browser window. The html-code for my blog (by clicking strg+u in firefox) was also nothing. I tried both index.tpls but the result was the same.
I also had a problem to change the template back to my standard template (smallbiz). Changing templates in the backoffice doesn't work. I actually can only change templates by using the sidebar-plugin template-switcher.
I'm using the new s9y.1.1 and PHP 4.4.4.
I tried your new weather-template but it seems not to work for me. The output was: nothing but an empty browser window. The html-code for my blog (by clicking strg+u in firefox) was also nothing. I tried both index.tpls but the result was the same.
I also had a problem to change the template back to my standard template (smallbiz). Changing templates in the backoffice doesn't work. I actually can only change templates by using the sidebar-plugin template-switcher.
I'm using the new s9y.1.1 and PHP 4.4.4.
Visit Hokeys Blog!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Weather template and template-switching bug
Hi!
This might be related to a problem with the themes config.inc.php file and/or PHP errors. Any chance you can investigate your PHP error log and/or turn "display_errors" on?
Regards,
Garvin
This might be related to a problem with the themes config.inc.php file and/or PHP errors. Any chance you can investigate your PHP error log and/or turn "display_errors" on?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
Well that's an interesting experience. Matthew and I tested this as best we could, and the only time we encountered a problem like that was when we were running this template on v1.0, however the error checking specifies at least v1.1 beta5, so maybe this is where we need to be looking. Matt is actually stuck on a mountain under a pile of snow so isn't able to help out much until probably 1st or 2nd Jan, so if Garvin is able to help you that would be awesome.
Hohum. I remember mentioning exactly the same problem in an email (as far as I remember CCed to you and Matt) with 1.1betasomething in my local test blog ... Edit: BTW, my local test blog now runs on 1.1, but the weather template still won't display anything. However, I have used the 'old' preview version, so this probably isn't a reliable source.carl_galloway wrote:Well that's an interesting experience. Matthew and I tested this as best we could, and the only time we encountered a problem like that was when we were running this template on v1.0
See, that's what happens if you put weather forecasts into templates ...carl_galloway wrote:Matt is actually stuck on a mountain under a pile of snow
YL
Last edited by yellowled on Fri Dec 29, 2006 8:32 pm, edited 1 time in total.
Hi Garvin,
the infosheet of my provider tells me that "display-errors" is "on" on Master Value and Local Value. But I have no idea, what to do with this information.
Another thing: When I change via template-switcher my adress-bar in Firefox shows the URL with a questionaire at the end:
http://blog.blokey.de/index.php?/
Hi Carl! I'm very curious about this template. It was a very nice idea to combine weather and the blog-skin!
the infosheet of my provider tells me that "display-errors" is "on" on Master Value and Local Value. But I have no idea, what to do with this information.
Another thing: When I change via template-switcher my adress-bar in Firefox shows the URL with a questionaire at the end:
http://blog.blokey.de/index.php?/
Hi Carl! I'm very curious about this template. It was a very nice idea to combine weather and the blog-skin!
Visit Hokeys Blog!
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
-
mgroeninger
- Regular
- Posts: 546
- Joined: Mon Dec 20, 2004 11:57 pm
- Contact:
@yellowled, yeah, that sounds like the same problem you were having. Sorry I wasn't able to take a good look at it then. I had added a bunch of version checks in response to your problems, but I think there is something else going on.
@yellowled, @Hokey: Without errors it is a little difficult to know what is going on. Can either of you dig around in the config.inc.php for me?
The way I would troubleshoot this if I was able to recrete it is probably to just remove blocks of code to try to get it working. Normally I would start with big blocks (maybe remove all the stuff inside the "if" statement that does the version check), and then move on to smaller blocks.
You could also try to remove the lines which include files, to see if the problem is with them.
Unfortunately, Carl wasn't kidding about me being stuck on a mountain, but it isn't serious. We are just stuck in a hotel (and it looks like it might be a few days). Internet access is intermitten, TV access is out. It is cold and snowy outside. The stores are out of food. I don't have my cameras USB cable, so I can't upload pictures. There is no end to the problems we are facing.

@Carl I still have my hand, but I have chewed up most of my gloves.

@yellowled, @Hokey: Without errors it is a little difficult to know what is going on. Can either of you dig around in the config.inc.php for me?
The way I would troubleshoot this if I was able to recrete it is probably to just remove blocks of code to try to get it working. Normally I would start with big blocks (maybe remove all the stuff inside the "if" statement that does the version check), and then move on to smaller blocks.
You could also try to remove the lines which include files, to see if the problem is with them.
Unfortunately, Carl wasn't kidding about me being stuck on a mountain, but it isn't serious. We are just stuck in a hotel (and it looks like it might be a few days). Internet access is intermitten, TV access is out. It is cold and snowy outside. The stores are out of food. I don't have my cameras USB cable, so I can't upload pictures. There is no end to the problems we are facing.
@Carl I still have my hand, but I have chewed up most of my gloves.
Matthew (Feeling generous?)
I'll try and help out, but unfortunately stuff like this always seems to come up when I'm short in time ... I just now downloaded a fresh zipfile from Carl's website to have the latest snapshot. Unfortunately, I'm swamped this weekend, so I may not be able to help until New Year's Day, sorry.mgroeninger wrote:@yellowled, @Hokey: Without errors it is a little difficult to know what is going on. Can either of you dig around in the config.inc.php for me?
What I can say from a quick glance at it: the apache error log shows nothing. Just like Hokey, I get an empty index page for the blog, and no source code. Plus, I can't get to the plugin configuration in the admin panel, so maybe that's a possible source of error ..? I'll fire up my editor and see what I can do with the config.inc.php ...
Can't be that bad if you still have your sense of humormgroeninger wrote:I don't have my cameras USB cable, so I can't upload pictures. There is no end to the problems we are facing.
YL
Yay! We have contact. If I remove this line:
from the config.inc.php, everything seems to work fine, at least I get to actually see something (it doesn't display any weather info since I haven't configured that).
This is a test blog running on my local machine. It's s9y v1.1 on apache 2.0.54, php 5.2.0, mysql 4.0.24, in case that's of any importance.
YL
Code: Select all
$new_include = $old_include . dirname(__FILE__)."/lib".PATH_SEPARATOR ;
This is a test blog running on my local machine. It's s9y v1.1 on apache 2.0.54, php 5.2.0, mysql 4.0.24, in case that's of any importance.
YL
Hi all together!
Very nice theme! I can watch it now for the first time by deleting all lines of the config.inc.php from line 146 to the end (before the "?>").
I tried to delete the if-blocks step by step but the result was always a blank window. When I delete from line 149 on, so that the lines with the includes (weather_test.inc.php, sunset.inc.php) aren't deleted, the result is also a blank blank window.
Maybe this error-log-message may help you? To me it doesn't look very special. This is the output of the last two hours:
Very nice theme! I can watch it now for the first time by deleting all lines of the config.inc.php from line 146 to the end (before the "?>").
I tried to delete the if-blocks step by step but the result was always a blank window. When I delete from line 149 on, so that the lines with the includes (weather_test.inc.php, sunset.inc.php) aren't deleted, the result is also a blank blank window.
Maybe this error-log-message may help you? To me it doesn't look very special. This is the output of the last two hours:
Code: Select all
[Fri Dec 29 20:26:25 2006] [error] [client 84.143.61.49] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 20:26:25 2006] [error] [client 84.143.61.49] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/quotes.gif
[Fri Dec 29 20:26:26 2006] [error] [client 84.143.61.49] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/arrow.gif
[Fri Dec 29 20:56:41 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 20:57:36 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 20:58:17 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 20:58:18 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/quotes.gif
[Fri Dec 29 20:58:43 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/arrow.gif
[Fri Dec 29 20:58:43 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/arrow.gif
[Fri Dec 29 20:58:51 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 20:59:29 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 20:59:30 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/arrow.gif
[Fri Dec 29 20:59:41 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 21:00:19 2006] [error] [client 84.63.43.9] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 21:22:09 2006] [error] [client 72.14.199.17] File does not exist: /home/www/doc/13460/serendipity/xmlsrv/atom.php
[Fri Dec 29 21:25:09 2006] [error] [client 89.57.126.4] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 21:27:52 2006] [error] [client 195.93.60.130] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gif
[Fri Dec 29 21:38:57 2006] [error] [client 82.139.205.66] File does not exist: /home/www/doc/13460/serendipity/templates/smallbiz01_3col/smallbiz01_3col/{TEMPLATE_PATH}img/bar.gifVisit Hokeys Blog!
YellowLed's tip doesn't work for me. 
Edit:
After deleting these line, nothing seems to work. I can just reach my blank frontpage.
Switching to another theme in the backoffice is not possible. I tried to set the template back to the default-template by deleting the weather-theme, but this also didn't help.
I have to go to bed now - I will try tomorrow to find a solution.
Cheers,
Hokey
Edit:
After deleting these line, nothing seems to work. I can just reach my blank frontpage.
I have to go to bed now - I will try tomorrow to find a solution.
Cheers,
Hokey
Last edited by Hokey on Fri Dec 29, 2006 10:56 pm, edited 1 time in total.
Visit Hokeys Blog!
Smallbiz worked for this time very well. Can't explain these messages. When I look fpr the files by FTP they are all there. 
Visit Hokeys Blog!
Hm, seems to be a different situation than over here[tm] - I was always able to switch themes, so something else must be wrong in Hokey's blogHokey wrote:YellowLed's tip doesn't work for me.
Edit:
After deleting these line, nothing seems to work. I can just reach my blank frontpage.Switching to another theme in the backoffice is not possible. I tried to set the template back to the default-template by deleting the weather-theme, but this also didn't help.
Let's try to narrow it down: Can you go to the styles configuration? If so, does it list the styles, display their preview images and the switch buttons? Do you use the spartacus plugin? Does anything at all happen if you press that button to use another theme? Error messages?
YL
Hi! Maybe I should better use my last backup.
When I go to the plugins-page in the backoffice, then the right side is empty
!? The styles-link works optically as usual, but I can't install any style. Neither installing a new style nor using an already installed style helps.
After installing any style, the styles-options are these:

They appear even if I delete the weather-template via FTP.
Update 1:
The mediadatabase is also not reachable in the backoffice.
Update 2:
Maybe it's my provider's problem? I can't reach the webinterface-filemanger and the backup-function. This would be very bad timing.
When I go to the plugins-page in the backoffice, then the right side is empty
!? The styles-link works optically as usual, but I can't install any style. Neither installing a new style nor using an already installed style helps.
After installing any style, the styles-options are these:

They appear even if I delete the weather-template via FTP.
Update 1:
The mediadatabase is also not reachable in the backoffice.
Update 2:
Maybe it's my provider's problem? I can't reach the webinterface-filemanger and the backup-function. This would be very bad timing.
Last edited by Hokey on Sat Dec 30, 2006 11:42 am, edited 2 times in total.
Visit Hokeys Blog!