wmaraci reklam

Aramada 2. Sayfa görüntülenemiyor

6 Mesajlar 689 Okunma
wmaraci reklam

Gunesibrahim Gunesibrahim kampaletleri.com Kullanıcı
  • Üyelik 15.11.2013
  • Yaş/Cinsiyet 30 / E
  • Meslek EGM
  • Konum Şanlıurfa
  • Ad Soyad İ** G**
  • Mesajlar 364
  • Beğeniler 90 / 89
  • Ticaret 0, (%0)
Selamün Aleyküm Arkadaslar. sitemde sayfaları görüntülüyorum 2. sayfayı tıklayınca sayfa 404 hatası alıyorum yardım edebilecek varmı ?
 

 


wmaraci
reklam

khazadum khazadum Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 07.03.2014
  • Yaş/Cinsiyet 46 / E
  • Meslek SEO Executive & SEO Analyst
  • Konum Ankara
  • Ad Soyad A** P**
  • Mesajlar 463
  • Beğeniler 34 / 84
  • Ticaret 3, (%100)
Sıralama'da olan link ve site adresi nedir.
Gunesibrahim

kişi bu mesajı beğendi.

nettebilgi nettebilgi Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 23.01.2014
  • Yaş/Cinsiyet 39 / E
  • Meslek grafiker
  • Konum İstanbul Avrupa
  • Ad Soyad D** O**
  • Mesajlar 1454
  • Beğeniler 254 / 430
  • Ticaret 8, (%100)
Kullandığın temadan kaynaklı. Temanın ana sayfasının kodlarını yaz buraya
Gunesibrahim

kişi bu mesajı beğendi.

Gunesibrahim Gunesibrahim kampaletleri.com Kullanıcı
  • Üyelik 15.11.2013
  • Yaş/Cinsiyet 30 / E
  • Meslek EGM
  • Konum Şanlıurfa
  • Ad Soyad İ** G**
  • Mesajlar 364
  • Beğeniler 90 / 89
  • Ticaret 0, (%0)
adres www.alternatifrentals.com see more ye dedigin zaman 2. sayfayı göstermiyor


ana sayfadan degilde arama sonuclarında böyle sorun oluyor



