collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 433
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Sohbet Kutusu

Refresh History
  • Destek için kullanmay?n!
  • akorkut: Ama desteklerinizi de bekliyoruz.
    November 18, 2016, 08:41:36 AM
  • akorkut: grafitus hocam, yaklaşık 10 yıl.. smf, sp,  sizin ve diğer paylaşımseverin çalışmalarınızl bize destek oldu. Herşey için çok teşekkür ederiz.
    November 18, 2016, 08:40:38 AM
  • grafitus: Merhabalar herkese. Uzun zaman oldu, hayatlar değişti. Vakit ayıramaz olduk. SMF ve SimplePortal'ın yeri farklı olsa da artık aktif olmadıkları aşikar. Belki bir gün yeniden forumlar doğar. :)) Sevgilerle.
    November 18, 2016, 08:26:32 AM
  • tc bolubeyi: gelen giden yok pek
    July 31, 2016, 02:52:53 PM
  • tekniker974: Neredeyse 1 sene olmuş
    May 12, 2016, 01:05:50 AM
  • tekniker974: Günaydın
    May 12, 2016, 01:05:19 AM
  • tc bolubeyi: merhaba dostlara
    August 28, 2015, 08:56:04 AM
  • mert1i: ker alaka
    August 03, 2015, 10:07:49 AM
  • sonkalem: sa
    July 14, 2015, 03:27:51 PM
  • tc bolubeyi: sağolun ben de iyi allaha şükür
    June 10, 2015, 05:52:54 PM
  • mkuru: Teşekkürler Hasan Bey. Sizi sormalı
    May 27, 2015, 02:53:43 AM
  • tc bolubeyi: selam dostlar nasılsınız
    May 23, 2015, 06:52:15 PM
  • streetfire: Ben seviyorum.
    May 01, 2015, 03:39:22 PM
  • streetfire: Valla bilmiyorum. Sitemde çok kullanıyorum.
    May 01, 2015, 03:39:14 PM
  • mkuru: Evet haklısın
    April 03, 2015, 08:23:32 AM
  • mert1i: portalın en çok istenen ama en aaz talep gören kısmı bu chat
    April 01, 2015, 07:35:31 AM
  • mert1i: Selamun aleyküm ahali..
    January 27, 2015, 05:20:06 AM
  • tekniker974: a.s.
    August 12, 2014, 03:22:53 PM
  • delirium: S.a
    August 02, 2014, 10:24:22 AM
  • tekniker974: :nervous-happy:kimse yok
    July 15, 2014, 01:19:26 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: Pretty Urls Çak??mas?  (Read 6569 times)

0 Members and 1 Guest are viewing this topic.

Offline grafitus

  • Board Moderators
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Pretty Urls Çak??mas?
« on: March 19, 2009, 03:32:52 PM »
Sinan Abi,
 
Özel mesajlar?ma cevap alamad???m için burdan yaz?yorum..?imdi yepyeni kurdu?um Smf 2.0 RC1 foruma önce pretty sonra da simpleportal kurunca Subs.php'de çak??ma oluyor ve sürekli hata veriyor baz? bölümlerde..Hata veriyor ancak ayarlamalar? da kay?r ediyor..
 
Hata sat?r?: 2611
 
Ald???m hata: Fatal error: require_once() [function.require]: Failed opening required '/PrettyUrls-Filters.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pcadmcom/public_html/Sources/Subs.php on line 2611
 
 
Hata al?nana fonksiyon:
 
Code: [Select]

// Make sure the browser doesn't come back and repost the form data.  Should be used whenever anything is posted.
function redirectexit($setLocation = '', $refresh = false)
{
 global $scripturl, $context, $modSettings, $db_show_debug, $db_cache;
 // In case we have mail to send, better do that - as obExit doesn't always quite make it...
 if (!empty($context['flush_mail']))
  AddMailQueue(true);
 $add = preg_match('~^(ftp|http)[s]?://~', $setLocation) == 0 && substr($setLocation, 0, 6) != 'about:';
 
 // Redirect to the forums action not the portal, when Simple Portal is active. ;)
 if((empty($setLocation) || $scripturl == $setLocation) && !empty($modSettings['portalactive']) && empty($modSettings['sp_disableForumRedirect']))
  $setLocation = 'action=forum';
 if (WIRELESS)
 {
  // Add the scripturl on if needed.
  if ($add)
   $setLocation = $scripturl . '?' . $setLocation;
  $char = strpos($setLocation, '?') === false ? '?' : ';';
  if (strpos($setLocation, '#') ==! false)
   $setLocation = strtr($setLocation, array('#' => $char . WIRELESS_PROTOCOL . '#'));
  else
   $setLocation .= $char . WIRELESS_PROTOCOL;
 }
 elseif ($add)
  $setLocation = $scripturl . ($setLocation != '' ? '?' . $setLocation : '');
 // Put the session ID in.
 if (defined('SID') && SID != '')
  $setLocation = preg_replace('/^' . preg_quote($scripturl, '/') . '(?!\?' . preg_quote(SID, '/') . ')(\?)?/', $scripturl . '?' . SID . ';', $setLocation);
 // Keep that debug in their for template debugging!
 elseif (isset($_GET['debug']))
  $setLocation = preg_replace('/^' . preg_quote($scripturl, '/') . '(\?)?/', $scripturl . '?debug;', $setLocation);
 // Redirections should be pretty too
 if ($modSettings['pretty_enable_filters'])
 {
  require_once($sourcedir . '/PrettyUrls-Filters.php');
  $url = array(0 => array('url' => $setLocation, 'url_id' => 'setLocation'));
  $filter_callbacks = unserialize($modSettings['pretty_filter_callbacks']);
  foreach ($filter_callbacks as $callback)
  {
   $pretty_url = call_user_func($callback, $url);
   if (isset($pretty_url[0]['replacement']))
    break;
  }
  if (isset($pretty_url[0]['replacement']))
   $setLocation = $pretty_url[0]['replacement'];
  $setLocation = str_replace("\x12", '\'', $setLocation);
  $setLocation = preg_replace(array('~;+|=;~', '~\?;~', '~\?#|;#|=#~', '~\?$|;$|#$|=$~'), array(';', '?', '#', ''), $setLocation);
 }
 if (isset($modSettings['integrate_redirect']) && function_exists($modSettings['integrate_redirect']))
  $modSettings['integrate_redirect']($setLocation, $refresh);
 // We send a Refresh header only in special cases because Location looks better. (and is quicker...)
 if ($refresh && !WIRELESS)
  header('Refresh: 0; URL=' . strtr($setLocation, array(' ' => '%20')));
 else
  header('Location: ' . str_replace(' ', '%20', $setLocation));
 // Debugging.
 if (isset($db_show_debug) && $db_show_debug === true)
  $_SESSION['debug_redirect'] = $db_cache;
 obExit(false);
}

 
San?rsam pretty ile tek simpleportal kuran benim yoksa çok ki?i al?rd? hata :S Neyse cevab?n? büyük bir özlemle bekliyorum..
my modsI don't reply support PMs. Please use support forums.

Offline grafitus

  • Board Moderators
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: Pretty Urls Çakışması
« Reply #1 on: March 23, 2009, 07:08:40 AM »
Güncel..
« Last Edit: April 01, 2009, 11:38:51 AM by grafitus »
my modsI don't reply support PMs. Please use support forums.

Offline Paragaya

  • Jr. Member
  • **
  • Posts: 91
  • Gender: Male
  • Heyo Basit Portal :D
  • SMF Version: None
  • SP Version: None
Re: Pretty Urls Çakışması
« Reply #2 on: March 23, 2009, 11:55:50 AM »
Bu resmi sitede çözülmüştü Bu konuda : http://www.simplemachines.org/community/index.php?topic=227618.0

Offline grafitus

  • Board Moderators
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: Pretty Urls Çakışması
« Reply #3 on: March 23, 2009, 01:02:26 PM »
Bu resmi sitede çözülmüştü Bu konuda : http://www.simplemachines.org/community/index.php?topic=227618.0

Hakkını helal et :)

44 sayfalık bir konuya giriyom :D
« Last Edit: April 01, 2009, 11:38:44 AM by grafitus »
my modsI don't reply support PMs. Please use support forums.

Offline grafitus

  • Board Moderators
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: Pretty Urls Çakışması
« Reply #4 on: March 23, 2009, 01:40:53 PM »
Paragaya, bulamadım.Acaba mesaj linkini atar mısın ??? Yada kaçıncı sayfa da ???
« Last Edit: April 01, 2009, 11:38:36 AM by grafitus »
my modsI don't reply support PMs. Please use support forums.

