21
bapapapa
Re: Mydownloads module modified
  • 2004/2/20 18:05

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi,

after I followed your instructions...
Quote:

Just replace line number 948 by
include_once XOOPS_ROOT_PATH . '/modules/' . $xoopsModule->dirname() .'/class/uploader.php';


I have this problem too...

Quote:
I don't have a problem with admin upload it works fine. But when a file is submitted through submit.php the screen turns white and is blank the file dosent get uploaded or submitted


Another bug is this:
If I try to modify a download forum

http://myhost/modules/mydownloads/modfile.php?lid=1
After I submitted it I get this neat info:

Realschule Alpen CMS Intranet Error
Error Code: 1016
ERROR: Please enter value for URL.

But this happens only to the files I submitted before the changes (see above).
If I try to modify a new created download forum, the changes won´t be applied. Nothing happens!

---> PHP DEBUG MODUS says:
Notice [PHP]: Undefined index: submit in file modules/mydownloads/modfile.php line 50
Notice [PHP]: Undefined index: usergroups in file modules/mydownloads/modfile.php line 150

Help me, please!!! The idea is superb!
Cheers
Marc

By the way I´m using XOOPS 2.06!

22
bapapapa
Re: Mydownloads module modified
  • 2004/2/20 18:20

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


It´s me again.

Maybe that helps you finding the bug.

After I submitted a new download-url that should upload a jpg-file, I receive this error:

Quote:
Fatal error: Cannot redeclare class xoopsmediauploader in /srv/www/htdocs/modules/mydownloads/class/uploader.php on line 86


Any ideas?

Thanks
Marc

23
samuels
Re: Mydownloads module modified
  • 2004/2/20 19:31

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


Download again.
Thks for the testing, perhaps in some days it will be functional
I'm learnig a lot modifying modules.

24
bapapapa
Re: Mydownloads module modified
  • 2004/2/21 9:53

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi samuels,

Quote:
I'm learnig a lot modifying modules.

and I´m learning to be patient. - Yust kidding!

Well, it still doesn´t work!
The file (a pdf) gets uploaded alright in the upload folder,
but I can´t download it. I receive a blank page.

I still can´t modify the downloads. Neither with the admin nor with the registered user who submitted the down/upload.

Did you change anything?
Keep on working and improving the module, please.
See ya around!

Marc

25
samuels
Re: Mydownloads module modified
  • 2004/2/21 11:44

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


I'm woking on it, be patient please.

26
oleman
Re: Mydownloads module modified
  • 2004/2/21 18:34

  • oleman

  • Just popping in

  • Posts: 10

  • Since: 2004/1/28


Thanks for your hard work on this I know its very frustrating. In the end when all works fine. This will be ranked right up there in the top five great work samuels

27
tacoco
Re: Mydownloads module modified
  • 2004/2/21 21:05

  • tacoco

  • Just popping in

  • Posts: 6

  • Since: 2004/2/13


You have no idea how excited I was when I saw this module for the first time!!!
Thank you very much for sharing with us.

28
samuels
Re: Mydownloads module modified
  • 2004/2/22 20:23

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


@bapapapa
Have you updated a previus mydownload version?
Y have added some files to the database to save the permissions, please check your db or install my modified mydownloads in local to test it.
Nowadays i dont recomend this module for final sites because of bugs. So dont use it overwriting the original mydownloads, just make a fresh instalation.

Its so easy update the original mydownloads module and I can explain how, but wait for a less buggy version.

Please, if you can post the dumped table STRUCTURE of mydownloads-downloads.
It can help me to find the bugs.

29
bapapapa
Re: Mydownloads module modified
  • 2004/2/23 9:20

  • bapapapa

  • Just popping in

  • Posts: 37

  • Since: 2004/1/2 2


Hi samuels,

Quote:
Have you updated a previus mydownload version?

No, I deleted the old one and installed your version.

Quote:
Please, if you can post the dumped table STRUCTURE of mydownloads-downloads.


Yes and No! I would like to do so, but how?
Please tell me, where I can find the dumped table structure and you´ll get it!

Thanks,

Marc

30
samuels
Re: Mydownloads module modified
  • 2004/2/23 17:24

  • samuels

  • Quite a regular

  • Posts: 249

  • Since: 2003/10/30


@bapapapa

It's easy if you have phpmyadmin, I think all servers have this util to manage the db.
Just go to phpmyadmin, select mydownloads_downloads table and click on "export" label.
It will save in a text file the table structure.

In addition you can view if download url is correctly saved on db selecting the table mydownloads_downloads and pressing on the label "browse"

Login

Who's Online

295 user(s) are online (161 user(s) are browsing Support Forums)


Members: 0


Guests: 295


more...

Donat-O-Meter

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

Latest GitHub Commits