if((!isset($_REQUEST['adv_search']) && $_REQUEST['adv_search'] != 1) && (isset($_REQUEST['s']) && isset($_REQUEST['search'])) || (isset($_REQUEST['srch_property_id']) && $_REQUEST['srch_property_id']!='') || (isset($_REQUEST['s']) && $_REQUEST['s'] == 'viewmore'))
{?>






$is_search = 0;
global $wpdb;
$totalpost_count = 0;
$propertycategory = get_cat_id_from_name(get_option('ptthemes_propertycategory'));
$propertycategorys = get_sub_categories($propertycategory,'string');
$all_pids_arr = $wpdb->get_var("SELECT group_concat(ID) FROM $wpdb->posts where post_status='publish' and post_type='property'");
$all_pids_arr = explode(',',$all_pids_arr);
//$all_pids_arr = $wpdb->get_col("SELECT tr.object_id FROM $wpdb->term_taxonomy tt join $wpdb->term_relationships tr on tr.term_taxonomy_id=tt.term_taxonomy_id where tt.term_id in ($propertycategorys)");
if($_REQUEST['srch_location'])
{
$is_search = 1;
$srch_location = $_REQUEST['srch_location'];
//$location_pids = $wpdb->get_var("SELECT group_concat(tr.object_id) FROM $wpdb->term_taxonomy tt join $wpdb->term_relationships tr on tr.term_taxonomy_id=tt.term_taxonomy_id where tt.term_id=\"$srch_location\"");
$location_pids_arr = $wpdb->get_col("select post_id from $wpdb->postmeta where meta_key like 'location' and meta_value like \"$srch_location\"");
$all_pids_arr = array_intersect($all_pids_arr,$location_pids_arr);

}
if($_REQUEST['srch_price'])
{
$is_search = 1;
$srch_price = $_REQUEST['srch_price'];
if(strstr($srch_price,'-'))
{
$srch_price_str = str_replace('-',' and ',$srch_price);
$srch_price_arr = $wpdb->get_col("select post_id from $wpdb->postmeta where meta_key like 'price' and meta_value between $srch_price_str");
}
elseif(strstr($srch_price,'+'))
{
$srch_price_str = str_replace('+','',$srch_price);
$srch_price_arr = $wpdb->get_col("select post_id from $wpdb->postmeta where meta_key like 'price' and meta_value >= $srch_price_str");
}
$all_pids_arr = array_intersect($all_pids_arr,$srch_price_arr);
}
if($_REQUEST['srch_bedrooms'])
{
$is_search = 1;
$srch_bedrooms = $_REQUEST['srch_bedrooms'];
$srch_bedrooms_arr = $wpdb->get_col("select post_id from $wpdb->postmeta where meta_key like 'bedrooms' and meta_value = \"$srch_bedrooms\"");
$all_pids_arr = array_intersect($all_pids_arr,$srch_bedrooms_arr);
}
if($_REQUEST['srch_bathroom'])
{
$is_search = 1;
$srch_bathroom = $_REQUEST['srch_bathroom'];
$bathroom_pids_arr = $wpdb->get_col("select (post_id) from $wpdb->postmeta where meta_key like 'bathrooms' and meta_value = \"$srch_bathroom\"");
$all_pids_arr = array_intersect($all_pids_arr,$bathroom_pids_arr);
}
if($_REQUEST['srch_type'])
{
$is_search = 1;
$srch_type = $_REQUEST['srch_type'];
$type_pids_arr = $wpdb->get_col("select post_id from $wpdb->postmeta where meta_key like 'property_type' and meta_value = \"$srch_type\"");
$all_pids_arr = array_intersect($all_pids_arr,$type_pids_arr);
}
if($_REQUEST['srch_area'])
{
$is_search = 1;
$srch_area = $_REQUEST['srch_area'];
if(strstr($srch_area,'-'))
{
$srch_area_str = str_replace('-',' and ',$srch_area);
$srch_area_pids_arr = $wpdb->get_col("select post_id from $wpdb->postmeta where meta_key like 'area' and meta_value between $srch_area_str");
}
elseif(strstr($srch_area,'+'))
{
$srch_area_str = str_replace('+','',$srch_area);
$srch_area_pids_arr = $wpdb->get_col("select post_id from $wpdb->postmeta where meta_key like 'area' and meta_value >= $srch_area_str");
}
$all_pids_arr = array_intersect($all_pids_arr,$srch_area_pids_arr);
}
if($_REQUEST['srch_keyword'] && $_REQUEST['srch_keyword']!=CITY_STATE_ZIP_SRCH_TEXT)
{
$is_search = 1;
$srch_keyword = $_REQUEST['srch_keyword'];
$srch_keyword_arr = explode(',',$srch_keyword);
if(count($srch_keyword_arr)==1)
{
$add_city = $srch_keyword;
$add_state = $srch_keyword;
$add_zip_code = $srch_keyword;
}elseif(count($srch_keyword_arr)==2)
{
$add_city = $srch_keyword_arr[0];
$add_state = $srch_keyword_arr[1];
$add_zip_code = $srch_keyword_arr[0];
}elseif(count($srch_keyword_arr)==3)
{
$add_city = $srch_keyword_arr[0];
$add_state = $srch_keyword_arr[1];
$add_zip_code = $srch_keyword_arr[2];
}
$kw_pids_arr = $wpdb->get_col("select post_id from $wpdb->postmeta where (meta_key like 'property_city' and meta_value like \"%$add_city%\") or (meta_key like 'property_state' and meta_value like \"%$add_state%\") or (meta_key like 'property_zip' and meta_value like \"%$add_zip_code%\")");
$all_pids_arr = array_intersect($all_pids_arr,$kw_pids_arr);
}
if($is_search && !$all_pids_arr)
{
$all_pids_arr[0] = 'nopost';
}
if($_REQUEST['srch_property_id'])
{
$post_ids_str = $_REQUEST['srch_property_id'];
$sub_cat_sql .= " and p.ID in ($post_ids_str) ";
}else
{
if($all_pids_arr)
{
$post_ids_str = implode(',',$all_pids_arr);
if($post_ids_str)
{
$sub_cat_sql .= " and p.ID in ($post_ids_str) ";
}
}
}
$featurecat = get_cat_id_from_name(get_option('ptthemes_featuredcategory'));
if($featurecat)
{
$srch_feature_pids = $wpdb->get_var("SELECT group_concat(tr.object_id) FROM $wpdb->term_taxonomy tt join $wpdb->term_relationships tr on tr.term_taxonomy_id=tt.term_taxonomy_id where tt.term_id in ($featurecat)");
$srch_feature_pids = '';
}
$blogcat = get_cat_id_from_name(get_option('ptthemes_blogcategory'));
$blogcatcatids = get_sub_categories($blogcat,'string');
if($blogcatcatids)
{
$srch_blog_pids = $wpdb->get_var("SELECT group_concat(tr.object_id) FROM $wpdb->term_taxonomy tt join $wpdb->term_relationships tr on tr.term_taxonomy_id=tt.term_taxonomy_id where tt.term_id in ($blogcatcatids)");
}

/**--------Search as per custom field BOF---------**/
$sub_cat_sql1 = '';
$serch_post_types = CUSTOM_POST_TYPE1;
$concat = "OR";
$count = 1;
$custom_metaboxes = get_post_custom_fields_templ($serch_post_types,'','user_side','1');
foreach($custom_metaboxes as $key=>$val) {
$name = $key;
if($_REQUEST[$name]){
$value = $_REQUEST[$name];
if($name == 'proprty_desc'){
$sub_cat_sql .= " AND (p.post_content like \"%$value%\" )";
} else if($name == 'property_name'){
$sub_cat_sql .= " AND (p.post_title like \"%$value%\" )";
}else {
$sub_cat_sql .= " AND (p.ID in (select $wpdb->postmeta.post_id from $wpdb->postmeta where p.ID = $wpdb->postmeta.post_id and $wpdb->postmeta.meta_key='$name' and ($wpdb->postmeta.meta_value like \"%$value%\" ))) ";
}
}
}
/**--------Search as per custom field EOF---------**/
//$srch_sql = "select * from $wpdb->posts p, $wpdb->postmeta pm where p.ID = pm.post_id and p.post_status='publish' and p.post_type='property' $sub_cat_sql";

$srch_sql = "select * from $wpdb->posts p,$wpdb->postmeta pm where p.ID = pm.post_id and p.post_status='publish' and p.post_type='property' $sub_cat_sql group by p.ID";
if($srch_feature_pids)
{
$feature_srch_sql = "select p.* from $wpdb->posts p where p.post_status='publish' and p.post_type='property' and p.ID in ($srch_feature_pids)";
$srch_sql = " select * from (($feature_srch_sql) union ($srch_sql))";
}

$totalpost_count = $wpdb->get_var("select count(p.ID) from $wpdb->posts p $post_meta_join where p.post_status='publish' and p.post_type='property' $sub_cat_sql");
global $posts_per_page,$paged,$totalpost_count;
if($paged==''){$paged=1;}
$startlimit = $posts_per_page*($paged-1);
$srch_sql .= " order by p.ID desc limit $startlimit , $posts_per_page";
$post_info = $wpdb->get_results($srch_sql);
?>
<script>/library/js/functions.js"></script>


if($_REQUEST['s'] == 'viewmore')
{
_e(LATEST_PROPERTIES_TEXT);
}
elseif(is_category() && $_REQUEST['search']=='')
{
echo single_cat_title();
}else
{
//echo __(SEARCH_TEXT). get_search_param();
echo get_search_param();
}
?>


global $displaytype;
if($displaytype ==''){
$displaytype = get_option('ptthemes_switchview');
if(strtolower($displaytype) == strtolower('Map view')){
$displaytype ='map';
}elseif(strtolower($displaytype) == strtolower('Grid view')){
$displaytype ='grid';
}else{
$displaytype = 'list';
}
}
if(strtolower($displaytype) == strtolower('map')){
$displaytype = 'map';
$dispaly_none = 'style = display:none; ';
$visibility = 'style = visibility:visible; height:0;';
$class = 'list-view';
$listpagi = 'style = display:none';
$activem = 'active';
$map_style = 'style="visibility: visible; height: auto; display: block;"';
}elseif(strtolower($displaytype) == 'grid'){
$displaytype = 'grid';
$class = 'gridview';
$activeg = 'active';
}else{ $displaytype = 'list'; $class = 'list-view'; $activel = 'active';}
?>







>


    $count=0;
    foreach($post_info as $post_info_obj)
    {
    $count++;
    $post = $post_info_obj;
    get_property_info_more($post,$count);
    }
    ?>

else:
echo NO_PROPERTY_AVAILABLE_MSG;
if($_POST['search']=='search')
{
echo get_search_param();
}
endif;
?>



>



style="visibility:hidden; height:0;">










{//include_once('loop.php');?>












    $count=0;
    query_posts($query_string . "&post_type=post");
    while(have_posts()):
    the_post();
    $count++;
    get_blog_info_li($post,$count-1);
    endwhile;
    ?>

}else
{
echo NO_BLOG_AVAILABLE_MSG;
}
?>







} ?>


 

 


