Current time: 12-15-2019, 03:47 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mkdir errors
04-01-2014, 12:15 PM (This post was last modified: 04-01-2014 12:16 PM by drwells.)
Post: #1
mkdir errors
Code:
[Tue Apr 01 02:00:35 2014] [error] [client 10.128.28.16] PHP Warning:  mkdir(): No such file or directory in /opt/.webpagetest.versions/webpagetest_2.13/www/work/resultimage.php on line 58
[Tue Apr 01 02:00:35 2014] [error] [client 10.128.28.16] PHP Warning:  move_uploaded_file(./results/14/04/01/Y9/1G/video_9/frame_0029.hist): failed to open stream: No such

I noticed these errors and realized it hadn't build the 04/01 directory. What is responsible for making this directory? Should this code be making that directory rather than relying on a scheduled job to do it?
Find all posts by this user
Quote this message in a reply
04-02-2014, 07:24 AM
Post: #2
RE: mkdir errors
The directory for the test should be created as soon as the test itself is created (in runtest.php). It would be really bizarre to start getting results for a test that wasn't yet created. It's possible that something came in and deleted it before the test ran but the archiving script shouldn't do that.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)