Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Mod File Upload
@aslsw66, the mod has been tested and documented with rc2. It technically should work with rc1, but there are no docs and I don’t have time to support or test that specifically. If you can do without file uploading for a a short while, things may turn out to be very easy to get that functionality.
@stuart, it should be safe to remove the mod, as long as you leave download.php.
Offline
Re: Mod File Upload
Thanks Manfre. Actually I’m leaving “file” up there as well as I can still monitor things with that in place and it’s separate to the TXP code. It was just the mods in “category” and “prefs” that I wanted removing as both those files are under heavy attack by the devs at the moment especially with all the new localisation files.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Mod File Upload
Thanks Manfre for the reply.
I’ve been reading the discussion about rc3 and I assume this is what you’re talking about ie. the next full release will include some sort of file upload functionality.
Just a pity I can’t use your mod+plugin now…
Offline
Re: Mod File Upload
aslsw66, I assure you that it is worth the wait. It runs much smoother and will also be much faster. Also, the plugin tags are changing in a few ways. They have been integrated in to the Txp code base and have been renamed. Their behavior has also changed to be consistent with other Txp tags, and for performance reasons.
Offline
Re: Mod File Upload
Now stop teasing us Manfre!
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#90 2005-03-02 22:14:30
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: Mod File Upload
will u be able to upload, say, 2 or 3 files, and associate them with an article (a bit like an image) ?
it’s for an mp3 blog… so stripping the metadata outta the file would be tops too
but pls get back to your work now : )
Offline
Re: Mod File Upload
Hey hey!! Nice one Manfre.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Mod File Upload
This is a very cool plugin, Manfre. I’m having a problem that I can’t quite work out though. I installed the plugin and got it working just fine on my local instance of TXP, but when I move it to my server (Dreamhost), I get the following error when I try to upload a file:
Warning: move_uploaded_file(): open_basedir restriction in effect. File(/home/kimili/kimili.com/files/kml_flashembed_tp_04.zip) is not within the allowed path(s): (/dh/web/phpmyadmin:/tmp:/dh/solidclient:/usr/local/lib/php:/home/kimili:/home/.balaena/kimili) in /home/.balaena/kimili/kimili.com/textpattern/include/txp_file.php on line 307
I know that this “open_basedir restriction” has manifested itself in different scenarios, not involving this plugin, but I’m not sure why it’s happing here. Do you have any insight?
Thanks,
Michael
Offline
Re: Mod File Upload
No matter – i figured it out. It’s an issue of how my host, Dreamhost handles PHP…
Offline