-
Search Results
-
I am getting this error on some of my pages. I apologize as I can not figure out what version of this system I have. It shows in a
…/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php on line 545I am happy to purchase the whole thing, if that will fix this. It is quite problematic.
Topic: Error in Amazon S3 Add On
Hi Guys,
I updated Download Manager and a few of the other Add On packages that were installed on a site.
Everything went ok apart from the Amazon S3 Add On.
The plugin installs ok but when I go to activate the file I get the following error message:-
“Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘[‘ in “**************”/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php on line 46”
The original plugin zip file was contained in the All-Add-Ons.zip Package that I purchased and downloaded yesterday.
This morning I also purchased the stand alone Amazon S3 Add On from the store and the same error message is being thrown up.
Kindest Regards,
Micheal
Hello
I followed instructions to update to the latest version of Download Manager but got the following when activating in the plugin page:
Fatal error: Call to undefined function wpdm_common_actions() in /home/reportau/public_html/wp-content/plugins/download-manager/download-manager.php on line 95
I can see that all the files uploaded OK.
Thanks
Hi team,
I’m supposed to launch http://rebeccak.co.nz in 24hs and while using Download Manager Pro should be a breeze it has proven to be a challenge. I must have a plugin (in this case Press Permit Core) to block “submit property” and “my property list” pages/menus that can be seen under the User Account menu by a logged subscriber. We cannot have users submitting properties to the system.
The plugin works fine, except that now I have a mega conflict with Download Manager Pro which I need to be resolved. With DMP plugin activated, when I try to ad/edit a page or package I get different errors.
At the moment there’s no Visual Builder, no text editor, screen options popdown is locked and etc…Screenshot here http://awesomescreenshot.com/01c5ws4k54
Earlier today I had error messages like; Fatal error: Uncaught Error: Class ‘PP_Ancestry’ not found in /home/MYUSER/public_html/wp-content/plugins/press-permit-core/hardway/hardway_pp.php:375 Stack trace: #0 /home/MYUSER/public_html/wp-content/plugins/press-permit-core/pp_main.php(139): PP_Hardway::flt_get_pages(Array, Array) #1 /home/MYUSER/public_html/wp-includes/plugin.php(235): PP->flt_get_pages(Array, Array) #2 /home/MYUSER/public_html/wp-includes/post.php(4752): apply_filters(‘get_pages’, Array, Array) #3 /home/MYUSER/public_html/wp-includes/post-template.php(1056): get_pages(Array) #4 /home/MYUSER/public_html/wp-admin/includes/meta-boxes.php(811): wp_dropdown_pages(Array) #5 /home/MYUSER/public_html/wp-admin/includes/template.php(1037): page_attributes_meta_box(Object(WP_Post), Array) #6 /home/MYUSER/public_html/wp-admin/edit-form-advanced.php(686): do_meta_boxes(Object(WP_Screen), ‘side’, Object(WP_Post)) #7 /home/MYUSER/public_html/wp-admin/post-new.php(85): include(‘/home/MYUSER/…’) #8 {main} thrown in /home/MYUSER/public_html/wp-content/plugins/press-permit-core/hardway/hardway_pp.php on line 375
And even crazier errors like the one on the attached screenshot. Sorry if info is a bit crazy, it’s just a reflection of today’s experience…
Please let me know if you need Admin access and I’ll setup for you asap.
Thanks,
AndreI just tried to upload version 4.5.5 and am getting this error: Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_STRING in /home/content/10/7442310/html/wp-content/plugins/download-manager/download-manager.php on line 11Help!!!!!!!
Topic: Fatal error
Hi !
When my users click download button they have fatal error, for me site works fine.
Topic: Fatal Error when activating
Hi, WPDM team,
Yesterday I renewed my PRO Version and followed these steps:
1.deactivated and deleted old version 4.3.0
2.uploaded version 4.5.5
When I tried to activate I got the massage in the attached image.Could you help me?
Thank you,
AdrianoPS.: I reinstalled 4.3.0 version but now the license is not recognized.
Topic: Site down – FATAL Error
My site automatically updated WordPress a couple of days ago. Today I logged in and had 3 plugin updates available, so I updated them – all successful. After those updates I cannot access my site at all and I get this error:
Fatal error: Call to undefined function WPDM\is_user_logged_in() in /home/content/97/3527697/html/wp-content/plugins/download-manager/libs/class.Package.php on line 1015
Site is http://www.mind-morph.com. Please help urgently!
Chris
We are getting this error when a link is clicked on a download item listing to go to the subsequent download detail page. Example via this page – http://bringbackbobwhites.org/download-category/nbci-documents/ – click any link on that page and get the error below.
Everything seemed to be working fine a day ago and now –
Fatal error: Call to undefined function in_page() in /home/nbci/bringbackbobwhites.org/wp-content/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 1
Thank you.
WrayTopic: Bugs and Errors
As I have tried different configurations to try and get the plugin working as I think it should, I have come across a few problems within it.
With the WP Dashboard and Downloads menu there is an option to view ‘Add-ons’, when selected I get this error
Fatal error: Out of memory (allocated 39583744) (tried to allocate 20 bytes) in /———–/wp-content/plugins/download-manager/admin/menus/class.Addons.php on line 37
In the templates area, the guide down the right gives a shortcode of ‘[gallery_WxH]’, I have tried to use this and it doesn’t work.
Also on the template page there is an option to add a featured image to the download page at the size you want. e.g at 250px width, this works OK in MS Edge browser, but all others still display the image at the upload size, so the page rendering is all out of sync.
Too many errors for a paid application IMHO, hopefully you will sort them soon :(((
Hello,
I deactivated and deleted previous version 4.2.2 and then uploaded 4.5.4
When trying to activate I get this error:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_STRING in D:\InetPub\vhosts\DOMAINNAME.com\httpdocs\wp-content\plugins\download-manager\download-manager.php on line 11
thanks,
Bob
Topic: Unable to add License
Hello,
I have purchased Download Manager Pro and following the installation guide, but I’m having problem. I’m unable to update the license. When I click on the “Save Settings” the license is not updated and the loader keeps spinning. I check the logs and found this error:2016/03/10 13:13:06 [error] 29808#29808: *1898 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘WPDM\admin\menus\WPDM_Messages’ not found in /var/www/html/wp-content/plugins/download-manager/admin/menus/class.Settings.php:255
Stack trace:
#0 [internal function]: WPDM\admin\menus\Settings->License()
#1 /var/www/html/wp-content/plugins/download-manager/admin/menus/class.Settings.php(27): call_user_func(Array)
#2 /var/www/html/wp-includes/plugin.php(525): WPDM\admin\menus\Settings->loadSettingsPage(”)
#3 /var/www/html/wp-admin/admin-ajax.php(89): do_action(‘wp_ajax_wdm_set…’)
#4 {main}
thrown in /var/www/html/wp-content/plugins/download-manager/admin/menus/class.Settings.php on line 255″ while reading response header from upstream, request: “POST /wp-admin/admin-ajax.php HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, referrer: “wp-admin/edit.php?post_type=wpdmpro&page=settings&tab=license”Hi!
i have created a category page from the menu but i don’t see the product list like http://themes.wpdownloadmanager.com/optimus/download-category/html-css/Can you help me?
The error is
FATAL ERROR: CALL TO UNDEFINED FUNCTION WPDMPP_PRODUCT_PRICE() IN /WEB/HTDOCS/WWW.LOGICASOFTWARE.IT/HOME/WP-CONTENT/THEMES/OPTIMUS/TAXONOMY-WPDMCATEGORY.PHP ON LINE 24I get the following fatal error when I try to activate the download manager (free):
Parse error: syntax error, unexpected T_STRING in /home/content/28/6375728/html/rwktest/wp-content/plugins/download-manager/download-manager.php on line 12
I installed the plugin directly from the WordPress plugins site.
We are using the wdpm-archive add-on. We upgraded to downloadmanager 4.5.4 and updated the add-on as well. It is showing as 2.8.1. When we load a page with the following shortcode, we get an internal server error 500. If you choose a category, it works fine. It seems to only be an issue when loading all the packages in a paged view. I also tried the [wpdm_all_packages] short code and it works fine.
http://ghpc.dev.gsu.edu/research_projects/publications-by-topic/
[wpdm-archive button_style=”default” cat_view=”compact”]
Console error message:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://ghpc.dev.gsu.edu/?wpdmtask=get_downloads&pg=30&category=0
Log Error Message:
PHP Fatal error: Cannot access empty property in /var/www/vhosts/dev.gsu.edu/wp-content/plugins/download-manager/libs/class.Package.php on line 218
Topic: Parse Error
Hi-
I just updated my downloads manager plugin and received this error: “Plugin could not be activated because it triggered a fatal error. Parse error: syntax error, unexpected T_STRING in /home/content/72/4997172/html/thefashionprofessor/wp-content/plugins/download-manager/download-manager.php on line 12”Not sure what to do – my clients cannot receive any of their downloads. Please help.
Thank you –
Dinna
————————–<?php
/*
Plugin Name: Download Manager
Plugin URI: http://www.wpdownloadmanager.com/purchases/
Description: Manage, Protect and Track File Downloads from your WordPress site
Author: Shaon
Version: 2.8.92
Author URI: http://www.wpdownloadmanager.com/
*/namespace WPDM;
if(!isset($_SESSION))
@session_start();define(‘WPDM_Version’,’2.8.92′);
$content_dir = str_replace(‘\\’,’/’,WP_CONTENT_DIR);
define(‘WPDM_ADMIN_CAP’,’manage_options’);
define(‘WPDM_MENU_ACCESS_CAP’,’manage_options’);
define(‘WPDM_BASE_DIR’,dirname(__FILE__).’/’);
define(‘WPDM_BASE_URL’,plugins_url(‘/download-manager/’));
define(‘UPLOAD_DIR’,$content_dir.’/uploads/download-manager-files/’);
define(‘WPDM_CACHE_DIR’,dirname(__FILE__).’/cache/’);
define(‘_DEL_DIR’,$content_dir.’/uploads/download-manager-files’);
define(‘UPLOAD_BASE’,$content_dir.’/uploads/’);
include_once(dirname(__FILE__) . “/wpdm-functions.php”);
include(dirname(__FILE__).”/wpdm-core.php”);
ini_set(‘upload_tmp_dir’,UPLOAD_DIR.’/cache/’);
if(!$_POST) $_SESSION[‘download’] = 0;
class WordPressDownloadManager{
function __construct(){
register_activation_hook(__FILE__, array($this, ‘Install’));
add_action( ‘init’, array($this, ‘registerPostTypeTaxonomy’), 1 );
add_action( ‘plugins_loaded’, array($this, ‘LoadTextdomain’) );
add_action( ‘wp_enqueue_scripts’, array($this, ‘EnqueueScripts’) );add_action( ‘wp_head’, array($this, ‘wpHead’) );
add_action( ‘wp_footer’, array($this, ‘wpFooter’) );spl_autoload_register( array( $this, ‘AutoLoad’ ) );
new \WPDM\libs\UserDashboard();
new \WPDM\libs\Apply();
new \WPDM\admin\WordPressDownloadManagerAdmin();
new \WPDM\libs\ShortCodes();}
/**
* @usage Install Plugin
*/
function Install(){
global $wpdb;delete_option(‘wpdm_latest’);
$sqls[] = “CREATE TABLE IF NOT EXISTS
{$wpdb->prefix}ahm_download_stats(
idint(11) NOT NULL AUTO_INCREMENT,
pidint(11) NOT NULL,
uidint(11) NOT NULL,
oidvarchar(100) NOT NULL,
yearint(4) NOT NULL,
monthint(2) NOT NULL,
dayint(2) NOT NULL,
timestampint(11) NOT NULL,
ipvarchar(20) NOT NULL,
PRIMARY KEY (id)
)”;$sqls[] = “CREATE TABLE IF NOT EXISTS
{$wpdb->prefix}ahm_emails(
idint(11) NOT NULL AUTO_INCREMENT,
emailvarchar(255) NOT NULL,
pidint(11) NOT NULL,
dateint(11) NOT NULL,
custom_datatext NOT NULL,
request_statusINT( 1 ) NOT NULL,
PRIMARY KEY (id)
)”;require_once(ABSPATH . ‘wp-admin/includes/upgrade.php’);
foreach($sqls as $sql){
//$wpdb->query($sql);
dbDelta($sql);
}$this->RegisterPostTypeTaxonomy();
flush_rewrite_rules();
self::CreateDir();}
/**
* @usage Load Plugin Text Domain
*/
function loadTextdomain(){
load_plugin_textdomain(‘wpdmpro’, WP_PLUGIN_URL . “/download-manager/languages/”, ‘download-manager/languages/’);
}/**
* @usage Register WPDM Post Type and Taxonomy
*/
public function registerPostTypeTaxonomy()
{
$labels = array(
‘name’ ► __(‘Downloads’, ‘wpdmpro’),
‘singular_name’ ► __(‘File’, ‘wpdmpro’),
‘add_new’ ► __(‘Add New’, ‘wpdmpro’),
‘add_new_item’ ► __(‘Add New File’, ‘wpdmpro’),
‘edit_item’ ► __(‘Edit File’, ‘wpdmpro’),
‘new_item’ ► __(‘New File’, ‘wpdmpro’),
‘all_items’ ► __(‘All Files’, ‘wpdmpro’),
‘view_item’ ► __(‘View File’, ‘wpdmpro’),
‘search_items’ ► __(‘Search Files’, ‘wpdmpro’),
‘not_found’ ► __(‘No File Found’, ‘wpdmpro’),
‘not_found_in_trash’ ► __(‘No Files found in Trash’, ‘wpdmpro’),
‘parent_item_colon’ ► ”,
‘menu_name’ ► __(‘Downloads’, ‘wpdmpro’));
$args = array(
‘labels’ ► $labels,
‘public’ ► true,
‘publicly_queryable’ ► get_option(‘__wpdm_publicly_queryable’, 1),
‘show_ui’ ► true,
‘show_in_menu’ ► true,
‘show_in_nav_menus’ ► true,
‘query_var’ ► true,
‘rewrite’ ► array(‘slug’ ► ‘download’, ‘with_front’ ► (bool)get_option(‘__wpdm_purl_with_front’, false)), //get_option(‘__wpdm_purl_base’,’download’)
‘capability_type’ ► ‘post’,
‘has_archive’ ► (get_option(‘__wpdm_has_archive’, false)==false?false:sanitize_title(get_option(‘__wpdm_archive_page_slug’, ‘all-downloads’))),
‘hierarchical’ ► false,
‘taxonomies’ ► array(‘post_tag’),
‘menu_icon’ ► ‘dashicons-download’,
‘exclude_from_search’ ► (bool)get_option(‘__wpdm_exclude_from_search’, false),
‘supports’ ► array(‘title’, ‘editor’, ‘publicize’, ‘excerpt’, ‘custom-fields’, ‘thumbnail’, ‘tags’, ‘comments’,’author’));
register_post_type(‘wpdmpro’, $args);
$labels = array(
‘name’ ► __(‘Categories’, ‘wpdmpro’),
‘singular_name’ ► __(‘Category’, ‘wpdmpro’),
‘search_items’ ► __(‘Search Categories’, ‘wpdmpro’),
‘all_items’ ► __(‘All Categories’, ‘wpdmpro’),
‘parent_item’ ► __(‘Parent Category’, ‘wpdmpro’),
‘parent_item_colon’ ► __(‘Parent Category:’, ‘wpdmpro’),
‘edit_item’ ► __(‘Edit Category’, ‘wpdmpro’),
‘update_item’ ► __(‘Update Category’, ‘wpdmpro’),
‘add_new_item’ ► __(‘Add New Category’, ‘wpdmpro’),
‘new_item_name’ ► __(‘New Category Name’, ‘wpdmpro’),
‘menu_name’ ► __(‘Categories’, ‘wpdmpro’),
);$args = array(
‘hierarchical’ ► true,
‘labels’ ► $labels,
‘show_ui’ ► true,
‘show_admin_column’ ► true,
‘query_var’ ► true,
‘rewrite’ ► array(‘slug’ ► ‘download-category’),
);register_taxonomy(‘wpdmcategory’, array(‘wpdmpro’), $args);
}
/**
* @usage Create upload dir
*/
public static function createDir()
{
if (!file_exists(UPLOAD_BASE)) {
@mkdir(UPLOAD_BASE, 0755);
}
@chmod(UPLOAD_BASE, 0755);
@mkdir(UPLOAD_DIR, 0755);
@chmod(UPLOAD_DIR, 0755);
self::setHtaccess();
if (isset($_GET[‘re’]) && $_GET[‘re’] == 1) {
if (file_exists(UPLOAD_DIR)) $s = 1;
else $s = 0;
echo “<script>
location.href='{$_SERVER[‘HTTP_REFERER’]}&success={$s}’;
</script>”;
die();
}
}/**
* @usage Protect Download Dir using .htaccess rules
*/
public static function setHtaccess()
{
\WPDM\FileSystem::blockHTTPAccess(UPLOAD_DIR);
}/**
* @usage Enqueue all styles and scripts
*/
function enqueueScripts()
{
global $post;wp_enqueue_script(‘jquery’);
wp_enqueue_script(‘jquery-form’);$wpdmss = maybe_unserialize(get_option(‘__wpdm_disable_scripts’, array()));
//if((is_object($post) && has_shortcode($post->post_content,’wpdm_frontend’)) || get_post_type()==’wpdmpro’ )
if (!in_array(‘wpdm-font-awesome’, $wpdmss))
wp_enqueue_style(‘font-awesome’, WPDM_BASE_URL.’assets/font-awesome/css/font-awesome.min.css’);if(is_object($post) && ( has_shortcode($post->post_content,’wpdm_frontend’) || has_shortcode($post->post_content,’wpdm-package-form’) || has_shortcode($post->post_content,’wpdm_user_dashboard’) || has_shortcode($post->post_content,’wpdm-file-browser’) ) ){
wp_enqueue_script(‘jquery-ui’);
wp_enqueue_script(‘jquery-ui-datepicker’);
wp_enqueue_script(‘thickbox’);
wp_enqueue_style(‘thickbox’);
wp_enqueue_script(‘media-upload’);
wp_enqueue_media();
}if(get_post_type()==’wpdmpro’ && is_single()){
wp_enqueue_script(‘wpdm-datatable’, plugins_url(‘/download-manager/assets/js/jquery.dataTables.min.js’), array(‘jquery’));
}if (!in_array(‘wpdm-bootstrap-css’, $wpdmss))
wp_enqueue_style(‘wpdm-bootstrap’, plugins_url(‘/download-manager/assets/bootstrap/css/bootstrap.css’));wp_enqueue_style(‘wpdm-front’, plugins_url() . ‘/download-manager/assets/css/front.css’);
if (!in_array(‘wpdm-bootstrap-js’, $wpdmss))
wp_enqueue_script(‘wpdm-bootstrap’, plugins_url(‘/download-manager/assets/bootstrap/js/bootstrap.min.js’), array(‘jquery’));wp_enqueue_script(‘frontjs’, plugins_url(‘/download-manager/assets/js/front.js’), array(‘jquery’));
wp_enqueue_script(‘jquery-choosen’, plugins_url(‘/download-manager/assets/js/chosen.jquery.min.js’), array(‘jquery’));
//wp_enqueue_style(‘choosen-css’, plugins_url(‘/download-manager/assets/css/chosen.css’), 999999);}
/**
* @usage insert code in wp head
*/
function wpHead(){
?><script>
var wpdm_site_url = ‘<?php echo site_url(‘/’); ?>’;
var wpdm_home_url = ‘<?php echo home_url(‘/’); ?>’;
var ajax_url = ‘<?php echo admin_url(‘admin-ajax.php’); ?>’;
</script><?php
}/**
* @usage insert code in wp footer
*/
function wpFooter(){
if(is_single()&&get_post_type()==’wpdmpro’){
?>
<script>
jQuery(function($){
$.get(‘<?php echo ‘index.php?_nonce=’.wp_create_nonce(‘__wpdm_view_count’).’&id=’.get_the_ID(); ?>’);
});
</script>
<?php
}
}/**
* @param $name
* @usage Class autoloader
*/
function AutoLoad($name) {
$name = str_replace(“WPDM_”,””, $name);
$name = str_replace(“WPDM\\”,””, $name);
$relative_path = str_replace(“\\”, “/”, $name);
$parts = explode(“\\”, $name);
$class_file = end($parts);
if(file_exists(WPDM_BASE_DIR.”libs/class.{$name}.php”)){
require_once WPDM_BASE_DIR.”libs/class.{$name}.php”;
} else if(file_exists(WPDM_BASE_DIR.str_replace($class_file, ‘class.’.$class_file.’.php’, $relative_path))){
require_once WPDM_BASE_DIR.str_replace($class_file, ‘class.’.$class_file.’.php’, $relative_path);
}
}}
new \WPDM\WordPressDownloadManager();
Topic: Error when activating
I am trying to activate the plugin and get the following error. I am using version 5.4.24 of PHP.
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected T_STRING in /home3/jonplotn/public_html/nlccommunity/wp-content/plugins/download-manager/download-manager.php on line 12
I am experiencing a fatal page error when adding a new file and clicking on Google Explorer button. First off, it was developed to trigger a pop-up window, which I feel is a lazy decision, but also understand I am utilizing the free version. Once pop-up is allowed, the pop-up opens, immediately aborts, and does not release the main active window (i.e. if any additional data was inputted in the “Add New File” post, it will be lost since I can’t save…I have to refresh the page). After running through the normal WP plugin troubleshooting steps (i.e. disable plugin’s, check theme’s, etc), I headed to the page logs and the following page fault is reported.
“Uncaught ReferenceError: init is not defined —–picker:3” picker:3 references “post-new.php?post_type=wpdmpro”
Please do not take this as dissatisfaction with your products, but more of some helpful feedback. As a veteran developer/freelancer, I was in the process of evaluating your offering for implementation into my numerous clients web services. I am pleased with your plugin and the various addon’s offered and hope to move forward with numerous license purchases for my clients which will hopefully benefit you. However, at this time, Google integration is a must, especially the Drive API. I will continue to debug and identify the issue, I just do not have the time at the moment and felt in would benefit you of errors encountered.
Thanks and keep up the good work!
Brad
Topic: Fatal Error
I have a site that suddenly quit working. All it would show was an error message involving download manager. I manually removed the plugin to get the site back up, downloaded the current zip file and reinstalled. When reinstalling it tells me it can’t be activated because of a fatal error:
Parse error: syntax error, unexpected T_STRING in /home3/etietze/public_html/cwalocal6372/wp-content/plugins/download-manager/download-manager.php on line 12
I can’t get the latest update working on either of two sites where I use it. In both cases I got the following error message when updating:
Parse error: syntax error, unexpected T_STRING in D:\Hosting\#######\html\SITENAME\wp-content\plugins\download-manager\download-manager.php on line 12
Upon trying the update, I get this message and had to remove the plugin folder via FTP to get the site working again. Then when I attempted a fresh install, I simply got the message that the plugin could not be activated because it triggered a fatal error. I do have the latest WP version installed.
Not sure what to try, and I liked this plugin very much–any ideas would be appreciated.