Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
ok, I changed line 17. and everything is ok 🙂
Hello there,
I have the same problem. I have changed this line in swift-framework/sf-shortcodes/config.php
require_once( sf_wp_path() . ‘/wp-load.php’ );
into this:
require_once( sf_wp_path() . ‘\wp-load.php’ );
and now there is a message:
“Parse error: syntax error, unexpected ‘[‘ in /wp-content/themes/dante/swift-framework/sf-shortcodes/config.php on line 4”
This is my config.php file in /swift-framework/sf-shortcodes/config.php line
<?php
if (!function_exists(‘sf_wp_path’)) {
function sf_wp_path() {
if (strstr( SF_SERVER[“SCRIPT_FILENAME”], “/wp-content/”)) {
return preg_replace(“/\/wp-content\/.*/”, “”, SF_SERVER[“SCRIPT_FILENAME”]);
} else {
return preg_replace(“/\/[^\/]+?\/themes\/.*/”, “”, SF_SERVER[“SCRIPT_FILENAME”]);
}
}
}sf_wp_path = sf_wp_path();
if (strpos( sf_wp_path, ‘/’) !== false) {
require_once( sf_wp_path() . ’/wp-load.php’ );
} else {
require_once( sf_wp_path() . ‘\wp-load.php’ );
}
?>What is wrong? Can you help me?
arek
Hi bujma!
I switched off stats and … it works 🙂 many, many thanks for your help.
arek
Ok, it works 🙂
I changed line 13 in includes/options/defaults.php into:
if(!defined(‘Redux_OPTIONS_URL’)) {
define(‘Redux_OPTIONS_URL’, get_template_directory_uri().’/includes/options/’);
// define(‘Redux_OPTIONS_URL’, get_template_directory_uri().’/includes/options/’); // COMMENT OUT FOR IIS SERVERS
} -
Posted in: We hit Power Elite.