• 10-04-2009, 01:05:27
    #10
    posting.php dosyası public_html nin içinde. functions_posting.php ise includes klasörünün içinde, includes klasörüyle postin.php klasörüde aynı dizinde yani public_html de.
    Bende
    include ('http://www.zahmetsiz.net/includes/function_posting.php');
    şeklinde çağırdım ama
    [phpBB Debug] PHP Notice: in file /posting.php on line 1353: include() [function.include]: URL file-access is disabled in the server configuration
    [phpBB Debug] PHP Notice: in file /posting.php on line 1353: include(http://www.zahmetsiz.net/includes/function_posting.php) [function.include]: failed to open stream: no suitable wrapper could be found
    [phpBB Debug] PHP Notice: in file /posting.php on line 1353: include() [function.include]: Failed opening 'http://www.zahmetsiz.net/includes/function_posting.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') hatasını verdi. Bu arada ilginiz için çok teşekkürler.
  • 10-04-2009, 01:08:52
    #11
    include($phpbb_root_path . 'includes/function_posting.' . $phpEx);
    şeklinde de denedim yine hata verdi.
  • 10-04-2009, 01:10:28
    #12
    posting.php nin en üstüne

    define('ABSOLUTEPATH', dirname(__FILE__).'/');
    define('INCLUDESPATH',ABSOLUTEPATH.includes.'/');
    include(INCLUDESPATH.'function_posting.php');

    ekleyip deneyebilir misin?
  • 10-04-2009, 01:12:26
    #13
    include($phpbb_root_path . 'includes/function_posting.php'
    bu şekilde ekledim.

    Parse error: syntax error, unexpected T_VARIABLE in /home/zahmet/public_html/posting.php on line 1354
    dedi.

    1354. satır ise bu:
    $topic_type_toggle = posting_gen_topic_types($forum_id, $post_data['topic_type']);
  • 10-04-2009, 01:14:03
    #14
    include($phpbb_root_path . 'includes/function_posting.php');

    bu şekilde olucak
  • 10-04-2009, 01:15:04
    #15
    takilberime adlı üyeden alıntı: mesajı görüntüle
    posting.php nin en üstüne
    define('ABSOLUTEPATH', dirname(__FILE__).'/');
    define('INCLUDESPATH',ABSOLUTEPATH.includes.'/');
    include(INCLUDESPATH.'function_posting.php');
    ekleyip deneyebilir misin?
    Bu dediğinizi yapınca

    Parse error: syntax error, unexpected T_VARIABLE in /home/zahmet/public_html/posting.php on line 1357

    şeklinde hata verdi.
  • 10-04-2009, 01:17:17
    #16
    takilberime adlı üyeden alıntı: mesajı görüntüle
    include($phpbb_root_path . 'includes/function_posting.php');
    bu şekilde olucak
    o şekilde bbu hatayı veriyor:
    define('ABSOLUTEPATH', dirname(__FILE__).'/'); define('INCLUDESPATH',ABSOLUTEPATH.includes.'/'); include(INCLUDESPATH.'function_posting.php'); [phpBB Debug] PHP Notice: in file /posting.php on line 1356: include() [function.include]: Unable to access ./includes/function_posting.php
    [phpBB Debug] PHP Notice: in file /posting.php on line 1356: include(./includes/function_posting.php) [function.include]: failed to open stream: No such file or directory
    [phpBB Debug] PHP Notice: in file /posting.php on line 1356: include() [function.include]: Unable to access ./includes/function_posting.php
    [phpBB Debug] PHP Notice: in file /posting.php on line 1356: include(./includes/function_posting.php) [function.include]: failed to open stream: No such file or directory
    [phpBB Debug] PHP Notice: in file /posting.php on line 1356: include() [function.include]: Failed opening './includes/function_posting.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

    Fatal error: Call to undefined function posting_gen_topic_types() in /home/zahmet/public_html/posting.php on line 1357
  • 10-04-2009, 01:21:07
    #17
    Abdurrahman61 adlı üyeden alıntı: mesajı görüntüle
    Bu dediğinizi yapınca

    Parse error: syntax error, unexpected T_VARIABLE in /home/zahmet/public_html/posting.php on line 1357

    şeklinde hata verdi.
    Şimdi posting.php de include etmeye dair önceden yaptıklarını sil ve en üste

    define('ABSOLUTEPATH', dirname(__FILE__).'/');
    define('INCLUDESPATH',ABSOLUTEPATH.includes.'/');
    include(INCLUDESPATH.'function_posting.php');

    sadece bu 3 satırı ekle.
    sonra scripti çalıştuır ve hata veren satır dahil olmak üzere üstteki 10 satırı da buraya yapıştır bi bakalım daha yukarılarda bi syntax hatası var gibi görünüyor.
  • 10-04-2009, 01:25:46
    #18
    define('ABSOLUTEPATH', dirname(__FILE__).'/'); define('INCLUDESPATH',ABSOLUTEPATH.includes.'/'); include(INCLUDESPATH.'function_posting.php');
    Fatal error: Call to undefined function posting_gen_topic_types() in /home/zahmet/public_html/posting.php on line 1356

    hata bu.