PHP input filter not visible

Discussion in 'Drupal' started by lucccy, Feb 2, 2011.

  1. #1
    Hey guys,
    when creating a node you normally can choose between filtered html, full html and php.

    The php option is not visible in my actual drupal installation when creating a node, i have turned on the php filter core modul but i cant get this option visible.

    Thanks for help!

    regards,
    lucccy
     
    lucccy, Feb 2, 2011 IP
  2. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #2
    Make sure:
    1) PHP filter module is enabled.
    2) You have permission to use PHP filter.


    Login using main admin account and check.
     
    aap, Feb 2, 2011 IP
  3. lucccy

    lucccy Guest

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hey,
    thanks for your reply!

    the php filter module is enabled.
    have also checked the permissions.

    I have this problem since i have installed a premium theme with his databank tables had not disabled the non core modules when i updated the database.

    When the update was finished almost all non core modules were disabled and almost all core modules enabled.

    When i have the modules i needed enabled again they gave some error messages of dublicate tables.

    However everything seems to work fine now, cron runs without errors but the php option is still missing when creating a node.

    regards,
    lucccy

    regards,
    lucccy
     
    lucccy, Feb 3, 2011 IP
  4. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #4
    1) Increase php memory limit. Drupal is good with 128 MB PHP memory limit.
    2) Set theme to Garland or any other default theme.
    3) Run Drupal update. domain.com/update.php

    That should solve your problem.
     
    aap, Feb 3, 2011 IP
  5. Caitlyn

    Caitlyn Guest

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Check php module is selected or not. memory limit should be high
     
    Caitlyn, Feb 3, 2011 IP