1
Feedback & Suggestions / Re: The download link is not working
« on: July 18, 2024, 08:19:51 AM »
Download wieder fehlerhaft!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Danke für das Feedback, wir prüfen das.
"cat_description" => htmlspecialchars(format_text($cat_cache[$cat_id]['cat_description'], 1, 0, 1)),
Add after"cat_second_description" => htmlspecialchars(format_text($cat_cache[$cat_id]['cat_second_description'], 1, 0, 1)),
$sql = "SELECT cat_id, cat_name, cat_description,
find and Replacecat_description,
Withcat_second_description,
$rss_desc = format_rss_html($cat_cache[$cat_id]['cat_description']);
Replace with$rss_desc = format_rss_html($cat_cache[$cat_id]['cat_description']."\n".$cat_cache[$cat_id]['cat_second_description']);
$cat_description = un_htmlspecialchars(trim($HTTP_POST_VARS['cat_description']));
Add after$cat_second_description = un_htmlspecialchars(trim($HTTP_POST_VARS['cat_second_description']));
$sql = "INSERT INTO ".CATEGORIES_TABLE."
Find(cat_name, cat_description,
Replace with(cat_name, cat_description, cat_second_description,
Find('$cat_name', '$cat_description',
Replace with('$cat_name', '$cat_description', '$cat_second_description',
show_textarea_row($lang['field_description_ext'], "cat_description", "", $textarea_size);
Add aftershow_textarea_row("Second ".$lang['field_description_ext'], "cat_second_description", "", $textarea_size);
$cat_description = strip_tags(un_htmlspecialchars(trim($HTTP_POST_VARS['cat_description'])), '<div><p><a><strong><bold><i><em><u><h1><h2><h3><h4><h5><h6><span>');
Add after$cat_second_description = strip_tags(un_htmlspecialchars(trim($HTTP_POST_VARS['cat_second_description'])), '<div><p><a><strong><bold><i><em><u><h1><h2><h3><h4><h5><h6><span>');
$sql = "UPDATE ".CATEGORIES_TABLE."
SET cat_name = '$cat_name', cat_description = '$cat_description',
Replace with $sql = "UPDATE ".CATEGORIES_TABLE."
SET cat_name = '$cat_name', cat_description = '$cat_description', cat_second_description = '$cat_second_description',
$cat_id = (isset($HTTP_POST_VARS['cat_id'])) ? intval($HTTP_POST_VARS['cat_id']) : intval($HTTP_GET_VARS['cat_id']);
$sql = "SELECT cat_name, cat_description,
Replace with $cat_id = (isset($HTTP_POST_VARS['cat_id'])) ? intval($HTTP_POST_VARS['cat_id']) : intval($HTTP_GET_VARS['cat_id']);
$sql = "SELECT cat_name, cat_description, cat_second_description,
show_textarea_row($lang['field_description_ext'], "cat_description", $cat_row['cat_description'], $textarea_size);
Add aftershow_textarea_row("Second ".$lang['field_description_ext'], "cat_second_description", $cat_row['cat_second_description'], $textarea_size);
if (isset($HTTP_GET_VARS['closeall'])) {
$open_all = false;
$GLOBALS['map'] = array();
}
$sql = "SELECT cat_id, cat_name, cat_description,
Replace with if (isset($HTTP_GET_VARS['closeall'])) {
$open_all = false;
$GLOBALS['map'] = array();
}
$sql = "SELECT cat_id, cat_name, cat_description, cat_second_description,
if (!$show_all_subcats && !$open_all) {
$where_sql = "WHERE cat_parent_id IN (".implode(", ", $GLOBALS['map']).")";
}
$sql = "SELECT cat_id, cat_name, cat_description,
Replace with if (!$show_all_subcats && !$open_all) {
$where_sql = "WHERE cat_parent_id IN (".implode(", ", $GLOBALS['map']).")";
}
$sql = "SELECT cat_id, cat_name, cat_description, cat_second_description,
"cat_description" => htmlspecialchars(format_text($cat_cache[$category_id]['cat_description'], 1)),
Add after"cat_second_description" => htmlspecialchars(format_text($cat_cache[$category_id]['cat_second_description'], 1)),
<br>{cat_description} (Hits: {cat_hits})
<hr size="1" />
Replace with (or set {cat_second_description} at a desired position) <br>{cat_description} (Hits: {cat_hits})
<hr size="1" />
{cat_second_description}
<hr size="1" />
{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}
Add after{if cat_second_description}<span class="smalltext">{cat_second_description}</span><br />{endif cat_second_description}
ALTER TABLE 4images_categories
ADD COLUMN cat_second_description VARCHAR(255) NOT NULL;
Click OK
<input type="file" id="fileInput" multiple>
<button id="uploadButton">Durchsuchen & Hochladen</button>
<div id="progressContainer"></div>
<script>
document.getElementById('uploadButton').addEventListener('click', function() {
var files = document.getElementById('fileInput').files;
var formData = new FormData();
for (var i = 0; i < files.length; i++) {
formData.append('file[]', files[i]);
}
formData.append('PHPSESSID', '<?php echo session_id(); ?>');
formData.append('user_id', '{user_id_upload_multi}');
formData.append('max_thumb_height', '{max_thumb2_height}');
formData.append('max_thumb_width', '{max_thumb2_width}');
formData.append('auto_thumbnail_quality', '{auto_thumbnail2_quality}');
formData.append('thumbnail_proportions', '{thumbnail_proportions}');
formData.append('direct_upload', '{direct_upload}');
formData.append('cat_id', '<?php echo $cat_id; ?>');
var xhr = new XMLHttpRequest();
xhr.open('POST', 'multiupload_2.php', true);
xhr.upload.onprogress = function(e) {
if (e.lengthComputable) {
var percent = (e.loaded / e.total) * 100;
document.getElementById('progressContainer').innerHTML = percent + '% hochgeladen';
}
};
xhr.onload = function() {
if (xhr.status === 200) {
// Upload erfolgreich
alert('Upload abgeschlossen');
} else {
// Upload fehlgeschlagen
alert('Fehler beim Hochladen');
}
};
xhr.send(formData);
});
</script>
Die Installation läuft weiterhin nicht korrekt durch
....
Das fehlt ebenso wiederCode: [Select]ENGINE=MyISAM;
Ersetzen mitCode: [Select]ENGINE=InnoDB;
Ich finde das sollte man als Update mal nachschieben.
LG
<script language="javascript" type="text/javascript">
<!--
var captcha_reload_count = 0;
var captcha_image_url = "{url_captcha_image}";
function new_captcha_image() {
if (captcha_image_url.indexOf('?') == -1) {
document.getElementById('captcha_image').src= captcha_image_url+'?c='+captcha_reload_count;
} else {
document.getElementById('captcha_image').src= captcha_image_url+'&c='+captcha_reload_count;
}
document.getElementById('captcha_input').value="";
document.getElementById('captcha_input').focus();
captcha_reload_count++;
}
function opendetailwindow() {
window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
}
// -->
</script>
DB Error: Bad SQL Query: CREATE TABLE 4images_settings (setting_name varchar(255) NOT NULL default '',setting_value mediumtext NOT NULL,PRIMARY KEY (setting_name)) ENGINE=MyISAM
Specified key was too long; max key length is 1000 bytes
ENGINE=MyISAM;
Ersetzen mitENGINE=InnoDB;