Welcome to Geeklog, Anonymous Tuesday, December 09 2025 @ 02:49 pm EST
Geeklog Forums
Geeklog upgrade from 1.7.2 to 1.8.0b1 issue
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1582
This is this part of the code which creates the issue
admin/plugins.php Line 487
$retval .= ADMIN_list('plugins', 'ADMIN_getListField_plugins', $header_arr,
$text_arr, $query_arr, $defsort_arr, '', $token, '', $form_arr, false);
Ben
Text Formatted Code
admin/plugins.php Line 487
$retval .= ADMIN_list('plugins', 'ADMIN_getListField_plugins', $header_arr,
$text_arr, $query_arr, $defsort_arr, '', $token, '', $form_arr, false);
Ben
19
16
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1582
Ok I get it. :chestslam:
When the admin/plugins.php page try to check depencies, the PLG_getParams function can include config.php file from old plugins. But if config file from the old plugin begin with:
die ('This file can not be used on its own.');
}
change to:
die('This file can not be used on its own!');
}
solve the issue.
Ben
When the admin/plugins.php page try to check depencies, the PLG_getParams function can include config.php file from old plugins. But if config file from the old plugin begin with:
Text Formatted Code
if (!defined ('GVERSION')) {die ('This file can not be used on its own.');
}
change to:
Text Formatted Code
if (strpos(strtolower($_SERVER['PHP_SELF']), 'config.php') !== false) {die('This file can not be used on its own!');
}
solve the issue.
Ben
15
18
Quote
All times are EST. The time is now 02:49 pm.
- 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