Forum

MamboHacks.com => Mambo-SMF Forum 1.3.0 Support => Topic started by: Gandalf on April 29, 2005, 04:13:11 AM



Title: downloads are screwed
Post by: Gandalf on April 29, 2005, 04:13:11 AM
hello, i have a BIG problem, downloading is completely screwed up, images aren't loading, most of download are not working!!!!
please try it http://www.siemens-mobiles.org login with testing and testing as password
thx


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 04:24:06 AM
here's SMF error LOG!!!!
Code:
http://www.siemens-mobiles.org/forum/index.php?option=com_smf&action=dlattach;topic=2167.0;id=3989;image 

8: Array to string conversion
File: /var/www/virtual/siemens-mobiles.org/htdocs/forum/Sources/Subs.php
Line: 1977
please this is a FATAL error fix soon plz

here's another error for attachement (i fixed myself the $temp not defined thing)
Code:
http://www.siemens-mobiles.org/forum/index.php?option=com_smf&Itemid=53&expv=0&action=dlattach;topic=1406.0;id=2541;image
Unable to load the 'main' template.
thx


Title: Re: downloads are screwed
Post by: cowboy on April 29, 2005, 11:45:46 AM
can u pls tell me your platform / mos and smf version.


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 01:56:48 PM
ok, my server is a debian sarge 3.1, running latest php/mysql, i'm using mambo 4.5.2 and SMF 1.0.3 so mainly everything is the latest.
and here's my phpinfo() (http://www.siemens-mobiles.org/trash/phpinfo.php)


Title: Re: downloads are screwed
Post by: cowboy on April 29, 2005, 02:54:05 PM
this bug should be fixed in 1.3 beta2a.


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 02:55:19 PM
Quote from: admin on April 29, 2005, 02:54:05 PM
this bug should be fixed in 1.3 beta2a.
can you give instruction to fix it temporary or suggest what to do??? is it better to go back with 1.2 in this case????


Title: Re: downloads are screwed
Post by: cowboy on April 29, 2005, 02:58:53 PM
Like I said, it should be fixed in beta2a. Check my demo site here (http://www.squaresite.com/component/option,com_smf/Itemid,70/expv,0/topic,18.0)... it's fixed.


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 03:06:35 PM
oh sorry i didn't noticed that you uploaded a new version... ok i will try at once and give you result,
thx for the fast actions man...


Title: Re: downloads are screwed
Post by: cowboy on April 29, 2005, 03:10:37 PM
Your lucky i'm bored today. So I can quickly look at your bug reports.  ;D. Isn't that fast? there's only few minutes bet. beta2 and beta2a? hahaha

Now I don't know how to fix this error:
Code:
8: Array to string conversion
File: /var/www/virtual/siemens-mobiles.org/htdocs/forum/Sources/Subs.php
Line: 1977

I cannot reproduce it.


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 03:17:14 PM
Quote from: admin on April 29, 2005, 03:10:37 PM
Your lucky i'm bored today. So I can quickly look at your bug reports.  ;D. Isn't that fast? there's only few minutes bet. beta2 and beta2a? hahaha
haha, well fast bug fixes, bring you people and your bridge is much better than the older one, well at least it's well organised, BTW there is some lines in your code that are useless like in administrator/components/com_smf/functions.smf.php we can see
Code:
function isSMFModPublished() {
        global $database, $mosConfig_absolute_path, $mosConfig_db;
        include_once( $mosConfig_absolute_path . '/administrator/components/com_smf/config.smf.php' );
        $database->setQuery("SELECT module FROM #__modules WHERE module = 'mod_smf_login' AND published = 1 LIMIT 1");
        $row = $database->loadResult();
        return $row;
        if($row) {
                return true;
        }
        return false;
}
as you can see you call return $row; on line 6 then on line 7-10 you made an if-clause but it's never reached, so better to remove it,
also i know it's for your debug (i think you already fixed that anyway
Code:
        //debugging
        //$count = 0;
        //foreach($oldurl as $nonsefurl) {
        //      $temp .= $nonsefurl . "<br/>" . $newurl[$count++] . "<br><br>\n";
    //}
and then you call
Code:
    return $buffer . "" . $temp;
but in this case $temp isn't defined anyway so had to either
Code:
$temp="";
before it, or replace it with
Code:
    return $buffer;
anyway i think this was fixed before, anyway i will try my best tonight to read your code and i will create one big topic or PM with the errors i'll find (not talking about BUGs but errors like those above)


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 03:30:39 PM
Works fine man, also tried the login form works fine, i will continue testings and see (i didn't test till now except images viewing...)


Title: Re: downloads are screwed
Post by: cowboy on April 29, 2005, 03:52:24 PM
Thanks... try to find more glitches before I officially make the release this weekend.


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 04:06:25 PM
ok i will too.... still the problem of SEF when quoting though


Title: Re: downloads are screwed
Post by: cowboy on April 29, 2005, 04:32:19 PM
Can you refresh me with this issue again please.


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 05:33:18 PM
ok, (using this site) go to your profile, Look and Layout Preferences and put the Use quick reply on topic display: to Show, on by default,
come back again to this topic and hit quote, this will open a popup windows that normally write on white background "Retriving quote..." and then put the quoted msg here in the quick reply box and disappear, but you will notice that the window that will open here is actually the Home page of your site with the address :
http://www.mambohacks.com/component/option,com_smf/Itemid,66/expv,0action=quotefast;quote=840;sesc=a58d32272031054cb1cefe968d48d2af

and it must be
http://www.mambohacks.com/component/option,com_smf/Itemid,66/expv,0;action=quotefast;quote=840;sesc=a58d32272031054cb1cefe968d48d2af

there's a missing ";" between expv,0 and action=...

same thing regarding the PM quoting


Title: Re: downloads are screwed
Post by: cowboy on April 29, 2005, 06:35:49 PM
How come i don't see this option. What is your SMF version? I am on SMF 1.0.3.


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 06:44:04 PM
well SMF 1.0.3 and i use quick reply on ALL SMF forums since the first time i saw it and it was 1.0 RC2


Title: Re: downloads are screwed
Post by: cowboy on April 29, 2005, 06:48:11 PM
Weird, I don't see it in all of my SMF installs. Seems like this is a mod. Is this a mod?

edit: ok... stupid me... looking on the wrong place.


Title: Re: downloads are screwed
Post by: Gandalf on April 29, 2005, 08:25:41 PM
lol ok no problem, can you see the problem now? that's why i don't use SEF, because 90% of my members have quick reply activated becaus eit is by default and they like it since we reply without the need to change page


Title: Re: downloads are screwed
Post by: cowboy on April 30, 2005, 01:08:49 AM
ok, the quote for topics with qucik reply enabled is fixed.
get 1.3beta2a patch 1 here (http://www.mambohacks.com/component/option,com_smf/Itemid,66/expv,0/topic,168.0).


Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.