Offline Paragaya

  • Jr. Member
  • **
  • Posts: 91
  • Gender: Male
  • Heyo Basit Portal :D
  • SMF Version: None
  • SP Version: None
Re: Pretty Urls Çakışması
« Reply #5 on: March 24, 2009, 05:21:10 AM »
Helal olsun walla hatırlamıyorum sinan gelsin baksın..

Offline Daydreamer

  • Jr. Member
  • **
  • Posts: 59
  • Gender: Male
  • ЯocKayseri
    • mnyk
  • SMF Version: 2 RC1
  • SP Version: 2.2
Re: Pretty Urls Çakışması
« Reply #6 on: March 25, 2009, 06:46:37 AM »
Bu hatayı tam olarak nasıl veriyor? Yada nerede veriyor. Arasıra mı veriyor yani ne gibi durumlarda çıkıyor?
Son olaraksa admin panelindeki hata kaydını tam olarak kopyalar mısınız buraya?

Offline karanima

  • Semi Newbie
  • *
  • Posts: 36
  • Gender: Male
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Pretty Urls Çak??mas?
« Reply #7 on: March 25, 2009, 08:07:07 AM »
san?r?m derdimiz ayn? hata kayd? ?öyle

http://forumayna.com/index.php?action=spadmin

Veritaban? Hatas?: Illegal mix of collations for operation ' IN '
Dosya: /home/forumayn/public_html/Sources/PrettyUrls-Filters.php
Sat?r: 47

Offline grafitus

  • Board Moderators
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: Pretty Urls Çakışması
« Reply #8 on: March 26, 2009, 12:50:58 PM »
Bu hatayı tam olarak nasıl veriyor? Yada nerede veriyor. Arasıra mı veriyor yani ne gibi durumlarda çıkıyor?
Son olaraksa admin panelindeki hata kaydını tam olarak kopyalar mısınız buraya?

Bütün actinolarda..Veri tabanına bişiler eklerken,değiştirirken.
« Last Edit: April 01, 2009, 11:38:29 AM by grafitus »
my modsI don't reply support PMs. Please use support forums.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Pretty Urls Çakışması
« Reply #9 on: March 26, 2009, 03:53:51 PM »
grafitus:

Hatanin SimplePortal ile alakali oldugu sonucuna nasil vardiniz? Hatada sadece PrettyURLs ile ilgili bir dosyanin bulunamadigi yaziyor.

karanima:

Sizin hataniz da PrettyURLs tablolariniz icinde veya bunlar ile SMF tablolari arasinda karakter seti uyusmazsizligi oldugunu soyluyor.
And slowly, you come to realize... It's all as it should be...

Offline karanima

  • Semi Newbie
  • *
  • Posts: 36
  • Gender: Male
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Pretty Urls Çakışması
« Reply #10 on: March 26, 2009, 04:01:08 PM »
peki phpmyadminden karakter setiyle ayar yapmaya çalışsam nasıl olur

edit:pretty cache dosyasının karakter setini utf8 türkçe yaptım düzeldi
« Last Edit: March 26, 2009, 04:07:26 PM by karanima »

Offline grafitus

  • Board Moderators
  • *
  • Posts: 1554
  • Gender: Male
  • just looking for own old energy
  • SMF Version: None
  • SP Version: None
Re: Pretty Urls Çak??mas?
« Reply #11 on: March 26, 2009, 05:02:06 PM »
grafitus:

Hatanin SimplePortal ile alakali oldugu sonucuna nasil vardiniz? Hatada sadece PrettyURLs ile ilgili bir dosyanin bulunamadigi yaziyor.

Sinan abicim,
Dosya yerli yerinde duruyor.Ve  Simle Portal'? kurmadan önce orda sorun yoktu :S

Edit: Çözdüm problemi.Problem kurulumda bi karu???kl?k oluyor.Ve bu yüzden "Pretty URLs" global de?i?kenlere $sourcedir adl? de?i?keni eklyemiyor.Bunu manuel olarak ekleyince sorun kalk?yor.

E?er böyle bir hata ile kar??la??rsan?z,

Code: (Subs.php'de bulun) [Select]
global $scripturl, $context, $modSettings, $db_show_debug, $db_cache;

Code: (De?i?tirin) [Select]
global $scripturl, $context, $modSettings, $db_show_debug, $db_cache, $sourcedir;
« Last Edit: April 01, 2009, 11:38:19 AM by grafitus »
my modsI don't reply support PMs. Please use support forums.