Recent posts
#73
Try this
$oTrans->enableAddon('modules\\\\'.$sAddonName)
Quote from: masju on September 30, 2026, 07:35:17 PMHallo zusammen,
ich tüftle gerade ein neues Modul zusammen und frage mich, wie ich die Backend-Sprachdateien korrekt einbinde. Im aktuellen form-Modul steht (modify.php):
Code Auswählen
/* ----------set to deprecated----------------------------- */
// load module language file
if (is_readable($sAddonPath.'languages/EN.php')) {require($sAddonPath.'languages/EN.php');}
if (is_readable($sAddonPath.'languages/'.DEFAULT_LANGUAGE.'.php')) {require($sAddonPath.'languages/'.DEFAULT_LANGUAGE.'.php');}
if (is_readable($sAddonPath.'languages/'.LANGUAGE.'.php')) {require($sAddonPath.'languages/'.LANGUAGE.'.php');}
Das ist easy aber bereits als "deprecated" gekennzeichnet. Wie mache ich das also WB-konform und zukunftssicher?
Viele Grüße
masju
#74
Last post by masju - September 30, 2026, 07:35:17 PM
Hallo zusammen,
ich tüftle gerade ein neues Modul zusammen und frage mich, wie ich die Backend-Sprachdateien korrekt einbinde. Im aktuellen form-Modul steht (modify.php):
Code Auswählen
/* ----------set to deprecated----------------------------- */
// load module language file
if (is_readable($sAddonPath.'languages/EN.php')) {require($sAddonPath.'languages/EN.php');}
if (is_readable($sAddonPath.'languages/'.DEFAULT_LANGUAGE.'.php')) {require($sAddonPath.'languages/'.DEFAULT_LANGUAGE.'.php');}
if (is_readable($sAddonPath.'languages/'.LANGUAGE.'.php')) {require($sAddonPath.'languages/'.LANGUAGE.'.php');}
Das ist easy aber bereits als "deprecated" gekennzeichnet. Wie mache ich das also WB-konform und zukunftssicher?
Viele Grüße
masju
#75
Last post by dbs - September 29, 2026, 04:42:31 PM
Hi, you can open the ZIP file and delete the Thumbs.db file. That will fix the problem.
This file belongs to Windows and I think it ended up in the ZIP file by accident.
.db is a file extension that has no place on a server. For security reasons, unusual file extensions are blocked.
#76
Last post by KimCR - September 29, 2026, 04:21:51 PM
Template Issue after Upgrade to WB 2.13.10 r26
I upgraded one of my sites to the latest version that was available. Not everything went smoothly but I managed to install it with a number of issues to sort out.
One of these is that I have been using a template named Andreas00b for some time without issues, however after the the upgrade I found that I am prevented from installing Andreas00b_v1_2_1 by the CodeGuard System Module. It won't install because of the Thumbs.db file that is installed in the img folder.
Has anyone a suggested workaround for this situation? Perhaps there is a way to turn off or change parameters for the CodeGuard module?
Thank you,
Kim
#77
Last post by dbs - September 25, 2026, 02:12:41 PM
wbBackup 1.6.5 improves restore reliability in both WebsiteBaker 2.13 and 2.14.
It now reports files that could not be removed or overwritten and provides an error log you can view directly. The restore progress and final results are clearer, and backup logs open in the browser instead of downloading.
#78
Last post by dbs - September 24, 2026, 03:39:47 PM
this issue was fixed in wbBackup 1.6.3. It was caused by a compatibility problem with WebsiteBaker 2.13, where
SecureTokens::verifyFTAN() is not available.
Please update to wbBackup 1.6.3. The download remains protected by authentication, permissions and a module-specific one-time token.
#79
Last post by CodeALot - September 20, 2026, 06:12:27 PM
Hi! Deleting backups now works great. A new problem occured, however. When you want to download the backup file, it says:
QuoteThere was an uncatched exception
Call to undefined method bin\SecureTokens::verifyFTAN()
in line (30) of (/modules/wbBackup/cmd/Download.php):
(PHP 8.5.10 - WB 2.13.9, also tried on a WB 2.13.10, same results)
#80
Last post by dbs - September 20, 2026, 06:53:20 AM
sure

