My content doesn't publish / show in nav?

mrudo - July 25, 2008 - 09:49

I'm using a fresh install of v5.9

Whenever I choose PHP or Full html as the type of content, it doesn't publish.

I tried :

<?
echo 'Test';
?>

and

<?php
echo 'Test';
?>

and all that happens is I am returned to my homepage. The page isnt in the nav (despite choosing the option) and it doesn't seem to exist.

Only when I choose filtered html and type a messaeg without code... thats when it will publish

Am I missing something really obvious?

tried 6.2

mrudo - July 25, 2008 - 10:24

Ok I tried a fresh install of v6.2

Enabled the php module

Added a "Page"

Selected input as PHP

Added:

<?php
echo "Hello";
?>

to content. Added to Menu.

Clicked Publish / Make Home

Page vanished, took me back to the default fresh install page

Full HTML / PHP Content Not Publishing - SOLVED

mrudo - July 25, 2008 - 10:56

Ok I found the problem, but this is pretty huge??

I had to add the following to my .htaccess file to be able to publish content:

<IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
</IfModule>

Looks like that's the only

catch - July 25, 2008 - 11:24

Looks like that's the only way, there's an older discussion about this here: http://drupal.org/node/140356

 
 

Drupal is a registered trademark of Dries Buytaert.