Application Error Disclosure - HTML

Filed under PHP 7.1

Sunday
26.
March 2017

Application Error Disclosure

After a few OWASP Penetration tests an “Application Error Disclosure” error has occurred.

PHP Warning: Smarty error: validate: validator id ‘name’ is not registered. in …
PHP Warning: Smarty error: validate: validator id ‘email’ is not registered. in …
PHP Warning: Smarty error: validate: validator id ‘www’ is not registered. in …
PHP Warning: Smarty error: validate: validator id ‘content’ is not registered. in …

This Smarty Validate Class error should have been fixed since a few years, but were still contained.

HTML - Responsive web design (RWD)

If you want to make your Flatpress theme suitable for mobile devices and test against the NU HTML Validator, you get some errors.

Changed line 170 in /fp-includes/core/core.theme.php from

echo '<link media="screen,projection,handheld" href="';

to

echo '<link media="screen" href="';

Flatpress fulltext search warnings

Filed under PHP 7.1

Saturday
11.
March 2017

Remove a few warnings in the fulltext search. It seems to be an old bug, because it appears on older php versions with the same warning.

/search.php on line 88
Warning: Illegal string offset ‘fullparse’ in …
Warning: Cannot assign an empty string to a string offset in …
/search.php on line 91
Warning: Illegal string offset ‘fullparse’ in …
/search.php on line 116
Warning: Illegal string offset ‘fullparse’ in …
/search.php on line 119
Notice: Undefined index: content in …

Calendar

  • March 2017
    SunMonTueWedThuFriSat
     1234
    567891011
    12131415161718
    19202122232425
    262728293031 

Admin area

 

Top of Page