MyXoops Forum

Re: PDdownloads 1.2: Wichtige Bug in admin section [Module für Bildergalerien, Downloads und Faq] - myXOOPS German Support

Shine

"myXOOPs"-Neuling
Gepostet am:02.10.2006 23:26
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#20

Re: PDdownloads 1.2: Wichtige Bug in admin section

Hmz,.....gern geschehen.
Vielleicht zeit um eine 1.3 update version von deine module raus-zu-bringen?

krobi

"myXOOPs"-Könner
Gepostet am:02.10.2006 23:23
krobi
krobi Offline (Show more)
"myXOOPs"-Könner
Posts: 359
Since: 22.12.2003
#19

Re: PDdownloads 1.2: Wichtige Bug in admin section

danke ebenfalls für das reporting.

das problem war ja auch dass das bei unserer seite auch nicht funktionierte aber wir das nie bemerkt hatte
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

Advertisement

Gepostet am:0
Advertisement (Show more)
Posts: 0
Since: 0


Hier könnten Sie Ihre Anzeige aufgeben!
Bitte kontaktieren Sie uns, um mehr darüber zu erfahren.

Shine

"myXOOPs"-Neuling
Gepostet am:02.10.2006 23:22
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#18

Re: PDdownloads 1.2: Wichtige Bug in admin section

Jep,....das hat geklappt

Danke fuer die schnelle und gute hilfe !

Grtz., Shine

krobi

"myXOOPs"-Könner
Gepostet am:02.10.2006 23:13
krobi
krobi Offline (Show more)
"myXOOPs"-Könner
Posts: 359
Since: 22.12.2003
#17

Re: PDdownloads 1.2: Wichtige Bug in admin section

ok i have a hot-fix for that, the problem is the security check - so you can simple deactivate this.

pls open the following file
pd-downloads/admin/brokendown.php

and then search for the following lines (they appears some times in the file)

Zitat:
if (is_object($GLOBALS['xoopsSecurity']) and !$GLOBALS['xoopsSecurity']->check(true, $_REQUEST['t'])) {
redirect_header(XOOPS_URL.'/',3,$GLOBALS['xoopsSecurity']->getErrors());
}


simple delete this lines. that solve the problem.
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

Shine

"myXOOPs"-Neuling
Gepostet am:02.10.2006 23:09
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#16

Re: PDdownloads 1.2: Wichtige Bug in admin section

Uploaded the whole core (2.0.16a JP) files again but I am keep having the same problems andas mentioned before with your module.
The notices are gone now (looks as if the previous upgrade didn't 'click'well but know did)... nevertheless the same error still excists:
Zitat:
Fatal error: Call to a member function on a non-object in /home/XXX/domains/xoopscube.be/public_html/class/xoopssecurity.php on line 28


Line 28 of the mentioned file (see red line):
function validateToken($tokenValue false$clearIfValid true)
    {
        if (
false !== $tokenValue) {
            
$handler = new XoopsSingleTokenHandler();
            
$token =& $handler->fetch(XOOPS_TOKEN_DEFAULT);
            [
color=CC0000]if($token->validate($tokenValue)) {[/color]
                if (
$clearIfValid) {
                    
$handler->unregister($token);
                }
                return 
true;
            } else {
                
$this->setErrors('No token found');
                return 
false;
            }


Conclusion this is the problem maker. Any fixing suggestions Krobi?

krobi

"myXOOPs"-Könner
Gepostet am:02.10.2006 23:07
krobi
krobi Offline (Show more)
"myXOOPs"-Könner
Posts: 359
Since: 22.12.2003
#15

Re: PDdownloads 1.2: Wichtige Bug in admin section

no problem in writing understand english

so we can simple talk in english.

you have a broken download, then you to the administration and click on the link "broken" - then you get the error message you mention.

is this correct?
or do you use and type of waiting module like gijoes waiting content module?

edit: i could reproduce the problem, i will look into this problem - thx for reporting.
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

Shine

"myXOOPs"-Neuling
Gepostet am:02.10.2006 22:20
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#14

Re: PDdownloads 1.2: Wichtige Bug in admin section

Ich habe das waiting module von GIJoe nicht installiert. Aber sonst ist das was exp antragt dasselbe was ich habe. (I hope you dont mind wenn I use english to further in explaining)

As soon as I click on the defect link report I get transfered to a blank page. With the error and notices mentioned before.
I cannot ignore nor delete the report. This function doesn't work at all.

Before we go any further I will upload all 2.0.16a jp core files again and see if this will bring any positive changes to your module.
I will let ya know. Please keep track of this thread Krobi!

Thanks for your quick and thruthfull support!

Grtz., Shine

krobi

"myXOOPs"-Könner
Gepostet am:02.10.2006 16:37
krobi
krobi Offline (Show more)
"myXOOPs"-Könner
Posts: 359
Since: 22.12.2003
#13

Re: PDdownloads 1.2: Wichtige Bug in admin section

ok wunderbar, nix zu danken.

jetzt müssen wir nur noch das problem von shine lösen
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

exp

"myXOOPs"-Könner
Gepostet am:02.10.2006 16:34
exp
exp Offline (Show more)
"myXOOPs"-Könner
Posts: 433
Since: 30.05.2006
#12

Re: PDdownloads 1.2: Wichtige Bug in admin section

Richtig das Modul von gijoe meinte ich, dort habe ich aus dem PlugIn des Modul waitings die Zeile die diese Meldung anzeigt (Broken Downloads) gelöscht und BINGO! An deinem Modul musste ich nichts verändern, läuft ja alles wunderbar! Nur die visit.php habe ich ein wenig überabeitet, die gefiel mir bei wfdownloads etwas besser

Danke dir für deine Geduld!
exp

krobi

"myXOOPs"-Könner
Gepostet am:02.10.2006 16:32
krobi
krobi Offline (Show more)
"myXOOPs"-Könner
Posts: 359
Since: 22.12.2003
#11

Re: PDdownloads 1.2: Wichtige Bug in admin section

ok wunderbar, das waiting modul vom gijoe oder?
hast du das plugin aus seinem modul rausgelöscht? oder aus dem include verzeichnis von pd-downloads?
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com
Diesen Thread durchsuchen:  1 Anonyme Benutzer

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5329 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1816 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag