رفتن به مطلب

لود نشدن صفحه اول انجمن


ارسال‌های توصیه شده

سلام 
دوستان من یک مشکلی دارم

انجمنم صفحه اولش بدون هیچ ارروری باز نمیشه و سفید رنگه 
اما لینک قسمت های مختلفش کار میکنه و میتونید با اون لینک ها برید و انجمن و ببینید اما صفحه اول لود نمیشه 
مشکل کجاست؟

 

انجمن:
www.forum.iranarma.com

 

لینک ارسال
به اشتراک گذاری در سایت های دیگر

  • مدیر کل بازنشسته سایت

سلام

داخل فایل error_log هم خطایی ثبت نشده ؟

کار خاصی روی انجمن انجام ندادین؟

 

لینک ارسال
به اشتراک گذاری در سایت های دیگر

[24-Jun-2018 19:33:06 UTC] PHP Fatal error:  Call to a member function modCpUrl() on null in /home/iranarma/public_html/Forum/applications/applicationform/extensions/core/Notifications/Submission.php on line 58

 

این خطا ثبت شده است.

کار خاصی هم من انجام ندادم

لینک ارسال
به اشتراک گذاری در سایت های دیگر

  • مدیر کل بازنشسته سایت

یکی از برنامه هایی که نصب کردین دچار این مشکل شده ، البته این خطا برای دو روز قبل از اینکه شما این موضوع رو ایجاد کنید هستش.

پوشه applicationform برای کدام برنامه است ؟ (اگر دسترسی به داشبورد دارید طبق راهنمایی دوستمون همه افزونه هارو غیرفعال کنید )

 

لینک ارسال
به اشتراک گذاری در سایت های دیگر

نه متاسفانه نمیتونم دسترسی داشته باشم 

فقط به سی پنل دسترسی دارم 
اپلیکیشن مربوط به ایجاد فرم هستش 
که نتونست اپدیت بشه با ورژن جدید انجمن

<?php

namespace IPS\applicationform\extensions\core\Notifications;

/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
    header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
    exit;
}

/**
 * Notification Options
 */
class _Submission
{
    /**
     * Get configuration
     *
     * @param    \IPS\Member    $member    The member
     * @return    array
     */
    public function getConfiguration( $member )
    {
        // Basically just return a list of the keys for the types of notification your app will send
        // keys can be anything you want. You can specify what should be the default value and any disabled values (acceptable values are "email" and "inline")
        // For each key, create a language string "notifications__<key>" which is what will display in the user's Notification Options screen

        return [
            'submission'    => array( 'default' => [ 'inline' ], 'disabled' => [] ),
        ];
    }

    // For each type of notification you need a method like this which controls what will be displayed when the user clicks on the notification icon in the header:
    // Note that for each type of notification you must *also* create email templates. See documentation for details: https://remoteservices.invisionpower.com/docs/devdocs-notifications

    /**
     * Parse notification: key
     *
     * @param    \IPS\Notification\Inline    $notification    The notification
     * @return    array
     * @code
     return [
         'title'        => "Mark has replied to A Topic",    // The notification title
         'url'            => \IPS\Http\Url::internal( ... ),    // The URL the notification should link to
         'content'        => "Lorem ipsum dolar sit",            // [Optional] Any appropriate content. Do not format this like an email where the text
                                                             //      explains what the notification is about - just include any appropriate content.
                                                             //      For example, if the notification is about a post, set this as the body of the post.
         'author'        =>  \IPS\Member::load( 1 ),            // [Optional] The user whose photo should be displayed for this notification
     ];

     * @endcode
     */
    public function parse_submission( \IPS\Notification\Inline $notification )
    {
        $submission = $notification->item;
        return [
            'title'        => "New submission",    // The notification title
            'url'            => $submission->modCpUrl(),    // The URL the notification should link to
            'author'        =>  \IPS\Member::load( $submission->member_id ),            // [Optional] The user whose photo should be displayed for this notification
        ];
    }
}

 

-----------------------------------------------------

این محتوای فایل مربوطس و قسمت مشخص شده دارای اشکاله 
این سند کجاش ایراد داره؟

ممنون میشم راهنمایی کنید

 

لینک ارسال
به اشتراک گذاری در سایت های دیگر

ورژن php بذار روی 7 بعدش دوباره تلاش کن برو داخل پلاگن ها تغییر نام بده فولدرو بعد وارد پیشخوان یاست شو ببین مشکل داره یا نه دیدی مشکل داره افزونه هارو دون به دونه فعال کن هر کدوم دچار مشکل بود را حذف کن

لینک ارسال
به اشتراک گذاری در سایت های دیگر

تغییر نام دادم پوشه پلاگین رو داخل هاستم اما نشد 
باز هم همون مشکل داره 
 

 

من تحت هیچ شرایطی نمیخوام اطلاعاتم بپره واقعا

 

لینک ارسال
به اشتراک گذاری در سایت های دیگر

  • بنیان گذار IPSFarsi

باسلام

وقت بخیر

اول از همه از کل فایل هاتون بکاپ بگیرید.

سپس پوشه اون برنامه رو پاک کنید ببینید چه اتفاقی میوفته.

نگران نباشید اگر با این روش درست نشد هم راهی می گیم که اطلاعات شما آسیب نبینه.

لینک ارسال
به اشتراک گذاری در سایت های دیگر

بایگانی شده

این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.

  • کاربران آنلاین در این صفحه   0 کاربر

    • هیچ کاربر عضوی،در حال مشاهده این صفحه نیست.
×
×
  • اضافه کردن...