Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 06:14 am EDT

Geeklog Forums

Weather block error


Status: offline

tesn

Forum User
Chatty
Registered: 10/23/02
Posts: 41
Location:Magnolia, Texas
I installed the weather block tonight and I have a few errors that I can't find on any of the geeked sites.
when you click on more information you get the following 2 errors

Parse error: parse error, unexpected T_FUNCTION in /home/jcavara/public_html/weather/details.inc on line 23

Fatal error: Call to undefined function: get_metardata() in /home/jcavara/public_html/weather/weather_details.php on line 262

my 1st site here

my 2nd site here

Thanks


John
 Quote

Anonymous

Anonymous
I ran into those same error messages, but I can't remember the cause. It's been awhile since I installed that block. Try reverifying all your paths are set correctly and make sure the data and fields were loaded right in the tables. Boy, I wish I had written down what I did wrong. The problem turned out to be my setup not the code.
 Quote

Status: offline

tesn

Forum User
Chatty
Registered: 10/23/02
Posts: 41
Location:Magnolia, Texas
Ummm.. thanks, I guess Smile I'm sure it is something I forgot to do or left out a slash or something. <p> I should have not done this in the weeee hours of the morning. <p> John---John
John
 Quote

Anonymous

Anonymous
Sorry, I can't be of more help but I remembered getting those same error messages. What I ended up doing was starting over from scratch and following the instructions again. Like you, I did it when I was tired the first time. I think the T_FUNCTION error has something to do with either not being able to find the database or it doesn't have the right data/fields in it. The second one is not recognizing the function get_metardata which is located in the details.inc file. That's why I suggested to check your paths and make sure the database got populated properly.
 Quote

Status: offline

tesn

Forum User
Chatty
Registered: 10/23/02
Posts: 41
Location:Magnolia, Texas
I found another problem today when I was trying to upload some pictures on my gallery. I have had gallery running for a couple months now and after I installed gl and the weather plug-in, I can no longer login to my gallery from the same box that I have logged in to my gl site. I can log in from another box that I have never logged in to my site from. I have not, as of yet intergrated the to. I'm not sure if this is a local(box) problem or a cookies problem....any thoughts or I know what it is.... Thanks, John ---John
John
 Quote

Status: offline

tesn

Forum User
Chatty
Registered: 10/23/02
Posts: 41
Location:Magnolia, Texas
Ok after logging out and waiting aan hour, I can now log in to my gallery from the same box. I guess I will need to install the gallery plug in. john ---John
John
 Quote

Anonymous

Anonymous
Perhaps you're experiencing the same problems as here? Fix is in the last comment.
 Quote

All times are EDT. The time is now 06:14 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content