1 decade ago by krzysztofjankowski
I upgraded to the Mavericks and Weltmeister don't work any longer. I check on every project I have and it's the same error:
Do anyone known what's change in apache server and what I need to do to fix this?
edit: it looks like update to the OSX overwrite the apache configuration. I enabled the php5 module in /etc/apache2/httpd.conf and it works ok :)
admin: delete this or leave for others that upgrade and was shocked what is going on.
[Error] Failed to load entity list via glob.php: SyntaxError: JSON Parse error: Unrecognized token '<'
<?php
require_once( 'config.php' );
$globs = is_array($_GET['glob']) ? $_GET['glob'] : array($_GET['glob']);
$files = array();
foreach( $globs as $glob ) {
$pattern = WM_Config::$fileRoot . str_replace( '..', '', $glob );
$currentFiles = glob( $pattern );
if( $currentFiles !== false ) {
$files = array_merge( $files, $currentFiles );
}
}
$fileRootLength = strlen( WM_Config::$fileRoot );
foreach( $files as $i => $f ) {
$files[$i] = substr( $f, $fileRootLength );
}
echo json_encode( $files );
?>
error (entities.js, line 54)
n (jquery-1.7.1.min.js, line 2)
fireWith (jquery-1.7.1.min.js, line 2)
w (jquery-1.7.1.min.js, line 4)
d (jquery-1.7.1.min.js, line 4)
send (jquery-1.7.1.min.js, line 4)
ajax (jquery-1.7.1.min.js, line 4)
(anonymous function) (entities.js, line 21)
_execModules (impact.js, line 319)
_initDOMReady (impact.js, line 399)
defines (impact.js, line 254)
Do anyone known what's change in apache server and what I need to do to fix this?
edit: it looks like update to the OSX overwrite the apache configuration. I enabled the php5 module in /etc/apache2/httpd.conf and it works ok :)
admin: delete this or leave for others that upgrade and was shocked what is going on.
