Welcome to Geeklog, Anonymous Saturday, December 28 2024 @ 04:31 am EST
Geeklog Forums
Need Help installing Weather block...php_weatherblock does not exist error
JoeZ
Anonymous
Well I placed all the files in the proper locations and ran the install as well as the DB query. In the block on the website I get this instead of it working:
Weather
Error in PHP Block. Function, phpblock_getweather, does not exist.
Any help would be appreciated...also noticed in the error log that it stops with this entry, not showing "Success":
Mon Feb 20 17:46:20 2006 - ...success
Mon Feb 20 17:46:20 2006 - About to save group_id to vars table for use during uninstall
Mon Feb 20 17:46:20 2006 - ...success
Mon Feb 20 17:46:20 2006 - Adding weather.admin feature
Mon Feb 20 17:46:20 2006 - Success
Mon Feb 20 17:46:20 2006 - Adding weather.admin feature to admin group
That is the end of the log...
Thanks for the help!
Joe Z
Weather
Error in PHP Block. Function, phpblock_getweather, does not exist.
Any help would be appreciated...also noticed in the error log that it stops with this entry, not showing "Success":
Mon Feb 20 17:46:20 2006 - ...success
Mon Feb 20 17:46:20 2006 - About to save group_id to vars table for use during uninstall
Mon Feb 20 17:46:20 2006 - ...success
Mon Feb 20 17:46:20 2006 - Adding weather.admin feature
Mon Feb 20 17:46:20 2006 - Success
Mon Feb 20 17:46:20 2006 - Adding weather.admin feature to admin group
That is the end of the log...
Thanks for the help!
Joe Z
11
9
Quote
JoeZ
Anonymous
Well I see what it didn't do so I've tried to go back manually to fix some of it...but there is just one part that I have no idea how to add.
// COM_errorLog("Adding $feature feature to admin group",1);
// DB_query("INSERT INTO {$_TABLES['access']} (acc_ft_id, acc_grp_id) VALUES ($feat_id, $group_id)");
// if (DB_error()) {
// COM_errorLog("Failure adding $feature feature to admin group",1);
// plugin_uninstall_weather();
// return false;
// exit;
// }
// COM_errorLog("Success",1);
It's commented off so that it would skip that and finish the install, but how do I manually enter this part in? I don't know how to gather the feat_id or group_id.
// COM_errorLog("Adding $feature feature to admin group",1);
// DB_query("INSERT INTO {$_TABLES['access']} (acc_ft_id, acc_grp_id) VALUES ($feat_id, $group_id)");
// if (DB_error()) {
// COM_errorLog("Failure adding $feature feature to admin group",1);
// plugin_uninstall_weather();
// return false;
// exit;
// }
// COM_errorLog("Success",1);
It's commented off so that it would skip that and finish the install, but how do I manually enter this part in? I don't know how to gather the feat_id or group_id.
12
10
Quote
JoeZ
Anonymous
By skipping this I found out that everything but the admin panel works properly.....
How do I manually enter in what is missing from there? Please help
How do I manually enter in what is missing from there? Please help
11
7
Quote
ElvisG
Anonymous
Did you query the stations.sql and forecast.sql?
8
10
Quote
JoeZ
Anonymous
That wasn't the problem...fixed it but had to figure out most of the install code. It wouldn't register the admin database variables for $feat_id and $group_id, so I disabled them and installed anyway successfully, then figured out how to manually enter them in.
10
11
Quote
All times are EST. The time is now 04:31 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