BlameThePixel!

BTForum » Main BTP Stuff » BlameTheGeneralDiscussion » cant upload map !

Page: [1] []
[]sergelac
Looking For Status
Send PM
Posts: 5
Threads: 1
Money: £240.11 (D)
(+ Friend)
Not online within the last half an hour
i cant upload maps !
i always get the same error : Could not create directory.
i try with and without a preview



Debug: Main File ['name']: 'Haunted.png'
Debug: Main File ['tmp_name']: '/tmp/phpNFU8rG'
Debug: Main File ['size']: '211164'
Debug: Main File ['error']: '0'
Debug: Main File ['ext']: 'PNG'
Debug: Prev File ['name']: 'Haunted.png'
Debug: Prev File ['tmp_name']: '/tmp/php0GOLyq'
Debug: Prev File ['size']: '211164'
Debug: Prev File ['error']: '0'
Debug: Prev File ['ext']: 'PNG'
Debug: Info: File Path = 'files/s/e/sergelac'

Error
Could not create directory.
20.12.04 17:54
Post #1
[WWW] [Hide Sig (0)] [Profile] [Quote]
[G]sargetron
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour


Quoted :: The candy Man

talk to an admin.....




Well, that was a really helpful and informative post. It mgiht be your firewall / router.
20.12.04 18:58
Post #2
Last edited: 21.12.04 08:28 (SargeTron - 1 times) [Hide Sig (0)] [Profile] [Quote]
[ES]Pioneer322
Orangie Orgy
Send PM
An Avatar
Posts: 2375
Threads: 38
Mood: FFFFFFFFFFF
Money: £1289.13 (D)
User Tax: -322%
(+ Friend)
Not online within the last half an hour
Uploading from FTP?
20.12.04 19:16
Post #3
[Hide Sig (2)] [Profile] [Quote]
[]HarrY
poo!
Send PM
Posts: 3124
Threads: 75
Mood: Headshooterising modd. (CSS)
Money: £2287.88 (D)
User Tax: 10%
(+ Friend)
Not online within the last half an hour
How large is this file you want to upload?
I think the max is 200KB, but i'm not entirely sure....

________________
20.12.04 19:39
Post #4
[Wormopoly!] [Hide Sig (13)] [Profile] [Quote]
[]sergelac
Looking For Status
Send PM
Posts: 5
Threads: 1
Money: £240.11 (D)
(+ Friend)
Not online within the last half an hour

Quoted :: SargeTron

It mgiht be your firewall / router.


no, i try disabling my firewall and i get the same error




Quoted :: Pioneer322

Uploading from FTP?


no
Uploading from Submit in the files section

how can i upload from FTP ?
20.12.04 20:14
Post #5
Last edited: 20.12.04 20:28 (sergelac - 3 times) [WWW] [Hide Sig (0)] [Profile] [Quote]
[S]Zogger!
Looking For Status
Send PM
Posts: 3954
Threads: 62
Money: £93.82 (D)
(+ Friend)
Not online within the last half an hour
it's a problem with the file submission process, but I don't know what it is. It's code I didn't write, but what I know of it is that it uses ftp to create a new directory for a user uploading files for the first time. Something's wrong with the ftp bit. I don't know what though, cause the php settings still suggest it should work, and the script looked allright in the brief look of it I took.

edit: Can you try again and send me the output, silvousplait.

________________
You know I'm a dancing machine
20.12.04 22:41
Post #6
Last edited: 20.12.04 22:49 (ZoGgEr! - 1 times) [Hide Sig (8)] [Profile] [Quote]
[]sergelac
Looking For Status
Send PM
Posts: 5
Threads: 1
Money: £240.11 (D)
(+ Friend)
Not online within the last half an hour
Debug: Main File ['name']: 'Underwater.png'
Debug: Main File ['tmp_name']: '/tmp/phpxV1o5a'
Debug: Main File ['size']: '242199'
Debug: Main File ['error']: '0'
Debug: Main File ['ext']: 'PNG'
Debug: Prev File ['name']: 'Underwater.png'
Debug: Prev File ['tmp_name']: '/tmp/php07gzHY'
Debug: Prev File ['size']: '242199'
Debug: Prev File ['error']: '0'
Debug: Prev File ['ext']: 'PNG'
Debug: Info: File Path = 'files/s/e/sergelac'
Server: 220-This computer system is for authorized users only. Individuals using this
Command: USER fileman@blamethepixel.com
Server: system without authority or in excess of their authority are subject to
Command: PASS ****
Server: having all their activities on this system monitored and recorded or
Command: MKD s
Server: examined by any authorized person, including law enforcement, as system
Command: SITE CHMOD 777 s
Server: personnel deem appropriate. In the course of monitoring individuals
Command: MKD s/e
Server: improperly using the system or in the course of system maintenance, the
Command: SITE CHMOD 777 s/e
Server: activities of authorized users may also be monitored and recorded. Any
Command: MKD s/e/sergelac
Server: material so recorded may be disclosed as appropriate. Anyone using this
Command: SITE CHMOD 777 s/e/sergelac
Server: system consents to these terms.
Command: QUIT
Server:

