By Anonymous (not verified) on
Hi,
I tried to create a page by PHP codes. However, it did not work out. It seems that PHP codes were not parsed since I got a blank page. The input form was set to "PHP code". Any suggestion about this problem would be appreciated. Thanks.
Comments
Silly question perhaps, but
Silly question perhaps, but I don't know what else you could've done wrong so: Did you still use php-tags?
Actually never mind in that case you don't get a blank page. It must be a bug in your code.
Hi, thanks for the response.
Hi, thanks for the response. I tried to use PHP code like
I got a blank page. If I removed php tags, just wrote something like
echo "test";
then 'echo "test";' would be displayed on page.
If I used the codes like
<?php
echo "test";
I got a blank page again.
Hi, thanks. I foud another
Hi, thanks. I foud another posting about this problem http://drupal.org/node/226102. I changed the settings of input format and it fixed my problem. I agree with that author, there is something wrong in the initial status.
Sounds like it indeed!
Sounds like it indeed!
Problem is WYSIWYG editor
Disable WYSIWYG module and it will work!
I tried workaround by not allowing access permission to WYSIWYG for a new created role, however WYSIWYG kept showing!