#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-11-18

Timestamps are in GMT/BST.

00:04:00raptor Quit (Remote host closed the connection)
00:23:00koda Quit (Quit: koda)
01:32:00sam686 has joined
01:32:00ChanServ sets mode +v sam686
02:55:00CrazyLinuxNerd Quit (Quit: Leaving)
04:45:00raptor has joined
04:45:00ChanServ sets mode +o raptor
04:46:00raptorFlash_Garden: you haven't said much in a week or so
05:03:00raptor Quit (Read error: Connection reset by peer)
05:03:00raptor has joined
05:03:00ChanServ sets mode +o raptor
06:08:00Zoomber has joined
06:08:00ChanServ sets mode +v Zoomber
06:08:00Zoomberhi
06:08:00raptorhowdy
06:08:00raptorlong time no see!
06:08:00Zoomberyeah, ive been really busy
06:10:00raptorwell welcome back
06:15:00Zoomberthanks
06:15:00BFLogBot - Commit d7a0c6aa69e5 | Author: buckyballreaction | Log: Clean up robot header
06:15:00Zoomberbeen trying to make php uploading work on my vps right now, but every script i use just fails with no answer
06:16:00raptorthere is a way to turn on verbose mode in the webserver, i think
06:16:00sam686i will be going to bed in a few minutes...
06:16:00sam686what php are you using?
06:16:00raptorhi sam686
06:17:00raptorlook at the display_errors option in the php.ini that the web server runs
06:17:00raptorturn it on, i mena
06:17:00raptormean
06:18:00sam686also, which VPS are you trying to make it work?
06:19:00Zoomberlets see,
06:20:00Zoomberim using the php file here, http://www.maxhushahn.com/uploadForm.html
06:20:00Zoomberbut ill try to find the version
06:21:00sam686<Zoomber> but every script i use just fails with no answer ... does this fail or work? http://208.107.52.15/upload3.txt
06:22:00Zoombertrying...
06:25:00Zoombercan you post your html file too? mine doesn't seem to want to work right with it
06:25:00BFLogBot - Commit ad3012b09c53 | Author: buckyballreaction | Log: Clean up polygon.h header
06:26:00Zoomberoh wait
06:26:00Zoomberi see
06:26:00Zoomberits all in one file
06:26:00sam686you just need to rename upload3.txt into something.php
06:26:00Zoomberyes, the ones i used just had a html and php file seperate
06:26:00sam686and, have a folder "upload" ready..
06:26:00Zoomberone for uploading, and one for the php script
06:26:00Zoomberheres the page i have it on. http://www.maxhushahn.com/upload3.php
06:26:00Zoomberit says it works, but when clicking on the link, theres nothing
06:27:00Zoomberhowever, you can see the upload directory is there
06:27:00sam686is the "upload" folder readonly?
06:27:00sam686permission problem?
06:28:00Zoomberi just did chmod +rwxrwxrwx upload
06:28:00Zoomberand it still didnt work
06:28:00raptorZoomber: try 'chmod 777 upload.php'
06:29:00sam686more like, the upload folder..
06:29:00raptoroh, haha, sorry
06:29:00Zoomberneither works
06:29:00raptorchmod 777 upload/
06:29:00Zoomberoh
06:29:00Zoomberdid that
06:29:00Zoombertoo
06:30:00Zoomberyet its funny how it thinks everything was successfull, because it says
06:30:00ZoomberStored in: http://www.maxhushahn.com/upload/asdf.rtf
06:30:00Zoomberon the upload results page
06:31:00sam686something might still be wrong with permission or something, i think...
06:31:00Zoomberyet, where could the problem lie?
06:31:00Zoomberboth the php file and the upload folder have 777 now
06:34:00Zoomberhere's the comparison when i try on sams686's server and my server http://img7.imageshack.us/img7/125/screenshot20111117at103.png
06:35:00sam686obviously you would know which one is windows, with the use of C:\WINDOWXP\Temp... but that shouldn't matter...
06:35:00Zoomberis it because i am running this script on ubuntu and not windows?
06:35:00sam686what does ls -l say about upload folder?
06:36:00Zoombertotal 0
06:36:00Zoomberls -a gives nothing too
06:36:00sam686not inside the upload folder...
06:37:00Zoombernope
06:37:00Zoomberwhat about this "tmp" directory? where is this?
06:37:00Zoomberwhen i ls /tmp that is empty
06:38:00sam686does "dir" show something, but "ls -l" show nothing?
06:39:00sam686files that was left in /tmp usually auto-cleans itself when some temperory is done being used..
06:40:00Zoomberok
06:42:00Zoombernothing
06:42:00Zoomberive tried chmod o+wrx too
06:42:00Zoomberjust incase
06:42:00sam686what does "ls -l" say?
06:42:00Zoombertotak 0
06:42:00Zoombertotal 0*
06:42:00sam686what does "dir" say?
06:43:00Zoombernothing
06:43:00sam686dir say nothing? wrong "cd"?
06:43:00Zoomberi did this for /tmp and for /var/tmp
06:43:00Zoomberalso did this for /var/www/upload
06:43:00raptorZoomber: sam686 wants to know what ls -l outputs when you are in the parent of 'uploads'
06:44:00Zoomberthe parent directory of uploads? ok, i get answers there
06:44:00Zoomberso much i would have to pastebin it
06:45:00sam686ok... waiting..
06:46:00Zoomberunfortonatley, this wil
06:46:00Zoomberunfortunately, this will be a bit overwhelming. ive tried several php scripts, so it may look like alot
06:46:00Zoomberhttp://pastebin.com/aQL7FxrZ
06:46:00Zoomberi can size it down to the files we are looking at
06:47:00Zoombermy upload script: -rwxrwxrwx 1 root root 1435 Nov 18 09:22 upload3.php
06:47:00Zoombermy upload folder: drwxrwxrwx 3 root root 4096 Nov 18 09:40 upload
06:48:00raptormaybe it needs to not be root user..
06:48:00raptorbut use of the web server
06:48:00raptoruser
06:48:00Zoomberok
06:48:00raptori'm really just trial-and-erroring here...
06:50:00sam686can you check /var/log/httpd ?
06:50:00Zoomberit looks like i dont even have one
06:51:00raptorit might be /var/log/apache/error.log
06:52:00Zoomber[Fri Nov 18 09:42:18 2011] [error] [client 208.107.52.15] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phptNMGED' to 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/upload/build_a_base.png' in /var/www/upload3.php on line 28, referer: http://www.maxhushahn.com/upload3.php
06:52:00Zoomberoh
06:52:00Zoomberhmm
06:53:00sam686how about copy file instead of move, in php code?
06:54:00raptorummm... shouldn't it not use a windows path on linux?
06:54:00Zoomberyeah
06:54:00Zoomberi tried changing that to /var/www/upload/
06:54:00Zoombernot working still
06:54:00raptorwell you'll need to change that no matter what
06:54:00raptorso keep it at /var/www/upload/
06:55:00sam686look harder at the address on the screenshot. http://img7.imageshack.us/img7/125/screenshot20111117at103.png
06:55:00sam686on the right, its my computer..
06:55:00sam686linux don't have such "C:\" on the path...
06:56:00Zoomberthis time, no error when i try uploading, still not working
06:56:00Zoombereven with changing that line to /var/www/upload
06:57:00raptorwhere is the function 'move_uploaded_file' ?
06:57:00sam686http://php.net/manual/en/function.move-uploaded-file.php
06:58:00Zoomberhttp://pastebin.com/AuuDRtX9
06:58:00Zoomberraptor: ^this is the php file we're using
06:58:00Zoombernotice on something like line 28 or somewhere, is that line
06:59:00sam686"/var/www/upload/" doesn't work? though its kind of the same as "upload/"
07:00:00Zoombertry it out for yourself
07:00:00Zoomberit will say it worked, but the file is not in my uploads folder
07:01:00raptorZoomber:
07:01:00raptorit works
07:01:00raptori just put a file there
07:01:00raptori see it
07:01:00Zoomberwierd
07:01:00Zoombernow it works for me too
07:01:00raptorhooray!
07:01:00Zoomberwhoooooooooo
07:02:00Zoomberits about time my server realized who's boss and give up the fight
07:02:00raptorhaha
07:06:00BFLogBot - Commit 5a947338440d | Author: buckyballreaction | Log: Clean-up barrier header
07:10:00raptorclean clean clean
07:10:00raptorclean clean clean clean
07:11:00BFLogBot - Commit 58a038a7cd30 | Author: buckyballreaction | Log: Clean-up unused methods in config.cpp
07:13:00raptorok, good night for me
07:17:00raptor Quit (Remote host closed the connection)
07:20:00Zoomber Quit (Read error: Connection reset by peer)
07:20:00Patrick_Chewing has joined
07:21:00Zoomber has joined
07:21:00ChanServ sets mode +v Zoomber
07:27:00koda has joined
07:43:00koda Quit (Quit: koda)
08:20:00kodax has joined
13:31:00CrazyLinuxNerd has joined
15:26:00LordDVG has joined
15:34:00Zoomber has left
16:31:00raptor has joined
16:31:00ChanServ sets mode +o raptor
16:31:00raptorgood morning!
16:32:00LordDVGgood morning raptor
16:32:00CrazyLinuxNerdGood day raptor :-)
16:35:00raptorcross-occupational joke of the day: Light travels at C, Neutrinos travel at C++
16:36:00raptorwith a little news mixed in...
17:32:00kodaxobjc ftw
17:32:00raptorwhat
17:32:00raptorone of these days i should learn that..
17:33:00kodax[raptor learn:NSObjectiveC]
17:34:00raptorugh
17:34:00LordDVG Quit (Ping timeout: 240 seconds)
17:38:00LordDVG has joined
17:40:00sam686 has left
17:45:00kodax Quit (Quit: Sto andando via)
20:37:00LordDVG Quit (Ping timeout: 276 seconds)
20:40:00LordDVG has joined
21:02:00LordDVG Quit (Ping timeout: 244 seconds)
21:06:00koda has joined
21:13:00LordDVG has joined
21:37:00LordDVG Quit (Read error: Connection reset by peer)
21:58:00BFLogBot - Commit 2e1de1b73f6c | Author: buckyballreaction | Log: Clean up BotNavMeshZone header
21:58:00BFLogBot - Commit 51c0ffa07f7f | Author: buckyballreaction | Log: Clean up config header
21:58:00BFLogBot - Commit f4cb4b3e7ddb | Author: buckyballreaction | Log: Clean up controlObjectConnection header
22:23:00BFLogBot - Commit e78cf92e6bec | Author: buckyballreaction | Log: Clean up the rest of the GameType headers
23:55:00CrazyLinuxNerd Quit (Quit: Leaving)

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.