FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Problems uploading
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Problems uploading [message #13414] Tue, 07 October 2003 18:13 Go to next message
maydog is currently offline  maydog   United States
Messages: 5
Registered: October 2003
Karma: 0
Junior Member
Hello,

I have just installed this software on a windows 2000 machine rinning MySql and PHP 4.3.

The forums seem to work fine except when I attempt to upload files. The forum shows the file link and correct size but the file does not exist in the data directory. I get the following error in the log:

2003-10-07-17-45-32 [ERR] unable to move uploaded file

My config is as follows:

System Configuration
PHP built On: Windows NT stp818610 5.0 build 2195
Database Version: 4.0.15-max-debug
PHP Version: 4.3.3
Web Server: Apache/1.3.28 (Win32)
WebServer to PHP interface: cgi-fcgi
Forum Version: 2.5.1
Relavent PHP Settings: Safe Mode: OFF
Open basedir: none
Display Errors: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: OFF
Output Buffering: OFF
Disabled Functions: none
PSpell Support: No


I have PHP enabled to upload, but it does not seem to work. Has anyone else ran into this problem?

Thank you
Re: Problems uploading [message #13455 is a reply to message #13414] Tue, 14 October 2003 01:33 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
If the files/ directory on the same partition as your temporary directory (used by PHP) ?

FUDforum Core Developer
Re: Problems uploading [message #13480 is a reply to message #13414] Tue, 14 October 2003 03:27 Go to previous messageGo to next message
maydog is currently offline  maydog   United States
Messages: 5
Registered: October 2003
Karma: 0
Junior Member
The temporary directory is C:\PHP\tempfiles and the permanent directory is C:\apache\www\fudforum\files
Re: Problems uploading [message #13481 is a reply to message #13480] Tue, 14 October 2003 03:51 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Have you tried seeing if uploading file attachments via PHP outside of the forum works?

FUDforum Core Developer
Re: Problems uploading [message #13492 is a reply to message #13414] Tue, 14 October 2003 14:37 Go to previous messageGo to next message
maydog is currently offline  maydog   United States
Messages: 5
Registered: October 2003
Karma: 0
Junior Member
I am unfamiliar with PHP, how would I upload with PHP outside of the forum?

I am thinking I may have a permissions problem. How do I allow write access to a directory on apache running windows 2000?

[Updated on: Tue, 14 October 2003 14:51]

Report message to a moderator

Re: Problems uploading [message #13496 is a reply to message #13492] Tue, 14 October 2003 14:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
http://www.php.net/features.file-upload


FUDforum Core Developer
Re: Problems uploading [message #13517 is a reply to message #13414] Tue, 14 October 2003 18:25 Go to previous messageGo to next message
maydog is currently offline  maydog   United States
Messages: 5
Registered: October 2003
Karma: 0
Junior Member
I have tried the upload script they have provided and I cannot ge a file to load. I suspect I may have problems with my permissions?

How do I endow write permissions with Apache on windows?
Re: Problems uploading [message #13518 is a reply to message #13517] Tue, 14 October 2003 18:36 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
No idea sorry Sad I don't use windows...

You may want to ask in #php channel of freenode or search on google... Or just read up on win32 permission system.

More importantly make sure that file uploads are enabled in your PHP.


FUDforum Core Developer
Re: Problems uploading [message #13519 is a reply to message #13414] Tue, 14 October 2003 19:48 Go to previous message
maydog is currently offline  maydog   United States
Messages: 5
Registered: October 2003
Karma: 0
Junior Member
Uploads are enabled and thanks for your input.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Help cant get into admin section and im locked out of directories
Next Topic: creating stream : Permission denied
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 08 21:21:54 GMT 2024

Total time taken to generate the page: 0.03094 seconds