Active
Project:
Ferry
Version:
7.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 May 2013 at 10:26 UTC
Updated:
11 Aug 2013 at 09:14 UTC
Jump to comment: Most recent file
I enabled the "php-filter" module, set permissions to administrator, created a new "basic page" with the following php-content in the body:
print "Hello, world!";
But the preview of the "basic page" and the "basic page" itself did not show anything.
The same problem I have had with dev-7.x-0.8 plus 6 and dev-7.x-0.8 plus 10
For comparison drupal core 7.22 works with "php-filter" as expected.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | PHPcode.png | 22 KB | bart.hanssens |
| #2 | recent_log_messages.pdf | 34.15 KB | Metulski |
| #2 | status_report.pdf | 35.25 KB | Metulski |
| php_filter_does_not_work_with_ferry_distribution.png | 14.54 KB | Metulski |
Comments
Comment #1
bart.hanssens commentedStrange, seems to work on my test machine..
Are there any warnings/errors in the status report (
admin/reports/status) ?Comment #2
Metulski commentedI attached my "status report" and my "recent log messages" but I could not find any suspicious entries.
The "HTTP request status Fails" error cannot be the reason because this error is shown on my naked working drupal core installation, too.
Please note that my domain runs on php-5.4.13 and I have seen this comment on the ferry project site:
Upon installation on SQLite + PHP 5.4, a lot of Illegal string offset 'field' in DatabaseCondition->__clone() warnings are shown, see also http://drupal.org/node/1483986
I have never tryed to run ferry with enabled php-filter on my php-5.3.x installation before.
Comment #3
bart.hanssens commentedThanks for testing. I've been able to replicate the problem with a PHP 5.4 XAMP, so I'll dig into it...
Comment #4
bart.hanssens commentedIt seems that the
PHP evaluatormust be enabled inadmin/config/content/formats/php_code.(Can be reached via admin menu,
Configuration > Content Authoring > Text Formats, then click onPHP codeComment #5
Metulski commentedThat's it!
Thank's for your help!
Comment #6
kuldeep kaushik commentedi am using recruiter drupal 7 but php filter is not working in it after selecting php code as text format. please help