posiadam mod_rewrite.so,ale to nie na serwerze moim tylko w
appachu leży
ma ktoś jeszcze jakieś pomysły?Może wie ktoś jak znaleźć config?
Przywróciłem .htaccess i wyskakuje teraz inny błąd :
Kod
open(); mysql_query("SET NAMES 'utf8'"); $currency_symbol_new=symbol_currency(); $uid=$_SESSION['uid']; if($_POST['refer_a_friend']) { $errmsg=""; if($uid!='') { $refer_mail=$_POST['refer_mail']; $ccode=substr(md5(time()),0,10); if(mysql_num_rows(mysql_query("select id from user where email='$refer_mail'"))==0) { if(mysql_num_rows(mysql_query("select id from invite_friend where email='$refer_mail'"))==0) { mysql_query("insert into invite_friend set uid='$uid',email='$refer_mail',refer_code='$ccode'"); send_invitation($uid,$refer_mail,$ccode); admin_refer_friend($uid,$refer_mail,$ccode); $errmsg="Your invitation has been sent."; } else $errmsg="User already invited."; } else { $errmsg="User already is a member."; } } else $errmsg="You must be logged in to do that."; } //print_r($_SESSION); $myres=remainbid1(); // Query start for Hot featured product // $sql="select * from t123go_product where featured='1' and status='1' and start_time < now() and end_time > now() order by rand() limit 1"; $rs=mysql_query($sql); $data=mysql_fetch_array($rs); // Query ended for Hot featured product // $jsres=mysql_query("SELECT pid,bid_price FROM t123go_product where start_time < now() and end_time >now() and pid!='".$data[pid]."' and status='1' order by end_time limit 4"); $pids=""; while($jsrec=mysql_fetch_array($jsres)) { $pids.=$jsrec['pid'].","; $_SESSION['new'][$jsrec['pid']]=$jsrec['bid_price']; } //for featured product // if($data['pid']!='') { $pids.=$data['pid'].","; $_SESSION['new'][$data['pid']]=$data['bid_price']; } $sql_qry="SELECT pid,pname,price,bid_price,thumbnail,bider_id,description,type1,cid,brand FROM t123go_product where start_time now() and pid!='$data[pid]' and status='1' order by end_time limit 4"; $lat_auction=substr($pids,0,-1); // top live auctions // if($lat_auction=='') $lat_auction="''"; $jsquery1="SELECT * FROM t123go_product where start_time < now() and end_time > now() and status='1' and pid!='".$data[pid]."' and pid not in(".$lat_auction.")"; $jsres1=mysql_query($jsquery1) or( die(mysql_error)); while($jsrec1=mysql_fetch_array($jsres1)) { $pids.=$jsrec1['pid'].","; $_SESSION['new'][$jsrec['pid']]=$jsrec['bid_price']; } $homeres=mysql_query($sql_qry); $homeres1=mysql_query($jsquery1); $num_live=mysql_num_rows($homeres1); ?>
Wie ktoś może co z tym zrobić i gdzie jest jakiś plik konfiguracyjny(jak go znaleźć)