• 10-04-2009, 01:27:18
    #19
    define('ABSOLUTEPATH', dirname(__FILE__).'/');
    define('INCLUDESPATH',ABSOLUTEPATH.includes.'/');
    include(INCLUDESPATH.'function_posting.php');

    bu satırları <? veya <?php tagından sonra yazıyosun dimi?
  • 10-04-2009, 01:27:48
    #20
    üstten bi kaç satır:
    $attachment_data = $message_parser->attachment_data;
    $filename_data = $message_parser->filename_data;
    $post_data['post_text'] = $message_parser->message;
    
    if (sizeof($post_data['poll_options']) && $post_data['poll_title'])
    {
    	$message_parser->message = $post_data['poll_title'];
    	$message_parser->bbcode_uid = $post_data['bbcode_uid'];
    
    	$message_parser->decode_message();
    	$post_data['poll_title'] = $message_parser->message;
    
    	$message_parser->message = implode("\n", $post_data['poll_options']);
    	$message_parser->decode_message();
    	$post_data['poll_options'] = explode("\n", $message_parser->message);
    }
    
    // MAIN POSTING PAGE BEGINS HERE
    
    // Forum moderators?
    $moderators = array();
    get_moderators($moderators, $forum_id);
    
    // Generate smiley listing
    "generate_smilies('inline', $forum_id)";
    
    // Generate inline attachment select box
    "posting_gen_inline_attachments($attachment_data)";
    
    // Do show topic type selection only in first post.
    $topic_type_toggle = false;
    
    if ($mode == 'post' || ($mode == 'edit' && $post_id == $post_data['topic_first_post_id']))
    {
    	$topic_type_toggle = posting_gen_topic_types($forum_id, $post_data['topic_type']);
    }
  • 10-04-2009, 01:29:47
    #21
    takilberime adlı üyeden alıntı: mesajı görüntüle
    define('ABSOLUTEPATH', dirname(__FILE__).'/');
    define('INCLUDESPATH',ABSOLUTEPATH.includes.'/');
    include(INCLUDESPATH.'function_posting.php');
    bu satırları <? veya <?php tagından sonra yazıyosun dimi?
    hayır düzelttim altına yazdım yine hata verdi:


    Warning: include() [function.include]: Unable to access /home/zahmet/public_html/includes/function_posting.php in /home/zahmet/public_html/posting.php on line 4

    Warning: include(/home/zahmet/public_html/includes/function_posting.php) [function.include]: failed to open stream: Permission denied in /home/zahmet/public_html/posting.php on line 4

    Warning: include() [function.include]: Unable to access /home/zahmet/public_html/includes/function_posting.php in /home/zahmet/public_html/posting.php on line 4

    Warning: include(/home/zahmet/public_html/includes/function_posting.php) [function.include]: failed to open stream: Permission denied in /home/zahmet/public_html/posting.php on line 4

    Warning: include() [function.include]: Failed opening '/home/zahmet/public_html/includes/function_posting.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zahmet/public_html/posting.php on line 4

    Fatal error: Call to undefined function posting_gen_topic_types() in /home/zahmet/public_html/posting.php on line 1356
  • 10-04-2009, 01:33:31
    #22
    Hmm.
    Yapılanlar sonuç vermiyor.O dosyaya ulaşıp posting.php içine include edemiyor.Çünkü bu işlem için izin yok diyor.
    Hosting sağlayıcınla konuşup bu sorunu beraber aşmalısınız.

    Safe_mode = on ile alakalı bir sorun olduğunu düşünüyorum.
    Hosting sağlayıcınıza bu uyarıları bildirirseniz size daha iyi bi açıklama yapar.Scriptsel olarak başka bi müdahale de bulunamayız çünkü dosyay erişim iznimiz şu aşamada yok.
  • 10-04-2009, 01:42:12
    #23
    İlginiz için çok teşekkrüler.
  • 10-04-2009, 01:53:18
    #24
    Hangi sistem bu, orijinal posting.php ile karşılaştırdınız mı? Başlardaki include ler yerinde mi ?