11
basby
Re: WF-Channel v1.0.1 Beta.
  • 2003/11/18 9:40

  • basby

  • Not too shy to talk

  • Posts: 109

  • Since: 2003/1/28


New problem: I can upload an image and select it. The image is however not displayed. A square with a red cross is shown.
It appears that the access rights of the image are set to:

--w----r-T

12
basby
Re: WF-Channel v1.0.1 Beta.
  • 2003/11/18 10:41

  • basby

  • Not too shy to talk

  • Posts: 109

  • Since: 2003/1/28


What should I do with the file backendjs.php?

13
Catzwolf
Re: WF-Channel v1.0.1 Beta.
  • 2003/11/18 11:54

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Hi thanks to everyone who has posted here.

First off all I am in the process of fixing those errors that I did not pick up before release and should have a fixed working version soon.

The upload problem I have not come across and I seem to have no problem here, but thats not saying there is a problem some where?

Make sure that the path in config is the same as you are trying to upload and is correctly CHMOD'd, will dig deeper into this thou.

I would also say not to try to hard to get it to work until I have released this next version.

Don't ya just hate it when things don't go as they should LOL

14
Catzwolf
Re: WF-Channel v1.0.1 Beta.
  • 2003/11/18 11:56

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Copy it into the main XOOPS directory, same place as backend.php

15
Ruddle
Re: WF-Channel v1.0.1 Beta.
  • 2003/11/18 13:22

  • Ruddle

  • Just popping in

  • Posts: 61

  • Since: 2003/11/10


Question...

If an item is added as a "submenu", is it supposed to display as a child menu item to the main WF-Channel menu link on the main menu?

Home
News
WF-Channel
- Sub Item One
- Sub Item Two
Forum
Etc.

If so, and this is not happening, where should I look to correct it?

Great module. Just what I was looking for for misc. site content.

Thanks!
Rick

16
Catzwolf
Re: WF-Channel v1.0.1 Beta.
  • 2003/11/18 13:31

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Hi Rick,

Thanks m8

Yes it is supposed to do that, but due to the way I have written this 'submenu' part (which is a bit out of the norm) I had to correct a few minor details to get it to work correctly.

I am not that far away from releasing a bug fix version.

17
Ruddle
Re: WF-Channel v1.0.1 Beta.
  • 2003/11/18 13:37

  • Ruddle

  • Just popping in

  • Posts: 61

  • Since: 2003/11/10


Thanks! I'll keep my eyes open for the release.

Rick

18
basby
Re: WF-Channel v1.0.1 Beta.
  • 2003/11/20 1:10

  • basby

  • Not too shy to talk

  • Posts: 109

  • Since: 2003/1/28


I have resolved my problems.

Problem 1:
Quote:
I am however not able to upload html files.


In file "uploader.php" I had to change the end of the function "fetchMedia" as follows:

Old code:
if (in_array($this->mediaType, array('image/gif''image/jpeg''image/pjpeg''image/x-png'))) {
            if (isset(
$this->maxWidth) || isset($this->maxHeight)) {
                if (
false === ($this->mediaDimention getimagesize($this->mediaTmpName))) {
                    
$this->setErrors('Alert: This File is not an Image');
                    return 
false;
                }
            }
            return 
true;
        }
    }


New code:
if (in_array($this->mediaType, array('image/gif''image/jpeg''image/pjpeg''image/x-png'))) {
            if (isset(
$this->maxWidth) || isset($this->maxHeight)) {
                if (
false === ($this->mediaDimention getimagesize($this->mediaTmpName))) {
                    
$this->setErrors('Alert: This File is not an Image');
                    return 
false;
                }
            }
            return 
true;
        }
//BASBY: added
return true;
    }



Problem 2:
Quote:

New problem: I can upload an image and select it. The image is however not displayed. A square with a red cross is shown.
It appears that the access rights of the image are set to:

--w----r-T


It appeared that the "chmod" that is done in "uploader.php" in function "copyFile" is not allowed on my server. The server changes the attributes to "--w----r-T". No idea why.
I commented the "chmod" out and now the attributes are fine. Appearently they are set to 644 by default.

19
Catzwolf
Re: WF-Channel v1.0.2 Beta Released
  • 2003/11/20 11:23

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


v1.0.2 Bug Fixes and new additions.

1, Fixed no upgrade Script in package.
2, Fixed missing database field.
3, Fixed Submenu items not showing correctly.
4, Fixed upload problems, this error was due to uploader.php error. Spent many hours trying to fix this before I found the little bugger.
5, Fixed bug where the files where not correctly CHMOD after upload.
6, Fixed the Group Access Error, silly me left an echo in there that should not have been lol.
7, Removed other small errors.
8, Removed all the upload fields and place them into one area for easy management.
9, Added upload files area.
10, Added reorder channels area.
11, Added Comments.
12, Added Search.
13, Added and removed some cosmetic parts.

YOU MUST UPGRADE THE MODULE AGAIN BY USING THE UPGRAGE SCRIPT PROVIDED (Even if you had done this for the previous version)

20
ladysham
Re: WF-Channel v1.0.2 Beta Released
  • 2003/11/23 5:45

  • ladysham

  • Quite a regular

  • Posts: 274

  • Since: 2003/11/11


I'm having a problem using HTML code in the newest WF-Channel release. First of all, I uploaded an HTML page to use instead of putting the copy in and nothing appeared.

I also put code into the page content using HTML - It doesn't recognize the HTML code. Any ideas?

Looks like a great module.

Kelly Ling

Login

Who's Online

202 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 202


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