• Create an account
    *
    *
    *
    *
    *
    Fields marked with an asterisk (*) are required.
  • Saturday, Apr 19

    Last update01:38:05 PM

    Welcome, Guest
    Username: Password: Remember me
    • Page:
    • 1

    TOPIC: [SOLVED] php error/notice displaying on article pages

    [SOLVED] php error/notice displaying on article pages 3 years 5 months ago #1943

    • JayW
    • JayW's Avatar
    • OFFLINE
    • Fresh Boarder
    • Posts: 12
    • Karma: 0
    Content - KA Facebook Like and Share: Version: 1.5.x.3.2
    PHP Version: 5.2.10
    Joomla! Version: Joomla! 1.5.20 Stable [ senu takaa ] 18-July-2010 18:00 GM


    The plugin is causing the following notice to display on the article pages and I've tried everything I can think of to make it go away.

    I'm not sure what else I can do.



    I have tried to suppress the display of php errors and notices
    Notice: Undefined property: stdClass::$permalink in /home/wakulla/public_html/plugins/content/kafacebooklike.php on line 366

    On page: www.wakulla.com/Community/Arts_and_Enter...op%22_2010102710935/
    This image is hidden for guests. Please log in or register to see it.



    First I added the following commands to .htaccess:
    # PHP error handling for production servers
    php_flag display_startup_errors off
    php_flag display_errors off
    php_flag html_errors off
    php_flag log_errors on
    php_flag ignore_repeated_errors off
    php_flag ignore_repeated_source off
    php_flag report_memleaks on
    php_flag track_errors on
    php_value docref_root 0
    php_value docref_ext 0
    # [see footnote 3] # php_value error_reporting 999999999
    php_value log_errors_max_len 0
    # enable PHP error logging
    php_flag  log_errors on
    php_value error_log  /home/wakulla/PHP_errors.log
     
    # prevent access to PHP error log
    <Files /home/wakulla/PHP_errors.log>
     Order allow,deny
     Deny from all
     Satisfy All
    </Files>

    Then I updated php.ini vi whm/cpanel to not display any errors on the user screen: This image is hidden for guests. Please log in or register to see it.
    Attachments:
    • Attachment This image is hidden for guests. Please log in or register to see it.
    • Attachment This image is hidden for guests. Please log in or register to see it.
    Last Edit: 3 years 4 months ago by khawaib.
    The topic has been locked.

    Re:php error/notice displaying on article pages 3 years 5 months ago #1970

    • zaheerkaka
    • zaheerkaka's Avatar
    • OFFLINE
    • Moderator
    • Posts: 1751
    • Thank you received: 28
    • Karma: 9
    Hi,

    In your CPanel enter
    E_ALL ^ E_NOTICE
    in error_reporting field and test again.

    regards
    Please include following information when posting for help:
    Detail of problem | URL of page where you having problem | Extension name and version being used | Joomla version | PHP version

    KA EXTENSIONS
    Facebook Fanbox Pro | Social LinkedIn | Social Sharing | Facebook Like and Share | Facebook...
    Last Edit: 3 years 5 months ago by zaheerkaka.
    The topic has been locked.

    Re:php error/notice displaying on article pages 3 years 5 months ago #1984

    • JayW
    • JayW's Avatar
    • OFFLINE
    • Fresh Boarder
    • Posts: 12
    • Karma: 0
    zaheerkaka wrote:
    Hi,

    In your CPanel enter
    E_ALL ^ E_NOTICE
    in error_reporting field and test again.

    regards

    Made the change, cleared cache and it's still displaying.

    I also made sure that there was not a php.ini in webroot or the account root "/home/wakulla" This image is hidden for guests. Please log in or register to see it.
    Attachments:
    • Attachment This image is hidden for guests. Please log in or register to see it.
    The topic has been locked.

    Re:php error/notice displaying on article pages 3 years 4 months ago #2136

    • JayW
    • JayW's Avatar
    • OFFLINE
    • Fresh Boarder
    • Posts: 12
    • Karma: 0
    Any other suggestions?
    The topic has been locked.

    Re:php error/notice displaying on article pages 3 years 4 months ago #2147

    • zaheerkaka
    • zaheerkaka's Avatar
    • OFFLINE
    • Moderator
    • Posts: 1751
    • Thank you received: 28
    • Karma: 9
    Hi,

    This is best to fix at server level by hiding notice messages as you will getting these all over the site by many extensions. We will fix these messages in coming versions.

    Regards
    Please include following information when posting for help:
    Detail of problem | URL of page where you having problem | Extension name and version being used | Joomla version | PHP version

    KA EXTENSIONS
    Facebook Fanbox Pro | Social LinkedIn | Social Sharing | Facebook Like and Share | Facebook...
    Last Edit: 3 years 4 months ago by khawaib.
    The topic has been locked.
    • Page:
    • 1
    Time to create page: 0.441 seconds