Error
Could not create directory.
21.12.04 00:02
Post #7
[WWW] [Hide Sig (0)] [Profile] [Quote]
[S]Zogger!
Looking For Status
Send PM
Posts: 3954
Threads: 62
Money: £93.82 (D)
(+ Friend)
Not online within the last half an hour
hmm not . useful, I guess that's why whiz removed the $debug bit from those lines... will try to make it more useful tomorrow...

________________
You know I'm a dancing machine
21.12.04 00:05
Post #8
[Hide Sig (8)] [Profile] [Quote]
[G]keeper
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
i fail to see what is execiting that 777 permissions is needed. 666 is rerquired to write and create new directoies, unless there is a program running that does thes. but that sounds like its being done in a manner which could be handeled easier.

I'll be dowloading a mod for my fourms that alows my users to attach files to a post. perhaps the answer will lie with in the code there. NOTE that i USE phpBB.

and if admin / webmaster just creates a directory for you it should allow you to upload the files.

Also, if you adjust the registration page to create this directory on sign up, or on account activation that would also solve this problem well, for new users anyway.
21.12.04 05:40
Post #9
Last edited: 21.12.04 05:42 (keeper - 1 times) [Hide Sig (0)] [Profile] [Quote]
[S]Zogger!
Looking For Status
Send PM
Posts: 3954
Threads: 62
Money: £93.82 (D)
(+ Friend)
Not online within the last half an hour
like I say, this was CBWhiz's code...
Creating the DIR on account registration has its disadvantages, there would be a rather large amount of unused directories, and we would probably have the same problem, seeing as if it doesn't work here it probably won't work there either. I don't think phpBB will create dirs for attachments, so I'm not sure that code will help.
And you may well be right about the permissions, I'm never really completely sure.

________________
You know I'm a dancing machine
21.12.04 12:04
Post #10
[Hide Sig (8)] [Profile] [Quote]
[S]ReadMe
Absent
Send PM
Posts: 2820
Threads: 85
Money: £43.42 (D)
(+ Friend)
Not online within the last half an hour
well 777 has more permisssions that 666, so it wouldnt cause a problem.

________________
Cant be arsed to remake my sig.
21.12.04 12:51
Post #11
[Hide Sig (7)] [Profile] [Quote]
[G]keeper
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
777 is kinda dangerous.. i'll pm you zog
21.12.04 15:16
Post #12
[Hide Sig (0)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
Perhaps a bad suggestion but perhaps change the code of the file submit so it doesn't create directories like that and perhaps delete the maps..again?

Perhaps, I said perhaps to many times there..
21.12.04 20:46
Post #13
[Hide Sig (2)] [Profile] [Quote]
[S]ReadMe
Absent
Send PM
Posts: 2820
Threads: 85
Money: £43.42 (D)
(+ Friend)
Not online within the last half an hour
777 is about as dangerous as leaving a key under the flowerpot.

If you're going to make a statement like that then please explain why.

________________
Cant be arsed to remake my sig.
21.12.04 20:54
Post #14
[Hide Sig (7)] [Profile] [Quote]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour



Quoted :: ReadMe

777 is about as dangerous as leaving a key under the flowerpot.

If you're going to make a statement like that then please explain why.


That key could be for your house :o Robbers can get into it with that key!

That's very dangerous.
21.12.04 21:06
Post #15
[Hide Sig (2)] [Profile] [Quote]
Page: [1] []

Post Reply

Jump To:


Your Comments:

Donate to BlameThePixel:
Donate to BTP Via PayPal


[22 Queries, Page Loaded in 0.276013 Seconds]

ShoutMeUp

Xmas Greetings from waka waka waka waka []Unvalidated EmailChristmasRiddle MERRY CHRISTMAS EVERYONE! []Spleet Except for Spleet. []TheAbdBoy Always bummin' a brother out. []Spleet Happy New Year everyone! But Spleet. []TheAbdBoy

Word Association

All

-10 Ago-

MiddleEastern []AlphaWolf camel [S]Bloopy toe []TheAbdBoy moose knuckle [S]Bloopy MeatLoaf []Spleet IdDoAnything4Lo ve []AlphaWolf rub n tug []TheAbdBoy tugboat []The Pope rope [S]Bloopy race []TheAbdBoy

-Latest-


Must be logged in to add new words

FictoLeague

You have to be logged in to vote...

Member Stats

Date: 21.11.24.
Members: 4731.
Latest: []Unvalidated Emailsdsakldsaldklasdsdsa
Active:
0 user(s)
1 guest(s)

On chat:
Lots of people

Files: 3330

Bloopy's Site
Get Firefox Get Opera Donate to BTP Via PayPal