21
svaha
Re: wfsection bug?
  • 2004/1/8 17:07

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Ok, I will give it a shot and let you know

22
nuker
Re: wfsection bug?
  • 2004/1/26 13:56

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


anyone have luck with this one?


23
svaha
Re: wfsection bug?
  • 2004/1/26 19:19

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Good that you post here, cause I could not find the thread anymore.
I tried to upload the 2004.doc as an attached file, but got the message : Update failed,
I have set the upload size in the general preferences and in the upload manager higher then the 5 Mb of the file 2004.doc
So, it's the same over here.

Aloha

24
Spiguy
Re: wfsection bug?
  • 2004/1/26 20:20

  • Spiguy

  • Just popping in

  • Posts: 18

  • Since: 2002/3/19


Nuker,
make sure that your upload directory is chmod to 777. That is a common error when this is not the case.

25
nuker
Re: wfsection bug?
  • 2004/1/29 18:00

  • nuker

  • Not too shy to talk

  • Posts: 129

  • Since: 2002/12/14


so no cure huh?

bummer!

ya, my upload folder permission is fine since other files can be uploaded. just a couple of them wont' and i don't know why....

26
Catzwolf
Re: wfsection bug?
  • 2004/1/29 21:17

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


You server will have a file upload limit (normally around 2 meg) you will have to increase this to allow for such a large file.

27
hervet
A list of modifications
  • 2004/1/29 21:27

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

Here is a lit of problems I had with the last public beta (1.06 I beleive) of wf section.

1) to be able to use the wysiwyg I had to modify the file include/wysiwygeditor.php and to change all
<?=XOOPS_URL?>

by :
<?php echo XOOPS_URL?>


2) You can modify the file named wfstree.php, comment the line 208 :
//echo $string;


3)Comment the line 1573 of the file wfsarticle.php :
//echo "<input type='hidden' name='groupid' value='".$this->groupip."' />";


4) To be able to use files descriptions with the search, edit the file include/search.inc.php :
Change
$sql .= " WHERE filetext LIKE '%$queryarray[0]%'";

to :
$sql .= " WHERE filetext LIKE '%$queryarray[0]%' OR filedescript LIKE '%$queryarray[0]%'";

modify :
$sql .= "filetext LIKE '%$queryarray[$i]%'";

to :
$sql .= "filetext LIKE '%$queryarray[$i]%' OR filedescript LIKE '%$queryarray[0]%'";


5) Modify the file named /xoops/modules/wfsection/language/english/main.php
At the end, before
?>

add :
define("_WFS_IMGERROR","ERROR: Please check path/file for image");


then modify the line 142 of the file :
fichier /xoops/modules/wfsection/index.php
Change :
$image "ERROR: Please check path/file for image";

with :
$image _WFS_IMGERROR;


Warning, the file named /xoops/modules/wfsection/index.php, wich display the categories does not use templates


6) A big bug, you can print some articles you should NOT see. To correct this, edit the file named /xoops/modules/wfsection/print.php

change :
PrintPage($articleid);


with :
include_once XOOPS_ROOT_PATH '/modules/' $xoopsModule->dirname() . '/include/groupaccess.php';
$article = new WfsArticle($articleid);
if (
checkAccess($article->groupid)) {
    
PrintPage($articleid);
}
else
{
    
redirect_header("index.php"2_NOPERM);
    exit();
}



That's all.

Bye,
Hervé

28
Catzwolf
Re: A list of modifications
  • 2004/1/29 21:56

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Thanks for these, I have fixed most of them for the next version

29
hervet
Re: A list of modifications
  • 2004/1/30 5:37

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

That's great !
Do you know when you will release it ?

Did yo also saw my posts on your web site about the PDF problems ?

30
hervet
Security problem
  • 2004/2/2 8:51

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

With the last beta version of wf section (1.01) it's possible to see prohibited categories and articles.
For example, if I can't access to the category whose ID is 19, because of the rights defined in the admin panel, I can see the category AND the article when I directly type :
http://www.mysite.com/modules/wfsection/index.php?category=19

Bye,
Hervé

Login

Who's Online

142 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits