We are currently working on our servers, so there may be outages on the domains.Zurzeit wird an unseren Servern gearbeitet, deshalb kann es zu Ausfällen bei den Domains kommen.
<?php //not this first line. only for colored code hereglobal $wb, $database;$header = "<h3>Last Downloads</h3>";$limit = ($limit)?:'3'; $sort = isset($sort) ? $sort :'DESC'; // DESC = Newest first$sqlFiles = 'SELECT * FROM `'.TABLE_PREFIX.'mod_download_galler y_files` WHERE `active` = 1 ORDER BY `modified_when` '.$sort.' LIMIT ' . $limit;$oRes = $database->query($sqlFiles);$html = '<div id="last-downloads">' . $header;if ($oFiles = $database->query($sqlFiles)) {$html .= '<ul>'; while ($aFiles = $oRes->fetchRow(MYSQLI_ASSOC)) { $changedate= date("d.m.y ", $aFiles['modified_when']) . '<br />'; $title = $aFiles['title']; $desc = "<br /><small>".$aFiles['description']."</small>"; //$root = $aFiles['root_parent']; $weblink = $aFiles['link']; $html .= "<li>" . $changedate . "<span><a title=\"Download: ".$title."\" href=\"".$weblink."\"> " . $title . " </a></span>" . $desc . "</li>"; }$html .= '</ul>';} else { $html .= 'No results';}$html .= "</div>";echo $html;
2 - I did a search in the modules section and didn't see the FAQ module - is that one dead?
There was an uncatched exceptionCall to a member function numRows() on nullin line (89) of (/modules/faqbaker/view.php)
Fri, 13 Aug 2021 05:37:38 +0000 [E_WARNING] /modules/faqbaker/view.php:[30] from /framework/frontend.functions.php:[273] require "Undefined array key "header""Fri, 13 Aug 2021 05:37:38 +0000 [E_WARNING] /modules/faqbaker/view.php:[31] from /framework/frontend.functions.php:[273] require "Undefined array key "footer""Fri, 13 Aug 2021 05:37:38 +0000 [E_WARNING] /modules/faqbaker/view.php:[32] from /framework/frontend.functions.php:[273] require "Undefined array key "template_summary""Fri, 13 Aug 2021 05:37:38 +0000 [E_WARNING] /modules/faqbaker/view.php:[33] from /framework/frontend.functions.php:[273] require "Undefined array key "template_details""Fri, 13 Aug 2021 05:37:38 +0000 [E_WARNING] /modules/faqbaker/view.php:[36] from /framework/frontend.functions.php:[273] require "Undefined array key 1"
Fri, 13 Aug 2021 09:40:43 +0000 [E_WARNING] /modules/faqbaker/addon.php:[22] from /modules/faqbaker/addon.php:[22] include "include(/www/htdocs/w01be3f2/WB_Testbereich/php7.4/WB_aktuell/modules/SimpleCommandDispatcher.inc): failed to open stream: No such file or directory"Fri, 13 Aug 2021 09:40:43 +0000 [E_WARNING] /modules/faqbaker/addon.php:[22] from /modules/faqbaker/addon.php:[22] include "include(): Failed opening '/www/htdocs/w01be3f2/WB_Testbereich/php7.4/WB_aktuell/modules/SimpleCommandDispatcher.inc' for inclusion (include_path='.:/usr/share/php:..')"
Hi, for latest Downloads you can use this attached droplet.Instal it via Admin-Tools > Droplets > Import Selected Droletand use then this call in html: [[latest-downloads?limit=5]]or try the droplet code ...
Quote from: bupaje on August 12, 2021, 11:44:17 PM2 - I did a search in the modules section and didn't see the FAQ module - is that one dead?To 2 The module in version 2.0.0 is unfortunately no longer executable. (php8)It throws the following error ...
Quote from: bupaje on August 12, 2021, 11:44:17 PM2 - I did a search in the modules section and didn't see the FAQ module - is that one dead?To 2 The module in version 2.0.0 is unfortunately no longer executable. (php8)...
Hi, for latest Downloads you can use this attached droplet.Instal it via Admin-Tools > Droplets > Import Selected Droletand use then this call in html: [[latest-downloads?limit=5]]or try the droplet code in a code or code2 section.Code: [Select]<?php //not this first line. only for colored code hereglobal $wb, $database;$header = "<h3>Last Downloads</h3>";$limit = ($limit)?:'3'; $sort = isset($sort) ? $sort :'DESC'; // DESC = Newest first$sqlFiles = 'SELECT * FROM `'.TABLE_PREFIX.'mod_download_galler y_files` WHERE `active` = 1 ORDER BY `modified_when` '.$sort.' LIMIT ' . $limit;$oRes = $database->query($sqlFiles);$html = '<div id="last-downloads">' . $header;if ($oFiles = $database->query($sqlFiles)) {$html .= '<ul>'; while ($aFiles = $oRes->fetchRow(MYSQLI_ASSOC)) { $changedate= date("d.m.y ", $aFiles['modified_when']) . '<br />'; $title = $aFiles['title']; $desc = "<br /><small>".$aFiles['description']."</small>"; //$root = $aFiles['root_parent']; $weblink = $aFiles['link']; $html .= "<li>" . $changedate . "<span><a title=\"Download: ".$title."\" href=\"".$weblink."\"> " . $title . " </a></span>" . $desc . "</li>"; }$html .= '</ul>';} else { $html .= 'No results';}$html .= "</div>";echo $html;
Hello, i saw the link from your pn.Your download links contains white spaces. This is not the way how DownloadGallery save new files.What is your version of Download Gallery?
I don't know something about your installation.Was the files added via DonwloadGallery or via Media or via FTP?The white spaces are the problem.