Timestamps are in GMT/BST.
| 00:04:00 | | raptor Quit (Remote host closed the connection) |
| 00:23:00 | | koda Quit (Quit: koda) |
| 01:32:00 | | sam686 has joined |
| 01:32:00 | | ChanServ sets mode +v sam686 |
| 02:55:00 | | CrazyLinuxNerd Quit (Quit: Leaving) |
| 04:45:00 | | raptor has joined |
| 04:45:00 | | ChanServ sets mode +o raptor |
| 04:46:00 | raptor | Flash_Garden: you haven't said much in a week or so |
| 05:03:00 | | raptor Quit (Read error: Connection reset by peer) |
| 05:03:00 | | raptor has joined |
| 05:03:00 | | ChanServ sets mode +o raptor |
| 06:08:00 | | Zoomber has joined |
| 06:08:00 | | ChanServ sets mode +v Zoomber |
| 06:08:00 | Zoomber | hi |
| 06:08:00 | raptor | howdy |
| 06:08:00 | raptor | long time no see! |
| 06:08:00 | Zoomber | yeah, ive been really busy |
| 06:10:00 | raptor | well welcome back |
| 06:15:00 | Zoomber | thanks |
| 06:15:00 | | BFLogBot - Commit d7a0c6aa69e5 | Author: buckyballreaction | Log: Clean up robot header |
| 06:15:00 | Zoomber | been trying to make php uploading work on my vps right now, but every script i use just fails with no answer |
| 06:16:00 | raptor | there is a way to turn on verbose mode in the webserver, i think |
| 06:16:00 | sam686 | i will be going to bed in a few minutes... |
| 06:16:00 | sam686 | what php are you using? |
| 06:16:00 | raptor | hi sam686 |
| 06:17:00 | raptor | look at the display_errors option in the php.ini that the web server runs |
| 06:17:00 | raptor | turn it on, i mena |
| 06:17:00 | raptor | mean |
| 06:18:00 | sam686 | also, which VPS are you trying to make it work? |
| 06:19:00 | Zoomber | lets see, |
| 06:20:00 | Zoomber | im using the php file here, http://www.maxhushahn.com/uploadForm.html |
| 06:20:00 | Zoomber | but ill try to find the version |
| 06:21:00 | sam686 | <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:00 | Zoomber | trying... |
| 06:25:00 | Zoomber | can you post your html file too? mine doesn't seem to want to work right with it |
| 06:25:00 | | BFLogBot - Commit ad3012b09c53 | Author: buckyballreaction | Log: Clean up polygon.h header |
| 06:26:00 | Zoomber | oh wait |
| 06:26:00 | Zoomber | i see |
| 06:26:00 | Zoomber | its all in one file |
| 06:26:00 | sam686 | you just need to rename upload3.txt into something.php |
| 06:26:00 | Zoomber | yes, the ones i used just had a html and php file seperate |
| 06:26:00 | sam686 | and, have a folder "upload" ready.. |
| 06:26:00 | Zoomber | one for uploading, and one for the php script |
| 06:26:00 | Zoomber | heres the page i have it on. http://www.maxhushahn.com/upload3.php |
| 06:26:00 | Zoomber | it says it works, but when clicking on the link, theres nothing |
| 06:27:00 | Zoomber | however, you can see the upload directory is there |
| 06:27:00 | sam686 | is the "upload" folder readonly? |
| 06:27:00 | sam686 | permission problem? |
| 06:28:00 | Zoomber | i just did chmod +rwxrwxrwx upload |
| 06:28:00 | Zoomber | and it still didnt work |
| 06:28:00 | raptor | Zoomber: try 'chmod 777 upload.php' |
| 06:29:00 | sam686 | more like, the upload folder.. |
| 06:29:00 | raptor | oh, haha, sorry |
| 06:29:00 | Zoomber | neither works |
| 06:29:00 | raptor | chmod 777 upload/ |
| 06:29:00 | Zoomber | oh |
| 06:29:00 | Zoomber | did that |
| 06:29:00 | Zoomber | too |
| 06:30:00 | Zoomber | yet its funny how it thinks everything was successfull, because it says |
| 06:30:00 | Zoomber | Stored in: http://www.maxhushahn.com/upload/asdf.rtf |
| 06:30:00 | Zoomber | on the upload results page |
| 06:31:00 | sam686 | something might still be wrong with permission or something, i think... |
| 06:31:00 | Zoomber | yet, where could the problem lie? |
| 06:31:00 | Zoomber | both the php file and the upload folder have 777 now |
| 06:34:00 | Zoomber | here's the comparison when i try on sams686's server and my server http://img7.imageshack.us/img7/125/screenshot20111117at103.png |
| 06:35:00 | sam686 | obviously you would know which one is windows, with the use of C:\WINDOWXP\Temp... but that shouldn't matter... |
| 06:35:00 | Zoomber | is it because i am running this script on ubuntu and not windows? |
| 06:35:00 | sam686 | what does ls -l say about upload folder? |
| 06:36:00 | Zoomber | total 0 |
| 06:36:00 | Zoomber | ls -a gives nothing too |
| 06:36:00 | sam686 | not inside the upload folder... |
| 06:37:00 | Zoomber | nope |
| 06:37:00 | Zoomber | what about this "tmp" directory? where is this? |
| 06:37:00 | Zoomber | when i ls /tmp that is empty |
| 06:38:00 | sam686 | does "dir" show something, but "ls -l" show nothing? |
| 06:39:00 | sam686 | files that was left in /tmp usually auto-cleans itself when some temperory is done being used.. |
| 06:40:00 | Zoomber | ok |
| 06:42:00 | Zoomber | nothing |
| 06:42:00 | Zoomber | ive tried chmod o+wrx too |
| 06:42:00 | Zoomber | just incase |
| 06:42:00 | sam686 | what does "ls -l" say? |
| 06:42:00 | Zoomber | totak 0 |
| 06:42:00 | Zoomber | total 0* |
| 06:42:00 | sam686 | what does "dir" say? |
| 06:43:00 | Zoomber | nothing |
| 06:43:00 | sam686 | dir say nothing? wrong "cd"? |
| 06:43:00 | Zoomber | i did this for /tmp and for /var/tmp |
| 06:43:00 | Zoomber | also did this for /var/www/upload |
| 06:43:00 | raptor | Zoomber: sam686 wants to know what ls -l outputs when you are in the parent of 'uploads' |
| 06:44:00 | Zoomber | the parent directory of uploads? ok, i get answers there |
| 06:44:00 | Zoomber | so much i would have to pastebin it |
| 06:45:00 | sam686 | ok... waiting.. |
| 06:46:00 | Zoomber | unfortonatley, this wil |
| 06:46:00 | Zoomber | unfortunately, this will be a bit overwhelming. ive tried several php scripts, so it may look like alot |
| 06:46:00 | Zoomber | http://pastebin.com/aQL7FxrZ |
| 06:46:00 | Zoomber | i can size it down to the files we are looking at |
| 06:47:00 | Zoomber | my upload script: -rwxrwxrwx 1 root root 1435 Nov 18 09:22 upload3.php |
| 06:47:00 | Zoomber | my upload folder: drwxrwxrwx 3 root root 4096 Nov 18 09:40 upload |
| 06:48:00 | raptor | maybe it needs to not be root user.. |
| 06:48:00 | raptor | but use of the web server |
| 06:48:00 | raptor | user |
| 06:48:00 | Zoomber | ok |
| 06:48:00 | raptor | i'm really just trial-and-erroring here... |
| 06:50:00 | sam686 | can you check /var/log/httpd ? |
| 06:50:00 | Zoomber | it looks like i dont even have one |
| 06:51:00 | raptor | it might be /var/log/apache/error.log |
| 06:52:00 | Zoomber | [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:00 | Zoomber | oh |
| 06:52:00 | Zoomber | hmm |
| 06:53:00 | sam686 | how about copy file instead of move, in php code? |
| 06:54:00 | raptor | ummm... shouldn't it not use a windows path on linux? |
| 06:54:00 | Zoomber | yeah |
| 06:54:00 | Zoomber | i tried changing that to /var/www/upload/ |
| 06:54:00 | Zoomber | not working still |
| 06:54:00 | raptor | well you'll need to change that no matter what |
| 06:54:00 | raptor | so keep it at /var/www/upload/ |
| 06:55:00 | sam686 | look harder at the address on the screenshot. http://img7.imageshack.us/img7/125/screenshot20111117at103.png |
| 06:55:00 | sam686 | on the right, its my computer.. |
| 06:55:00 | sam686 | linux don't have such "C:\" on the path... |
| 06:56:00 | Zoomber | this time, no error when i try uploading, still not working |
| 06:56:00 | Zoomber | even with changing that line to /var/www/upload |
| 06:57:00 | raptor | where is the function 'move_uploaded_file' ? |
| 06:57:00 | sam686 | http://php.net/manual/en/function.move-uploaded-file.php |
| 06:58:00 | Zoomber | http://pastebin.com/AuuDRtX9 |
| 06:58:00 | Zoomber | raptor: ^this is the php file we're using |
| 06:58:00 | Zoomber | notice on something like line 28 or somewhere, is that line |
| 06:59:00 | sam686 | "/var/www/upload/" doesn't work? though its kind of the same as "upload/" |
| 07:00:00 | Zoomber | try it out for yourself |
| 07:00:00 | Zoomber | it will say it worked, but the file is not in my uploads folder |
| 07:01:00 | raptor | Zoomber: |
| 07:01:00 | raptor | it works |
| 07:01:00 | raptor | i just put a file there |
| 07:01:00 | raptor | i see it |
| 07:01:00 | Zoomber | wierd |
| 07:01:00 | Zoomber | now it works for me too |
| 07:01:00 | raptor | hooray! |
| 07:01:00 | Zoomber | whoooooooooo |
| 07:02:00 | Zoomber | its about time my server realized who's boss and give up the fight |
| 07:02:00 | raptor | haha |
| 07:06:00 | | BFLogBot - Commit 5a947338440d | Author: buckyballreaction | Log: Clean-up barrier header |
| 07:10:00 | raptor | clean clean clean |
| 07:10:00 | raptor | clean clean clean clean |
| 07:11:00 | | BFLogBot - Commit 58a038a7cd30 | Author: buckyballreaction | Log: Clean-up unused methods in config.cpp |
| 07:13:00 | raptor | ok, good night for me |
| 07:17:00 | | raptor Quit (Remote host closed the connection) |
| 07:20:00 | | Zoomber Quit (Read error: Connection reset by peer) |
| 07:20:00 | | Patrick_Chewing has joined |
| 07:21:00 | | Zoomber has joined |
| 07:21:00 | | ChanServ sets mode +v Zoomber |
| 07:27:00 | | koda has joined |
| 07:43:00 | | koda Quit (Quit: koda) |
| 08:20:00 | | kodax has joined |
| 13:31:00 | | CrazyLinuxNerd has joined |
| 15:26:00 | | LordDVG has joined |
| 15:34:00 | | Zoomber has left |
| 16:31:00 | | raptor has joined |
| 16:31:00 | | ChanServ sets mode +o raptor |
| 16:31:00 | raptor | good morning! |
| 16:32:00 | LordDVG | good morning raptor |
| 16:32:00 | CrazyLinuxNerd | Good day raptor :-) |
| 16:35:00 | raptor | cross-occupational joke of the day: Light travels at C, Neutrinos travel at C++ |
| 16:36:00 | raptor | with a little news mixed in... |
| 17:32:00 | kodax | objc ftw |
| 17:32:00 | raptor | what |
| 17:32:00 | raptor | one of these days i should learn that.. |
| 17:33:00 | kodax | [raptor learn:NSObjectiveC] |
| 17:34:00 | raptor | ugh |
| 17:34:00 | | LordDVG Quit (Ping timeout: 240 seconds) |
| 17:38:00 | | LordDVG has joined |
| 17:40:00 | | sam686 has left |
| 17:45:00 | | kodax Quit (Quit: Sto andando via) |
| 20:37:00 | | LordDVG Quit (Ping timeout: 276 seconds) |
| 20:40:00 | | LordDVG has joined |
| 21:02:00 | | LordDVG Quit (Ping timeout: 244 seconds) |
| 21:06:00 | | koda has joined |
| 21:13:00 | | LordDVG has joined |
| 21:37:00 | | LordDVG Quit (Read error: Connection reset by peer) |
| 21:58:00 | | BFLogBot - Commit 2e1de1b73f6c | Author: buckyballreaction | Log: Clean up BotNavMeshZone header |
| 21:58:00 | | BFLogBot - Commit 51c0ffa07f7f | Author: buckyballreaction | Log: Clean up config header |
| 21:58:00 | | BFLogBot - Commit f4cb4b3e7ddb | Author: buckyballreaction | Log: Clean up controlObjectConnection header |
| 22:23:00 | | BFLogBot - Commit e78cf92e6bec | Author: buckyballreaction | Log: Clean up the rest of the GameType headers |
| 23:55:00 | | CrazyLinuxNerd Quit (Quit: Leaving) |