Seditio ve Ldu hakkında sınırsız arama yapın
 
 
> 1 <

Etiketler: page alias sorunu

Author Message

Kaan

Moderators


Online status

1,988 posts
http://www.ntka.org
Pagerank: 3

Location: Turkey
Occupation: Destek
Age: 25

#4227   2007-07-05 14:38 GMT      

Page.php de http://ntka.org/page.php?al=alias3237 olan linkleri açmıyor.

http://ntka.org/page.php?id=48 bu şekil olanları acıyor Normalde hepsini açıyordu ama alias yazmıyordu sonunda hepsinde id ye göreydi kendiliğinden bazı linkler alias a geçiş yapmış bu gün fark ettim.

Neden Kaynaklana bilir bu sorun sayfalardaki linklerin çogu iptal oldu bu sorundan dolayı..

Dvdbil

Administrator


Online status

2,177 posts
http://www.seditio-tr.com
Pagerank: 3

Location: Turkey istanbul
Occupation: Web Site(ler) İşletmeciliği :)
Age: 28

#4228   2007-07-05 14:43 GMT      
Ne gibi modify işlemleri yaptın ?

Kaan

Moderators


Online status

1,988 posts
http://www.ntka.org
Pagerank: 3

Location: Turkey
Occupation: Destek
Age: 25

#4235   2007-07-05 15:00 GMT      

Sorunu buldum sayfayı düzenleyince alias a çeviriyor ve linki kesiyor

Modify e olarak Sayfalardan linkleri gizleme işlemi uyguladım

Eklediğim Kodlar :
Code:
if($pag['page_file'] && $a=='dl') {
if($usr['level'] > 5) {
$file_size = @filesize($row['page_url']);
$pag['page_filecount']++;
$sql = ldu_query("UPDATE $db_pages SET page_filecount=page_filecount+1 WHERE

page_id='".$pag['page_id']."'");
header("Location: ".$pag['page_url']);
echo("<script

type='text/javascript'>location.href='".$pag['page_url']."';</script>Redirecting...");
exit;
} else {
header("Location: message.php?msg=930");
exit;
}
}



Code:
if($usr['level'] > 5) {
if($pag['page_file']) {
if (!empty($pag['page_url'])) {
$dotpos = strrpos($pag['page_url'],".")+1;
$pag['page_fileicon'] = "system/img/pfs/".strtolower(substr($pag['page_url'], $dotpos,

5)).".gif";
if (!file_exists($pag['page_fileicon'])) {
$pag['page_fileicon'] = "system/img/admin/page.gif";
}
$pag['page_fileicon'] = "<img src=\"".$pag['page_fileicon']."\" alt=\"\">";
} else {
$pag['page_fileicon'] = '';
}

$t->assign(array(
"PAGE_FILE_URL" => "page.php?id=".$pag['page_id']."&amp;a=dl",
"PAGE_FILE_SIZE" => $pag['page_size'],
"PAGE_FILE_COUNT" => $pag['page_filecount'],
"PAGE_FILE_ICON" => $pag['page_fileicon']
));
$t->parse("MAIN.PAGE_FILE");
}
} else {
if($pag['page_file']) {
$t->parse("MAIN.PAGE_FILE_ERROR");
}
}

Dvdbil

Administrator


Online status

2,177 posts
http://www.seditio-tr.com
Pagerank: 3

Location: Turkey istanbul
Occupation: Web Site(ler) İşletmeciliği :)
Age: 28

#4239   2007-07-05 15:03 GMT      
Hallettin mi ?

Kaan

Moderators


Online status

1,988 posts
http://www.ntka.org
Pagerank: 3

Location: Turkey
Occupation: Destek
Age: 25

#4241   2007-07-05 15:09 GMT      
Hayır edemedim sadece buldum sayfayı editlediğim zaman aliasa ceviriyor phpmyadminden alis ı sildiğim düzeliyor. Ama her zaman bunu yaptıgına göre çözümünü bulmamız lazım..

This post was edited by Kaan (2007-07-05 15:25 GMT, 413 Gün ago)

Dvdbil

Administrator


Online status

2,177 posts
http://www.seditio-tr.com
Pagerank: 3

Location: Turkey istanbul
Occupation: Web Site(ler) İşletmeciliği :)
Age: 28

#4243   2007-07-05 15:22 GMT      
Echo komutu uygulama, tam değişkenli bir sistem bu.

Kaan

Moderators


Online status

1,988 posts
http://www.ntka.org
Pagerank: 3

Location: Turkey
Occupation: Destek
Age: 25

#4244   2007-07-05 15:25 GMT      
Echo Komutlarını code olarak gösteriyorum algılamaması gerekmiyormu.? birde her sayfada echo yokki video klip editlediğim zamanda aynısını yapıyor..

Bu Satırları silsem Sorun düzelirmi.?

Code:
{ $sql = ldu_query("SELECT * FROM $db_pages WHERE page_alias='$al' LIMIT 1"); }
else


Code:
$pag['page_pageurl'] = (empty($pag['page_alias'])) ? "page.php?id=".$pag['page_id'] :

"page.php?al=".$pag['page_alias'];


Code:
$pag['page_alias'] = stripslashes($pag['page_alias']);

Dvdbil

Administrator


Online status

2,177 posts
http://www.seditio-tr.com
Pagerank: 3

Location: Turkey istanbul
Occupation: Web Site(ler) İşletmeciliği :)
Age: 28

#4245   2007-07-05 15:28 GMT      
Alias`lı sayfaları default yap id alsınlar en iyi çözüm bu..

Kaan

Moderators


Online status

1,988 posts
http://www.ntka.org
Pagerank: 3

Location: Turkey
Occupation: Destek
Age: 25

#4246   2007-07-05 15:37 GMT      

Sorması ayıp diyecem nereden yapıcam.? PhpMyadmin den mi.?

yoksa page.php den mi Şimdi zaten phpmyadminden alias ları siliyorum düzeliyorlar. tekrar test ediyorum editliyorum sayfayı yine alias alıyor.

Code:
{ $sql = ldu_query("SELECT * FROM $db_pages WHERE page_alias='$al' LIMIT 1"); }
else


şu satırı siliyorum bu seferde düzenleme linki çalışmıyor

Dvdbil

Administrator


Online status

2,177 posts
http://www.seditio-tr.com
Pagerank: 3

Location: Turkey istanbul
Occupation: Web Site(ler) İşletmeciliği :)
Age: 28

#4247   2007-07-05 15:48 GMT      
Sayfa düzenlemeden tek tek alias'ları sileceksin.

Kaan

Moderators


Online status

1,988 posts
http://www.ntka.org
Pagerank: 3

Location: Turkey
Occupation: Destek
Age: 25

#4248   2007-07-05 15:56 GMT      
Sorunu çözdüm bu rada page.edit.inc.php den kaynaklanıyormuş ne kadar alias yazısı varsa hepsini sildim Test ettim Şimdilik sorunsuz çalışıyor..

Bende Senin dediğin gibi yapıyorum ama normal düzenlenmiyor phpmyadminden tek tek siliyorum.. 300 sayfa var yarısı alias lı

Edit : Sorun Halloldu Teşekkürler yardımın için.. Bu tür sorunlarla Karşılaşanlar için çözüm yollarıda açıklanmış oldu..

This post was edited by Kaan (2007-07-05 16:07 GMT, 413 Gün ago)
> 1 <

Benzer konular (Similar topics) #BETA

Keywords (beta):

Forum Arşiv (beta):

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205]