Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by roomboom

  1. roomboom

    Register Globals Support

    okay okay, so I missed an obvious one! :blush:
  2. roomboom

    Register Globals Support

    for some unknown reason, ocC decided to start asking me to register globals the very weekend our client spent ?1500 on advertising, and the site was due to go live, even after 3 months of testing... grrr.. Your contibution came to the rescue! So thank you! But.... I keep getting the message.. Warning: Cannot modify header information - headers already sent by (output started at /home/nas01l/g/gosexy.co.uk/user/htdocs/gosexy2/includes/application_top.php:1019) in /home/nas01l/g/gosexy.co.uk/user/htdocs/gosexy2/includes/functions/general.php on line 29 in [siteroot]/login.php I've seen that people have had this problem in the admin kit, but not in the front end. Any ideas? I'm pretty desperate to get this working asap, needless to say the client is not happy with my hacked together solution to bypass this message... THANKS!! Oh, and i'm having problems opening some of the .gz files in windows, can someone send me the latest contri in unpacked format please??
  3. Hi, I'm having a problem with the admin kit code. In cat./admin/product_atributes.php I get the following error.. Parse error: parse error, unexpected '}' in /home/fhlinux197/g/gosexy.co.uk/user/htdocs/gosexy2/admin/products_attributes.php on line 906 Okay, I thought, not a big problem I'll just make sure that all the {}'s in the code are closed. Yep, your code is fine, and there isn't a line 906 anyway. anyone else had this problem?
  4. roomboom

    categories box v1.0

    Hi, I've just installed the contibution called 'categories box v1.0' , and got the following code above the Categories box... t($key, $value) = each($id)) { $new_path .= $value; unset($prev_id); unset($first_id); $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . $value . "' and c.categories_id = cd.categories_id and cd.language_id='" . $languages_id ."' order by sort_order, cd.categories_name"); $category_check = tep_db_num_rows($categories_query); while ($row = tep_db_fetch_array($categories_query)) { $foo[$row['categories_id']] = array( 'name' => $row['categories_name'], 'parent' => $row['parent_id'], 'level' => $key+1, 'path' => $new_path . '_' . $row['categories_id'], 'next_id' => false ); if (isset($prev_id)) { $foo[$prev_id]['next_id'] = $row['categories_id']; } $prev_id = $row['categories_id']; if (!isset($first_id)) { $first_id = $row['categories_id']; } $last_id = $row['categories_id']; } if ($category_check != 0) { $foo[$last_id]['next_id'] = $foo[$value]['next_id']; $foo[$value]['next_id'] = $first_id; } $new_path .= '_'; } } tep_show_category($first_element); $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => $categories_string ); new infoBox($info_box_contents); ?> I've had this problem before, but can't remember how I fixed it. Has anyone got any ideas on this one??? Thanks!
  5. roomboom

    categories box v1.0

    Yeah, thats what I thought, but the opening tags are in there... I've even tried re-uploading the file a few times. I really need to speak to the guy who created the contri. but they didn't leave their e-mail address....