Author Topic: Weather Blues 2 Error 500  (Read 2885 times)

Offline helmet

  • New member
  • *
  • Posts: 3
    • Hazel Weather
Weather Blues 2 Error 500
« on: October 15, 2012, 03:23:52 PM »
Fairly new to php so I'm falling at the first.

Uploaded files to remote server running php 5.2.6-1, wt_data_inc.php being processed & uploaded by Cumulus OK but when trying to access the new pages, via helmet.co.uk/test.htm for the moment, I'm getting a server error...

Error message:
Premature end of script headers: index.php

Any help would be much appreciated although it's probably me missing something

Thanks
Al
Al

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues 2 Error 500
« Reply #1 on: October 15, 2012, 05:54:27 PM »
Hi Al,

It seems that it is an access right problem (Forbidden access).
to solve it, go to your file with your ftp program and change
permission to 666. If template is in its own folder, put 666
to entire folder and subfolder.

... but what is that test.htm about?

Regards,
Jacques
Please, consider supporting this site 

Offline helmet

  • New member
  • *
  • Posts: 3
    • Hazel Weather
Re: Weather Blues 2 Error 500
« Reply #2 on: October 16, 2012, 11:39:05 AM »
Ah yes, figured out the permissions thing and got a bit further and so deleted my post here; it has reappeared. Not to worry...

Found out about some script errors on a couple of pages which stopped me from updating to newer, fixed ones on the Template Manager so had to learn about that but now I'm stuck with a 'session start' error on index.php (says headers already sent, IIRC). If I update index.php through Template Manager, there's no error but when I go in to change your location to mine (beside clock), I get the error again, even if I change just one letter e.g. Canada to Canadx. Any help appreciated.

Other than that, I'm getting there, albeit slowly.

test.htm is just a frame holder to the templates with php running on another server.

Thanks
Al
Al

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues 2 Error 500
« Reply #3 on: October 16, 2012, 01:49:14 PM »
Hi Al,

First, please don't delete past post as it will be difficult for others to follow thread
and if you had this problem someone else will have it surely!  ;D

For your new problem with message "...Cannot send session cookie...", your test.htm
file could be the problem. The session cookie is the system to keep language choice
from page to page, but if there is only one letter sent before, it display an error!

Your test.htm page send this message:
Hi. Your browser doesn't appear to support frames. Click <a
href="http://...........index.php">here</a> to continue.


Try to place template alone without other page.

Hope this help,
Jacques
« Last Edit: October 16, 2012, 02:20:26 PM by Mr.Meteo »
Please, consider supporting this site 

Offline helmet

  • New member
  • *
  • Posts: 3
    • Hazel Weather
Re: Weather Blues 2 Error 500
« Reply #4 on: October 16, 2012, 02:01:57 PM »
Hi Jacques,

Thanks for your replies, I deleted the first post because I didn't require help before anyone viewed it and there wouldn't have been a thread but I'll learn. :) I'll be good.

I've just updated wt_data_inc.php through Template Manager and I'm getting the "unexpected :" again so bear with me while I alter that.

Thanks again
Al
Al

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues 2 Error 500
« Reply #5 on: October 16, 2012, 02:23:10 PM »
Hi Al,


For your header, error mentionned line 1 and 8 of your index.php page.
All other pages are ok!!!

I think of it, your page is saved in UTF-8, but there is 2 kind of UTF-8
depending on your text editor (notepad++ ??); try to specify UTF-8 without BOM!


wt_data_inc.php and wt_data_intl.php are files to be processed.
Then, they will produce errors, until they will be processed!

Then process... and enjoy!!!

Regards,
Jacques
« Last Edit: October 16, 2012, 02:32:03 PM by Mr.Meteo »
Please, consider supporting this site 

Offline helmet

  • New member
  • *
  • Posts: 3
    • Hazel Weather
Re: Weather Blues 2 Error 500
« Reply #6 on: October 16, 2012, 03:36:47 PM »
You're a genius! That's fixed it.

Who would've thought that the basic Notepad in Windows just wasn't basic enough!

Now playing with Notepad++ (without BOM, whatever it is)

Thanks
Al
Al

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues 2 Error 500
« Reply #7 on: October 16, 2012, 05:54:20 PM »
Hi Al,

Yessssss, what a great day... an other template working!!!  ;D :D

I hope a link soon... and some great photos in your Template, as I travel by them,
I've visited so many place by these photos.. pleassseeeee moreeeeee!  ;D :D ;D

Happy that things turning good for you too!!

Warn regards,
Jacques
Ps. BOM is a kind of "translation dictionnary" sent before page (that was why this message!)
Please, consider supporting this site