Files Not Showing
Permalink
After migrated to new server all files/image is not showing and has na error of "display($c); ?> "
Here is the website please helphttp://mydreamswillcometrue.com...
Here is the website please helphttp://mydreamswillcometrue.com...
Maybe check php settings on the new server? Perhaps it does not support short tags?
Hi Katalysis,
php.ini is:
; short_open_tag
; Default Value: On
; Development Value: Off
; Production Value: Off
Cheers,
Edzel
php.ini is:
; short_open_tag
; Default Value: On
; Development Value: Off
; Production Value: Off
Cheers,
Edzel
; This directive determines whether or not PHP will recognize code between
; <? and ?> tags as PHP source which should be processed as such. It is
; generally recommended that <?php and ?> should be used and that this feature
; should be disabled, as enabling it may result in issues when generating XML
; documents, however this remains supported for backward compatibility reasons.
; Note that this directive does not control the <?= shorthand tag, which can be
; used regardless of this directive.
; Default Value: On
; Development Value: Off
; Production Value: Off
;http://php.net/short-open-tag
short_open_tag = Off
; <? and ?> tags as PHP source which should be processed as such. It is
; generally recommended that <?php and ?> should be used and that this feature
; should be disabled, as enabling it may result in issues when generating XML
; documents, however this remains supported for backward compatibility reasons.
; Note that this directive does not control the <?= shorthand tag, which can be
; used regardless of this directive.
; Default Value: On
; Development Value: Off
; Production Value: Off
;http://php.net/short-open-tag
short_open_tag = Off
Could you post some of the code that's causing the error?
Working now after editing:
short_open_tag = Off
short_open_tag = On
short_open_tag = Off
short_open_tag = On