ksani4 Posted April 26, 2014 Share Posted April 26, 2014 help, please understand. after transfer to another hosting site does not work. shows a blank page. after turning debug mode shows Notice: Undefined variable: image in / home / ... / .... / Docs / site / templates / base.inc on line 155 contents of the line 155: if ($ image) $ class. = "box-thumb"; Fatal error: Call to undefined function filter_var () in / home /.. / ... / Docs / wire / core / Sanitizer.php on line 317 contents of the line 317: $value = filter_var($value, FILTER_SANITIZE_URL); PHP5.3 MySQL: 5.1.16-beta Link to comment Share on other sites More sharing options...
apeisa Posted April 26, 2014 Share Posted April 26, 2014 Have you tried installing ProcessWire on that new host? Just to make sure all requirements are met. Then often these problems occur on file transfer - some files get lost, others lose some data and permissions have gone wrong etc... Link to comment Share on other sites More sharing options...
wayne Posted April 26, 2014 Share Posted April 26, 2014 Are you sure, that the PHP version on the new host is 5.3? The filter_var function should be a regular feature since PHP 5.2. Maybe there are different PHP versions configured for different domains/folders? (like you can do with .htaccess on some hosts) Link to comment Share on other sites More sharing options...
ksani4 Posted April 26, 2014 Author Share Posted April 26, 2014 for me it's a new engine, I saw him for the first time version PHP is correct . But I do not see .htaccess You can tell how to please? Link to comment Share on other sites More sharing options...
ksani4 Posted April 26, 2014 Author Share Posted April 26, 2014 Have you tried installing ProcessWire on that new host? Just to make sure all requirements are met. Then often these problems occur on file transfer - some files get lost, others lose some data and permissions have gone wrong etc... established ProcessWire on that new host. hosting meets. Link to comment Share on other sites More sharing options...
ksani4 Posted April 26, 2014 Author Share Posted April 26, 2014 I did Link to comment Share on other sites More sharing options...
apeisa Posted April 26, 2014 Share Posted April 26, 2014 Maybe edit your index.php and add these lines: echo 'Current PHP version: ' . phpversion(); echo '<br>'; if (function_exists('filter_var')) { echo "filter_var is available."; } else { echo "filter_var is not available"; } exit(); And tell us what you get when loading the site. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now