Log in | Register | Lost password

Goto page: [-1] 1 - 2 - 3 [+1]

Bottom
New install with upload problem
  • Posted: 04.10.2006, 20:44
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    When I upload something, it seems to think everything is OK. I get - dot slash tick. I guess the tick image means "image uploaded", but there's not name, and no image.
  • Posted: 27.10.2006, 23:19
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I am also having this issue with apparant permissions not being right even though they are set. Simply cant upload anything and get the same error message as the others.

    Install path /xxx/www/PostNuke/html/modules/mediashare

    upload dir path /xxx/www/PostNuke/mediashare

    temp dir path /xxx/www/gallerycache

    all folders chmod 777 all folders ownweship by webserver.

    Not really sure what i am doing wrong if anything? :-? :-? :-?



    * /xxx/www/PostNuke/html/modules/mediashare/pnvfs_fsdirectapi.php(44): Failed to copy file '/xxx/www/gallerycache/PreviewGKaHSx' to '/xxx/www/PostNuke/mediashare/7c/ax4tvor514lfoo1q8vo2s7uep2axae-tmb.png' while creating new file in virtual storage system. Please check media upload directory in admin settings and it's permissions. /xxx/www/PostNuke/html/modules/mediashare/pnvfs_fsdirectapi.php(44): Failed to copy file '/xxx/www/gallerycache/PreviewGKaHSx' to '/xxx/www/PostNuke/mediashare/7c/ax4tvor514lfoo1q8vo2s7uep2axae-tmb.png' while creating new file in virtual storage system. Please check media upload directory in admin settings and it's permissions.
    * No media items No media items








    edited by: HardCalibre, Oct 28, 2006 - 12:38 AM
  • Posted: 11.11.2006, 11:02
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi,

    I got this on a winXP SP2 / XAMPP 1.5.4:

    C:\www\tippkiste\modules\mediashare\pnvfs_fsdirectapi.php(44): Failed to copy file 'C:\www\tippkiste\modules\mediashare\tmp\Pre5DF.tmp' to 'C:\www\tippkiste\modules\mediashare\images/z3/tx5kftqfc51o2riaaiuya9e2gnrj9l-tmb.png' while creating new file in virtual storage system.

    In Admin-Settings the dirs are set to
    C:\www\tippkiste\modules\mediashare\images
    C:\www\tippkiste\modules\mediashare\tmp

    so whats the "\/" garbage and "z3" ????

    Greetz
  • Posted: 23.02.2007, 19:51
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    seems that a restricted basedir is the problem! dont know why jorns proggy got this problem with restricted basedir although all directories are on the correct place
  • Posted: 03.03.2007, 12:10
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    the problem is that your Postnuke installation is not in the root (www/) folder. i had similar problem, and i had my PN in something like www/comunity/... folder. i moved all the PN folders and files up to www/ (or whatever httpdocs/) folder, the problem was solved. ;-)
    yet such limitation does not sounds good . J?rn, please, is it possible to patch that?
  • Posted: 03.03.2007, 12:47
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    NACK!
    postnuke is the root folder of the document root. ;)
    safemode on and mediashare wont work anymore
    safemode off and it works.
    the media storage was under (/ == document root) /mediashare. and the module itself ofcourse under /modules/mediashare. tempspace was /pnTemp (to exclude inoperabilityissues i also tried a /tmp (NOT the servers /tmp!!! im talking always of the document root!). no change there!
    directories were correctly set up - even 777 did help (yes owner was the webserver, not neccessary but i even tried that).

    in the second i did remove safemode directive mediashare's upload did work as expected! so yes we can surely say that mediashare does NOT work with safemode enabled which ich some kind of limitation since many webhosters forcing safemode. ;)
    if some has mediashare running with safemode enabled and upload works he/she may post all relevant information including webserver configuration for that host, directory rights and structure plus mediashare settings - so ppl can verifiy. ;)

    best regards

    Simon
  • Posted: 05.03.2007, 20:21
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0

    Quote

    C:\www\tippkiste\modules\mediashare\pnvfs_fsdirectapi.php(44): Failed to copy file 'C:\www\tippkiste\modules\mediashare\tmp\Pre5DF.tmp' to 'C:\www\tippkiste\modules\mediashare\images/z3/tx5kftqfc51o2riaaiuya9e2gnrj9l-tmb.png' while creating new file in virtual storage system.


    First of all: Mediashare does not work with a "images" subdir unless you add something to your .htaccess file. This won't although fix your upload issue.

    If you have SAFE_MODE turned on you may need to set the GID or UID bits on the "mediashare" directory. This means file mode "6777" (not just "777"). DON'T ask me why - but it works for me.
  • Posted: 05.03.2007, 23:52
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Jorn, may you please reread my posting? All tryouts you described i have already described before and they did not change anything. the only factor which is solving the issue is to turn off safemode.

    i have written that the error comes even if you follow suggestions of wiki/docs by word. including things like doing a directory in the document root of the webserver for the images. ;)
    posix rights are not the problem too. no matter who is the owner and what group nor what readwriteexecute-rights it may have, as long as safemode is on mediashares upload does not work.

    its some kind of a weird problem isnt it? ;)
    usually you would expect that mediashare's upload should work under safemode if all dependend directories are under open base dir and the webserver itself has ownerrights and even group and other have full rights for all neccessary directories which the webserver can access through php. but the funny point is - it does not work, and it seems that noone knows why. ;)

    best regards

    Simon
  • Posted: 31.03.2007, 14:19
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I dispute the claim - "Runs on PostNuke systems with SAFE_MODE and OPEN_BASEDIR enabled"

    I specifically used mediashare because the shared server I'm using has safe-mode and open_basedir enable. But it does not work. Does anyone have a working system with mediashare on such a system?
  • Posted: 03.04.2007, 11:46
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I have a working system with mediashare with SAFE_MODE and OPEN_BASEDIR enabled, but I must hack file pnvfs_fsdirectapi.php - remove create subdir (ZZ) function.. - there's the problem ! The new folder has owner UID XX and moved file has owner UID YY. With SAFE_MODE enabled is only possible to store files in directories created over ftp!





    edited by: antz, Apr 03, 2007 - 12:48 PM
  • Posted: 22.04.2007, 17:33
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0

    antz

    I have a working system with mediashare with SAFE_MODE and OPEN_BASEDIR enabled, but I must hack file pnvfs_fsdirectapi.php - remove create subdir (ZZ) function.. - there's the problem ! The new folder has owner UID XX and moved file has owner UID YY. With SAFE_MODE enabled is only possible to store files in directories created over ftp!


    Well, I have Mediashare running on two different hosting environments with SAFE_MODE on. So something more must be making trouble. But I *do* have to set the filemode of the "mediashare" directory to 6777 (and not just 777) - as I have stated a couple of times before.

    Maybe it's a PHP version thing? My hosts are running PHP 4.4.6. Besides that I'm completely lost - but I will continue saying that Mediashare works with SAFE_MODE on.

    /J?rn
  • Posted: 28.04.2007, 00:28
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    antz

    can you copy and paste the hack you used to make it work. I dont see a function "create subdir(ZZ)" I hope this will solve my problems
  • Posted: 30.04.2007, 14:00
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Can anybody help? I am another person with exactly the same problem, and I have tried everything.
  • Posted: 02.05.2007, 17:10
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    My friend has completely solved this problem on our site by:

    * Turning off PN's Short URLs
    * Turning PN's cacheing off.
    * Making sure that the upload folder is at the same level or under the main PN folder (as per the instructions)

    Don't ask me why these steps have worked, but they have.






    edited by: Andy, May 02, 2007 - 06:11 PM
  • Posted: 19.05.2007, 07:07
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I had problems seeing photos while using ShortURLs until I added the following lines in my .htaccess file near the top of the RewriteRules:

    # For Mediashare to get to photos
    RewriteRule ^mediashare/.*$ - [L,NC,NS]


    I also moved my mediashare temp directory under this mediashare directory as well (and placed a blank index.html file in it too.) That way the one RewriteRule covers both places.

Goto page: [-1] 1 - 2 - 3 [+1]

Template courtesy of Designs By Darren.