21
MS-2001
Re: Notifications
  • 2005/9/29 12:54

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


I don't care whether it's outdated or not because I can't update anymore (you maybe know that) and so I have to find a way to fix that problem.

I'll help you with anything you need but please tell me what

Quote:
(you'll have to trigger the notification as an admin to get the MySQL debug window)

??? I don't understand, sorry. I never heard about a MySQL Debug Window in XOOPS (or do you mean the mySQL debug option?)

Then what query do you need?



22
MS-2001
Re: Notifications
  • 2005/9/28 14:45

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Is it still possible!?!? Don't you want me to answer? Am I doing anything wrong? Do you need more information?

WHAT IS IT?



23
MS-2001
Re: XoopsMediaUploader
  • 2005/9/27 14:05

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


After another two hours of looking for the "fatal error" I found it.

It was the MAX_FILE_SIZE. It had to be much higher to make it work. But don't ask me why !?!?! :-/



24
MS-2001
XoopsMediaUploader
  • 2005/9/26 19:07

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


I got a File on 'C:\' called 'oscal_full.jpg' --> 'C:\oscal_full.jpg'.

Using the XoopsMediaUploader class i can upload it without any problems in one of my files but not in an other. That's why I opend that thread.

I got a form with 10 fileboxes:
<input type='hidden' name='MAX_FILE_SIZE' value='2048' /><input type='file' name='image_file_0' id='image_file_0' /><input type='hidden' name='xoops_upload_file[]' id='xoops_upload_file[]' value='image_file_0' />

The next box is image_file_1 and so on.

But the upload process drives me crazy here. $uploader->fetchMedia($_POST['xoops_upload_file'][$i]) returns false every time so i had a look on the var_dump of $_FILES[$_POST['xoops_upload_file'][$i]]:

array(5) { ["name"]=> string(14) "oscar_full.jpg" ["type"]=> string(0) "" ["tmp_name"]=> string(0) "" ["error"]=> int(2) ["size"]=> int(0) }

That's all I get. But it's only with this upload form. Any other works fine. So what's my problem?!!? I can't find any mistake after two hours of looking for any.

Hope to get any answers :-/



25
MS-2001
Re: Notifications
  • 2005/9/25 13:33

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


So Mithrandir could you please help me? The option I'm looking for is available but it isn't working. No mather for what option I select, I'll allways get an eMail / PN.



26
MS-2001
Re: xoopsDB Object
  • 2005/9/7 18:07

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Ok, thanks. Maybe you can help me with my other problem?

notifications (link in profile)



27
MS-2001
Re: xoopsDB Object
  • 2005/9/7 15:50

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


In which case should i use quotestring?



28
MS-2001
Re: xoopsDB Object
  • 2005/9/7 14:23

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


I know. But in case of the remote adress it's senseless, isn't it?

What about my other question?



29
MS-2001
Re: xoopsDB Object
  • 2005/9/7 14:18

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Ah ok. I didn't know that ($_GET). But now it's clear. Your Query doesn't work anyway. Without the quoteString Function it works (I think because of the two ' you got then. ' + ' = "" (nothing).

Thanks for your help.

But another Question: What could happen when I wouldn't use:

if (intval($pid) <= 0)
die("Illegal parameter value (pid)");

???



30
MS-2001
Re: xoopsDB Object
  • 2005/9/7 13:44

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


Sorry, but that's same, isn't it?
And neither the insert nor the update command needs a result var or am I wrong again?




TopTop
« 1 2 (3) 4 5 6 ... 20 »



Login

Who's Online

200 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 200


more...

Donat-O-Meter

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

Latest GitHub Commits