On this page
http://127.0.0.1/catalog/admin/articles.php
Located:
Admin>Articles Manager>Topics/Articles
I get this error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 35 bytes) in F:\xampp\htdocs\catalog\admin\includes\functions\articles.php on line 52
the entire space for that page reads only the following text
Articles Manager V 1.57_6
(visit the support thread)
by Jack_mcs from oscommerce-solution.com
Check for Updates
Search: [search box also displays]
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 35 bytes) in F:\xampp\htdocs\catalog\admin\includes\functions\articles.php on line 52
This is the function that the error occurs in
function tep_get_topic_tree($parent_id = '0', $spacing = '', $exclude = '', $topic_tree_array = '', $include_itself = false) {
global $languages_id;
if (!is_array($topic_tree_array)) $topic_tree_array = array();
if ( (sizeof($topic_tree_array) < 1) && ($exclude != '0') ) $topic_tree_array[] = array('id' => '0', 'text' => TEXT_TOP);
if ($include_itself) {
$topic_query = tep_db_query("select cd.topics_name from " . TABLE_TOPICS_DESCRIPTION . " cd where cd.language_id = '" . (int)$languages_id . "' and cd.topics_id = '" . (int)$parent_id . "'");
$topic = tep_db_fetch_array($topic_query);
$topic_tree_array[] = array('id' => $parent_id, 'text' => $topic['topics_name']);
}
$topics_query = tep_db_query("select c.topics_id, cd.topics_name, c.parent_id from " . TABLE_TOPICS . " c, " . TABLE_TOPICS_DESCRIPTION . " cd where c.topics_id = cd.topics_id and cd.language_id = '" . (int)$languages_id . "' and c.parent_id = '" . (int)$parent_id . "' order by c.sort_order, cd.topics_name");
while ($topics = tep_db_fetch_array($topics_query)) {
if ($exclude != $topics['topics_id']) $topic_tree_array[] = array('id' => $topics['topics_id'], 'text' => $spacing . $topics['topics_name']);
$topic_tree_array = tep_get_topic_tree($topics['topics_id'], $spacing . ' ', $exclude, $topic_tree_array);
}
return $topic_tree_array;
}
This specific line of code is where it says the error occurs
if ($exclude != $topics['topics_id']) $topic_tree_array[] = array('id' => $topics['topics_id'], 'text' => $spacing . $topics['topics_name']);
The other function pages in the admin area display fine
This error is occurring in a completely clean/default version of osCommerce 2.3.1 with Header Tags SEO 3.2.5 and Article Manager 1.57_6
Is there any more information I can provide you with to assist?