wmaraci
wmaraci

nettebilgi nettebilgi Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 23.01.2014
  • Yaş/Cinsiyet 39 / E
  • Meslek grafiker
  • Konum İstanbul Avrupa
  • Ad Soyad D** O**
  • Mesajlar 1454
  • Beğeniler 254 / 430
  • Ticaret 8, (%100)
Şunları Dene

1. Kalıcı Bağlantılar Ayarı Kaydetme
Ayarlar-Kalıcı Bağlantılar bölümüne girin, eğer sizin oluşturduğunuz ayarlarda herhangi bir değişiklik yoksa sadece kaydedin. Bu işlem yeni yüklediğiniz site dizinine htaccess dosyası oluşturacakdır.
2. Htaccess Dosyasını Doğrudan Ekleme
Aşağıda .htacces dosyası oluşturma ve içine yazılacak bilgileri bulabilirsiniz.
Bir txt dosyası açın ve içine aşağıdaki bilgileri girin
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
Dosyayı farklı kaydetme bölümünden .htaccess uzantılı kaydedin.
Bu dosyayı site dizinine ekleyin.
Artık sorun çözülmüş olmalı, eğer hata devam ediyorsa bu aşamada hosting şirketi ile iletişime geçmelisiniz.
Gunesibrahim

kişi bu mesajı beğendi.

Gunesibrahim Gunesibrahim kampaletleri.com Kullanıcı
  • Üyelik 15.11.2013
  • Yaş/Cinsiyet 30 / E
  • Meslek EGM
  • Konum Şanlıurfa
  • Ad Soyad İ** G**
  • Mesajlar 364
  • Beğeniler 90 / 89
  • Ticaret 0, (%0)
Orjinali Bu şekil
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


# END WordPress


Ama dediginiz gibi yaptıgım zaman
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@alternatifrentals.holidayapartmentkalkan.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

şu hatayı veriyor
 

 


wmaraci
Konuyu toplam 1 kişi okuyor. (0 kullanıcı ve 1 misafir)
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al