1
goffy
Re: Errors with tdm_download
  • 2/8 16:27

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


I found the problem: the module update procedure had an error, therefore update was incomplete and templates were not properly stored in the database
I made a pull request which fixes the problems: https://github.com/XoopsModules25x/tdmdownloads/pull/96



2
goffy
Re: Bugs in wgTransifex
  • 1/27 12:10

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


I found another new problem with resource_translations_async_downloads: the download contains only the translated line. Line like comments from original file or PHP identifier are not downloaded, therefore PHP file can be incomplete.
I will work on a solution and inform you



3
goffy
Re: Errors with tdm_download
  • 1/25 19:59

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


hi,
which one I should use? last version of https://github.com/XOOPS/XoopsCore25 ?
or last version of your fork?



4
goffy
Bugs in wgTransifex
  • 1/25 19:37

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


I have last month with support of mamba (many thanks once more) the module wgTransifex updated to new API 3 of Transifex. I thought after updating that everything is working fine as I got no errors when downloading the projects, resources and translations.
Now I realized that some features are not supported anymore by Transifex, but the API delivered an empty string instead of creating an error, e.g. categories for resources.
For most of the features it is not really a problem. But I detected a real problem: running download of the translations via normal API request is still working, and most of the parameters are provided, but not the translation itself. Transifex provided only an empty string.
Transifex supports download of the translation now only via resource_translations_async_downloads. Therefore only empty files were generated :(
The current version of wgTransifex is now downloading all.

If you have some other findings please let me know.

If you are using wgTransifex please update to last version on https://github.com/XoopsModules25x/wgtransifex

Sorry for any inconveniences



5
goffy
Errors with tdm_download
  • 1/20 20:43

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


I am trying to update one of my sites. one of the used moduls is tdmdownloads.
I have downloaded the last version from github XoopsModules.

when I e.g. want to go to modules/tdmdownloads/admin/index.php I get:
Quote:
Warnung: stat(): stat failed for tdmdownloads_admin_index.tpl in Datei /class/smarty3_plugins/resource.db.php Zeile 40
Fehler: SmartyException: Unable to load template 'db:tdmdownloads_admin_index.tpl' in Datei /xoops_lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php Zeile 196


XOOPS Version XOOPS 2.5.12-Beta9
PHP Version 8.3.14
Smarty Version 4.5.6

any ideas?



6
goffy
Solution for Not able to login anymore after upgrading to XOOPS 2.5.11 and 2.5.12 Beta 8
  • 2025/9/30 9:16

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


I had a problem with two of my websites. Suddenly, I couldn't log in anymore.
The problem was that XOOPS couldn't set the cookies properly. The cause was an incorrect value in the mainfile.php.
Example:
Web host's domain: https://myhoster.com
My website's domain: https://mywebsite.com
In the mainfile.php, there was
le="color: #000000"><?php define('XOOPS_COOKIE_DOMAIN', 'myhoster.com');

instead of
le="color: #000000"><?php define('XOOPS_COOKIE_DOMAIN', 'mywebsite.com');

Since it worked for years, I didn't recognize the problem. I suspect the host made some changes to the settings, causing the issue to suddenly appear.
You may have/get the same problem. If yes, then check your mainfile.php.

Many thanks to Mamba for identifying the issue.



7
goffy
xoops_redirect
  • 2024/12/8 9:18

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


hi

because I have currently a lot of spam registrations I checked my server access log and found one log very often:
Quote:
57.141.0.19 - - 06/Dec/2024:21:33:35 +0100 "GET /modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/profile/user.php?xoops_redirect=/modules/newbb/report.php?forum=18&topic_id=12229&post_id=66633 HTTP/1.0" 200 15200 "-" "meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)"

It seems that someone is using xoops_redirect to burden my system, maybe to make spam registration possible, I dont know.

but my question: how to treat this problem? would it make sense to implement a filter to remove the additional xoops_redirect in order to avoid looping?

what do you think



8
goffy
cancel button
  • 2024/11/11 11:21

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


hi

it seems that there is a problem with cancel button in bootstrap5
currently we are using
le="color: #000000"><?php button class="btn btn-danger me-1" onClick="history.go(-1);return true;" . _CANCEL . /button

but this cause that it is treated like clicking on confirm button, as the submit event takes place

my solution is to replace by
le="color: #000000"><?php input type="button" class="btn btn-danger me-1" name="cancel" id="cancel" onClick="history.go(-1);return true;" value=". _CANCEL . "


I created a PR https://github.com/XOOPS/XoopsCore25/pull/1481

or is there a better solution?



9
goffy
Re: sbadmin5 - Bootstrap 5 Theme
  • 2024/9/29 9:11

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


if someone needs help for creation of Modulemenu Class then please let me know



10
goffy
Re: sbadmin5 - Bootstrap 5 Theme
  • 2024/9/27 8:00

  • goffy

  • Just can't stay away

  • Posts: 554

  • Since: 2010/12/27


the tutorial you can find in the readme




TopTop
(1) 2 3 4 ... 44 »