SpaParts Posted June 3, 2010 Posted June 3, 2010 My site is producing the following error: :'( Fatal error: Cannot redeclare preorder() (previously declared in /var/www/vhosts/mydomain.com/httpdocs/shop/templates/SPAPARTS-3/mainpage_modules/main_categories.php:55) in /var/www/vhosts/mydomain.com/httpdocs/shop/templates/SPAPARTS-3/mainpage_modules/main_categories.php on line 92 Line 54-57 within main_categories.ph // Preorder tree traversal function preorder($cid, $level, $foo, $cpath) { global $categories_string, $HTTP_GET_VARS; Line 84-92 within main_categories.php // Traverse category tree if (is_array($foo)) { foreach ($foo as $key => $value) { if ($foo[$key]['parent'] == $cid) { preorder($key, $level+1, $foo, ($level != 0 ? $cpath . $cid . '_' : '')); } } } }
SpaParts Posted June 4, 2010 Author Posted June 4, 2010 $40 Bucks for a solution! (We're pressed for time on this issue) If anybody can help me troubleshoot and fix this, I will pay for it. The only condition is that it needs to be done via one of the following methods: 1.) The forum 2.) Webinar 3.)Remote PC. 4.) the phone - Or any combination. The idea is that I want to learn both how to troubleshoot and what happened. I could be an an easy fix. Please PM me. Thanks, C.
FIMBLE Posted June 8, 2010 Posted June 8, 2010 you need to get rid of one of these calls thats all Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.