coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: artoonie on March 17, 2007, 06:49:17 PM

Title: Impossible to move error
Post by: artoonie on March 17, 2007, 06:49:17 PM
I am trying to create a mod-type thing so users can upload from my homepage, which is outside the coppermine directory.
Is this possible? Is it already made? Doesn't seem like a hard thing, but I have little knowledge of php

Test user: test
Test pass: test
Login: http://www.priceypixel.com/forum/login.php
Normal, working upload: http://www.priceypixel.com/pics/upload.php
Homepage upload: http://www.priceypixel.com on the right side of page

I tried 3 different ways of putting the upload.php into the root directory, but I ended up just requiring from ./index.php


I can probably fix the other page loading inside the homepage (try uploading to see what I mean), but I am still getting an error:
Quote0 uploads were successful.

The following uploads encountered errors:
File Uploads:
File Name/URL.........Error Message
1. plus44.gif...........Impossible to move.



my chmods and stuff are correct, seeing as I can upload from within the coppermine directory.
Any ideas?

Thanks,
Artoonie
Title: Re: Impossible to move error
Post by: artoonie on March 18, 2007, 09:02:33 AM
Problem solved.

I used iframes, put an upload_from_homepage.php inside coppermine, modified that to make it simple and only do the required functions, deleted all unneeded space to keep it compressed, and some other stuff I can't think of.
you can see it here: http://www.priceypixel.com , and if anybody wants the files, i'll be happy to send, but it's pretty sloppy so I doubt you'll want em.


&toon;