[Tep-j-general] Re: by Category セクションにてワーニング

Zurück zum Archiv-Index

blueinclude blue_ohmyu****@yahoo*****
2005年 11月 19日 (土) 10:28:24 JST


$B$3$s$K$A$O!#(B

$B!J#1!K%$%s%9%H!<%k$7$?$b$N$O2<5-$K$J$j$^$9!#(B
oscommerce-2.2ms1j-R6.tar.gz

$B"(2<5-$NK\$N(BCD$B!](BROM$B$KIUB0$5$l$F$$$?$b$N$G$9!#(B
$B!V(BosCommerce$B$K$h$k%*%s%i%$%s%7%g%C%W9=C[%F%/%K%C%/!W(B
$BEDB<IRI'(B $BCx(B 
$B=(OB%7%9%F%`(B

$B!J#2!K8=:_$N%5%$%H$O!";d$N$[$&$G2<5-$N%+%9%?%^%$%:$r$7$F$*$j$^$9!#(B
$B-!%;!<%k%9%l%]!<%H$NF3F~(B
$BBP>]%U%!%$%k(B
admin/includes/boxes/reports.php

$B-"CmJ8>pJs$r(BCSV$B7A<0$G%(%/%9%]!<%H$9$k5!G=$NF3F~(B
$BBP>]%U%!%$%k(B
customers.php

$B-#%H%C%W%Z!<%8$K(Bmeta$B%?%0$rDI2C!#(B
$BBP>]%U%!%$%k(B
default.php

$B"((Bcategories.php$B$O!"$^$C$?$/?($C$F$$$^$;$s!#(B

$B!J#3!K%V%i%&%64D6-(B
IE 6.0.2 with SP2

$B!J#4!K$3$l$@$1$G$O!"ITB-$+$b$7$l$^$;$s$,!"%(%i!<2U=j$N<~JU$rH4?h$7$F$*$-$^$9!#(B

$B"((Bincludes/box/categories.php

 97  //------------------------
 98  if (tep_not_null($cPath)) {
 99    $new_path = '';
100    reset($cPath_array);
101    while (list($key, $value) = each($cPath_array)) {
102      unset($parent_id);
103      unset($first_id);
104      $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 = '" .
(int)$value . "' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."'
order by sort_order, cd.categories_name");
105      if (tep_db_num_rows($categories_query)) {
106        $new_path .= $value;
107        while ($row = tep_db_fetch_array($categories_query)) {
108          $tree[$row['categories_id']] = array('name' => $row['categories_name'],
109                                               'parent' => $row['parent_id'],
110                                               'level' => $key+1,
111                                               'path' => $new_path . '_' . $row['categories_id'],
112                                               'next_id' => false);
113
114          if (isset($parent_id)) {
115            $tree[$parent_id]['next_id'] = $row['categories_id'];
116          }
117
118          $parent_id = $row['categories_id'];
119
120          if (!isset($first_id)) {
121            $first_id = $row['categories_id'];
122          }
123
124          $last_id = $row['categories_id'];
125        }
126        $tree[$last_id]['next_id'] = $tree[$value]['next_id'];
127        $tree[$value]['next_id'] = $first_id;
128        $new_path .= '_';
129      } else {
130        break;
131      }
132    }
133  }



--- Seiji Sogabe <sogab****@alles*****> $B$+$i$N%a%C%;!<%8!'(B
> $BA>2fIt$G$9!#(B
> 
> blueinclude wrote:
> > Dehaven$B$H?=$7$^$9!#$h$m$7$/$*4j$$$$$?$7$^$9!#(B
> > 
> > osCommerce(2.2ms)$B$r%$%s%9%H!<%k$7$?$N$G$9$,!"(B
> > $B%G%b2hLL$G!"%+%F%4%j$,I=<($5$l$:!"(B
> > $B2<5-$N%o!<%K%s%0$,=P$F$7$^$$$^$9!#(B
> > 
> > Warning: reset(): Passed variable is not an array or
> > object in
> > /home/httpd/vhosts/tokyocosme.com/httpdocs/shop/includes/boxes/categories.php
> > on line 100
> > 
> > Warning: Variable passed to each() is not an array or
> > object in
> > /home/httpd/vhosts/tokyocosme.com/httpdocs/shop/includes/boxes/categories.php
> > on line 101
> > 
> > $B3:Ev(BURL
> > 
> > http://www.tokyocosme.com/shop/product_info.php/products_id/29
> 
> $B$3$A$i$N%5%$%H$G$9$,!"$+$J$j%+%9%?%^%$%:$7$F$$$k$h$&$K$_$($^$9!#(B
> $B%G%U%)%k%H$N(B2.2ms1J$B$J$i!"%(%i!<$,$G$F$$$k(Bcategories.php$B$N(B100$B9T$r(B
> $B>e5-(BURL$B$G<B9T$9$k$H$O;W$($J$$$N$G$9$,!#(B
> 
> $B$O$^$@$5$s$+$i$b;XE&$,$"$j$^$7$?$,!"%$%s%9%H!<%k$7$?%P!<%8%g%s$r(B
> $BL @ 3N$K$7$J$$$H$o$+$j$^$;$s!#(B
> 
> $B$b$7!"%+%9%?%^%$%::Q$N$b$N$r9XF~$7$?!"$b$7$/$OC/$+$,%+%9%?%^%$%:$7$?(B
> $B$b$N$J$i!"$=$A$i$KJ9$/$N$,6Z$@$H;W$$$^$9!#(B
> 
> $B$G$O!#(B
> -- 
> sogab****@alles*****
> _______________________________________________
> Tep-j-general mailing list
> Tep-j****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/tep-j-general
> 

--------------------------------------
Yahoo! Mail - supported by 10million people
http://pr.mail.yahoo.co.jp/10m/




Tep-j-general メーリングリストの案内
Zurück zum Archiv-Index