• [MOD] multiupload 5 0 5 1
Currently:  

Author Topic: [MOD] multiupload  (Read 298785 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] multiupload
« Reply #180 on: October 05, 2007, 09:52:04 PM »
No step 7 - I say step 6 - is say ? Is do for no work ? PHP Version is step 7.

Anyway, again, see ftp_mkdir in admin/categories.php file ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bensen

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] multiupload
« Reply #181 on: October 05, 2007, 09:54:08 PM »
is do for no work <-- sry but this isnt english for me so i didnt unterstand it

//ici, la connection est bien effectuée, alors on appelle la fonction qui crée le répertoire
$result = ftp_mkdir($conn_id,$path);
}

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] multiupload
« Reply #182 on: October 05, 2007, 09:55:49 PM »
Quote
sry but this isnt english for me

It is to me  :!:

Quote
$result = ftp_mkdir($conn_id,$path);

Sigh - again rename ftp_mkdir to: mkdir .

8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bensen

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] multiupload
« Reply #183 on: October 05, 2007, 10:01:37 PM »
Code: [Select]
Warning: mkdir() expects parameter 1 to be string, resource given in /var/www/web14/web/gallery/admin/categories.php on line 96

Warning: mkdir() expects parameter 1 to be string, resource given in /var/www/web14/web/gallery/admin/categories.php on line 96

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web14/web/gallery/admin/categories.php:96) in /var/www/web14/web/gallery/includes/functions.php on line 114

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] multiupload
« Reply #184 on: October 05, 2007, 10:02:29 PM »
Ok so ask author of MOD for this ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bensen

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] multiupload
« Reply #185 on: October 05, 2007, 10:14:15 PM »
pls for the next version

massupload and secure mode on funktion in the acp...

terrible this whole modding... i just want a working version on my space -.-

/e is there anywhere a zip WITH safe mode editings? a WHOLE package?
« Last Edit: October 05, 2007, 10:32:55 PM by bensen »

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] multiupload
« Reply #186 on: October 05, 2007, 10:40:45 PM »
Quote
/e is there anywhere a zip WITH safe mode editings? a WHOLE package?

AhHA  ! so if you ask - is because you still have Safe mode on ?
4images must be safe mode off for work.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] multiupload
« Reply #187 on: October 06, 2007, 03:43:09 AM »
pls for the next version

massupload and secure mode on funktion in the acp...

terrible this whole modding... i just want a working version on my space -.-

/e is there anywhere a zip WITH safe mode editings? a WHOLE package?

heile bensen,

modding: übung macht den meister  ;)
4images kann nix dafür das dein provider SAFE MODE an hat..

grüsse nach tirol
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: [MOD] multiupload
« Reply #188 on: October 14, 2007, 10:25:13 PM »
@ justinkuan85

This works in 1.7.4.
Follow the same instructions in the first post to add to 1.7.4.

Reinstall the mod and should work if directions are followed.

I was wondering about the version, since the original post (http://www.4homepages.de/forum/index.php?topic=8517.0) states 1.7.1.

I am running 1.7.4, so the  instructions for the mod for this version is the first post of the forum? I am assuming the coding gets updated then as error were found?


Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: [MOD] multiupload
« Reply #189 on: October 14, 2007, 10:26:18 PM »
How about zip integration?

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: [MOD] multiupload
« Reply #190 on: November 07, 2007, 12:39:07 AM »
Hello Thunderstrike,

This one is quite strange.

my multiupload is crashing on the line:
Code: [Select]
$remote_thumb_file = format_url(un_htmlspecialchars(trim($HTTP_POST_VARS['remote_thumb_file'])));

i do not use remote images at all.

I can upload one image in multiupload successfully. as soon as i add a second image at the same time, the page just hangs while trying to process.

My site is working OK if i do this:
Code: [Select]
  //$remote_media_file = format_url(un_htmlspecialchars(trim($HTTP_POST_VARS['remote_media_file'])));
  //$remote_thumb_file = format_url(un_htmlspecialchars(trim($HTTP_POST_VARS['remote_thumb_file'])));

This was not a problem while i was running on WAMPP with PHP4 and MySQL 4.
I am now on XAMPP with php5 and MySQL5 and i don't know if this might be the problem. I am running on 4Images 1.7.2

Any suggestions?

Kind Regards,
Wesley.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] multiupload
« Reply #191 on: November 07, 2007, 12:45:44 AM »
Quote
Any suggestions?

Yes ... this line incorrect structure:

Code: [Select]
$remote_media_file = format_url(un_htmlspecialchars(trim($HTTP_POST_VARS['remote_media_file'])));
$remote_thumb_file = format_url(un_htmlspecialchars(trim($HTTP_POST_VARS['remote_thumb_file'])));

change for:

Code: [Select]
$remote_media_file = un_htmlspecialchars(trim(format_url((string)$HTTP_POST_VARS['remote_media_file'])));
$remote_thumb_file = un_htmlspecialchars(trim(format_url((string)$HTTP_POST_VARS['remote_thumb_file'])));
« Last Edit: August 27, 2011, 02:19:38 PM by thunderstrike »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: [MOD] multiupload
« Reply #192 on: November 07, 2007, 08:07:08 PM »
Hi Thunderstrike,

I Changed my code to your suggestion and it still crashes with more than one file selected.

I have attached my zipped up member.php file for you to test with, maybe that will help?

Line 492 and 493 are the problems with multiupload.

Kind Regards,
Wesley.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] multiupload
« Reply #193 on: November 07, 2007, 09:15:14 PM »
This MOD no use array with for loop ... I no like ... is problem why is freeze start to 2nd file and no for 1 file upload ...
I check in member multiupload form html template ... is say media_file, media_file1, media_file2 and after ...

media_file in template need for say: media_file[] and in member.php is need for check for array with for loop.
I no support other author MOD so you need ask author.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline WeZ

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: [MOD] multiupload
« Reply #194 on: November 07, 2007, 10:08:58 PM »
i will have to ask the author then, thanks.

In my testing i can see that i am using the template WALLPAPER. when i change back to the normal template, then it works fine!! i will check the differences on the template now and see if i can fix it...