Category: Resourcespace

 

is there any solution fo Resourcespace, error using “Replace file” option Server side error!

is there any solution fo Resourcespace, error using “Replace file” option Server side error!

When trying to replace a file on resource,


Server side error! Please check the log and contact the system administrator!

Checking the resourcespace code, on the file /pages/upload_plupload.php, the only message on the entire with this error message:


....
upRedirBlock = true;
                                    uploaderrormessage = 'Server side error! Please check the log and contact the system administrator!';
                                    jQuery("#upload_log").append("\r\n" + jQuery('' + info.response.replace(/\s\s/g," ") + '').text());
                                    styledalert("", uploaderrormessage );
....

Resourcespace, tmp folder and purge_temp_folder_age

The Resourcespace, tmp folder and purge_temp_folder_age,
ResourceSpace open source digital asset management software is the simple, fast, & free way to organise your digital assets

The resourcespace keeps the temporal files /filestore/tmp. So reduce your using of the storage, you may reduce time the system will keep those temporal:
Option for the system to empty the configured temp folder of old files when it is creating new temporary files there.
Expressed as a number of days. If the age of the temporary folder exceeds this number of days then it will be deleted.
Set to 0 (off) by default.
Please use with care e.g. make sure your IIS/Apache service account doesn’t have write access to the whole server
Go to include/config.php search for “purge_temp_folder_age”, and setup to 0 like that
$purge_temp_folder_age=0;


<?php
###############################
## ResourceSpace
## Local Configuration Script
###############################

# All custom settings should be entered in this file.
# Options may be copied from config.default.php and configured here.

# MySQL database settings
$mysql_server = '127.0.0.1';
$mysql_username = 'root';
$mysql_password = '';
$mysql_db = 'you_database_name';

# Base URL of the installation
$baseurl = 'http://localhost/archive';

# Email settings
$email_notify = 'your_email@youremaildomain';
$email_from = 'no-reply@youremaildomain';
# Secure keys
$spider_password = 'your_spider_password';
$scramble_key = 'your_scramble_key';
$api_scramble_key = 'Your_api_scramble_key';

# Paths
$config_windows = true;

$storagedir ='C:\\xampp\\htdocs\\archive\\filestore';

/*

New Installation Defaults
-------------------------

The following configuration options are set for new installations only.
This provides a mechanism for enabling new features for new installations without affecting existing installations (as would occur with changes to config.default.php)

*/
                                
// Set imagemagick default for new installs to expect the newer version with the sRGB bug fixed.
$imagemagick_colorspace = "sRGB";
$imagemagick= "c:\\imagemagick"; 

$contact_link=false;

$slideshow_big=true;
$home_slideshow_width=1920;
$home_slideshow_height=1080;

$themes_simple_view=true;
$themes_category_split_pages=true;
$theme_category_levels=8;

$stemming=true;
$case_insensitive_username=true;
$user_pref_user_management_notifications=true;
$themes_show_background_image = true;

$use_zip_extension=true;
$collection_download=true;

$ffmpeg_preview_force = true;
$ffmpeg_preview_extension = 'mp4';
$ffmpeg_preview_options = '-f mp4 -b:v 1200k -b:a 64k -ac 1 -c:v h264 -c:a aac -strict -2';

$daterange_search = true;
$upload_then_edit = true;
$search_filter_nodes = true;

$purge_temp_folder_age=0;
$filestore_evenspread=true;
$debug_log          = true;
$debug=true;
$debug_log_location ="C:\\xampp\\htdocs\\archive\\logs\\logs.log";
$anonymous_login="guest";