1
zeroK
Re: WF-Sections V1 not showing content
  • 2003/6/29 17:43

  • zeroK

  • Just popping in

  • Posts: 6

  • Since: 2003/6/7 1


Another problem I noticed: Due to the safe-mode I can't rename files with your uploadmanager, but it works with the original filemanager, but somehow I couldn't find the big difference between these two implementations :-S



2
zeroK
Re: WF-Sections V1 Released Not valid SQL
  • 2003/6/29 17:40

  • zeroK

  • Just popping in

  • Posts: 6

  • Since: 2003/6/7 1


Quote:

Catzwolf wrote:
zeroK:

Many thanks m8, some of these errors I had thought I removed hmmm, what happens when you stay up to late at times lol.

The MySQL problem I did not know about, thanks for pointing that one out (I've still a lot to learn with PHP ) and I will know the next time.

Thanks for your help!

ATB

Catz


No problem Perhaps just some version'ing problem



3
zeroK
Re: WF-Sections V1 Released Not valid SQL
  • 2003/6/29 15:09

  • zeroK

  • Just popping in

  • Posts: 6

  • Since: 2003/6/7 1


Quote:

domin wrote:
hi, Catzwolf

i can't create a new directory via upload management in wf-section. anyone help me?


Open the admin/filemanager.php and search for following section
if ($action == 'mkdir') {

         
$newdir str_replace("../"""$_POST["new_dirname"]);

        
$newdir strtolower("{$dirpath}/{$newdir}");

Replace the last $newdir = ... line with following:
$newdir strtolower("{$HTTP_POST_VARS['dirpath']}/{$newdir}");





I also had to change some other parts of the filemanager to get the upload, the whole navigation and the mkfile to work.
Patchfile <- this patchfiles includes all changes. The only thing I couldn't get to work yet, is the uploading within articles. Probably thanks to a safe-mode restriction.



4
zeroK
Re: WF-Sections V1 Released
  • 2003/6/28 12:41

  • zeroK

  • Just popping in

  • Posts: 6

  • Since: 2003/6/7 1


Quote:

rgiord54 wrote:
nobody still did not help me with my problem
everything went okay now it doesn't see my attach files and when I try to upload it again or even new it says this:
Update failed.
You are not permitted to upload this type of file.
This is on jpg, movies or what ever I had before
Ralph


Just checking: Have you already checked the mime-types in the configuration panel?



5
zeroK
Re: WF-Sections V1 Released
  • 2003/6/28 7:13

  • zeroK

  • Just popping in

  • Posts: 6

  • Since: 2003/6/7 1


Quote:

Catzwolf wrote:
Quote:

zeroK wrote:
Great work

I'm not sure if this is system specific, but the filemanger generates wrong links here (The original filemanager doesn't.) The problem here is, that the script path is doubled up which is causes be the $url in the $urlpath definition. After removing it, the upload manager generates correct links


Hmm strange, does not on my system? What is yours?

Which area of the filemanager would this cause problems?
Many thanks


http://www.edu.uni-klu.ac.at/~hgutmann/info.php
The whole navigation doesn't work for me. There is also a problem with creating directories and creating files because the $dirpath seems not to be available where it is needed. Uploading files does also not work for me via the filemanager I think again because of a wrong $dirpath. I've only looked for about 10minutes at the code but perhaps this is the problem: The dirpath is generted from the $rootpath if it's set. When you upload something , the $rootpath would have to transmitted as $_POST whereas normally it should be transmitted as $_GET. So in this case the $dirpath is only created from the $root should point to a directory that at least should be not world-writable. So the uploading fails.
This whole things could be causes by my server being in safe-mode and the code being written for php4.3.x, but I'm not sure about that
Uploading files into an article does work more or less. The file is uploaded with 0600 permissions but it is not linked to the article.



6
zeroK
Re: WF-Sections V1 Released
  • 2003/6/27 20:05

  • zeroK

  • Just popping in

  • Posts: 6

  • Since: 2003/6/7 1


Great work

I'm not sure if this is system specific, but the filemanger generates wrong links here (The original filemanager doesn't.) The problem here is, that the script path is doubled up which is causes be the $url in the $urlpath definition. After removing it, the upload manager generates correct links




TopTop



Login

Username:
Password:

Lost Password? Register now!

Who's Online

60 user(s) are online (39 user(s) are browsing Support Forums)


Members: 0


Guests: 60


more...

Donat-O-Meter

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

Latest GitHub Commits