permission-flow3.txt

Johannes K, 2008-03-09 17:01

Download (4.9 kB)

 
1

    
2
Uncaught TYPO3 Exception
3
Warning: mkdir() [function.mkdir]: Permission denied in /home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/Utility/T3_FLOW3_Utility_Files.php line 82
4

    
5
T3_FLOW3_Error_Exception thrown in file
6
Packages/FLOW3/Classes/Error/T3_FLOW3_Error_ErrorHandler.php in line 61.
7

    
8
11 T3_FLOW3_Error_ErrorHandler::handleError(2, "mkdir() [<a href='function.mkdir'>functi…", "/home/jk/www/flow3/Distribution/trunk/Pa…", 82, array)
9

    
10
10 mkdir("/tmp/FLOW3/0580259d6733fbdae00fdc3f8b9fe…", 511)
11

    
12

    
13
/home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/Utility/T3_FLOW3_Utility_Files.php:
14

    
15
00080:    $currentPath .= $directoryName . '/';
16
00081:    if (!is_dir($currentPath) && T3_PHP6_Functions::strlen($directoryName) > 0) {
17

    
18
00082:     mkdir($currentPath, 0777);
19

    
20
00083:     if (!is_dir($currentPath)) throw new RuntimeException('Could not create directory "' . $path . '"!', 1170251400);
21
00084:    }
22

    
23

    
24
9 T3_FLOW3_Utility_Files::createDirectoryRecursively("/tmp/FLOW3/0580259d6733fbdae00fdc3f8b9fe…")
25

    
26

    
27
/home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/Cache/Backend/T3_FLOW3_Cache_Backend_File.php:
28

    
29
00078:  public function setCacheDirectory($cacheDirectory) {
30
00079:   if (!is_writable($cacheDirectory)) {
31

    
32
00080:    T3_FLOW3_Utility_Files::createDirectoryRecursively($cacheDirectory);
33

    
34
00081:   }
35
00082:   if (!is_dir($cacheDirectory)) throw new T3_FLOW3_Cache_Exception('The directory "' . $cacheDirectory . '" does not exist.', 1203965199);
36

    
37

    
38
8 T3_FLOW3_Cache_Backend_File::setCacheDirectory("/tmp/FLOW3/0580259d6733fbdae00fdc3f8b9fe…")
39

    
40

    
41
/home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/Cache/Backend/T3_FLOW3_Cache_Backend_File.php:
42

    
43
00063:   $cacheDirectory = $this->environment->getPathToTemporaryDirectory() . '/FLOW3/' . md5($this->environment->getScriptPathAndFilename()) . '/';
44
00064:   try {
45

    
46
00065:    $this->setCacheDirectory($cacheDirectory);
47

    
48
00066:   } catch(T3_FLOW3_Cache_Exception $exception) {
49
00067:   }
50

    
51

    
52
7 T3_FLOW3_Cache_Backend_File::initializeComponent()
53

    
54

    
55
/home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/Component/T3_FLOW3_Component_ObjectBuilder.php:
56

    
57
00272:   $lifecycleInitializationMethod = $componentConfiguration->getLifecycleInitializationMethod();
58
00273:   if (method_exists($componentObject, $lifecycleInitializationMethod)) {
59

    
60
00274:    $componentObject->$lifecycleInitializationMethod();
61

    
62
00275:   }
63
00276:  }
64

    
65

    
66
6 T3_FLOW3_Component_ObjectBuilder::callLifecycleInitializationMethod(T3_FLOW3_Cache_Backend_File, T3_FLOW3_Component_Configuration)
67

    
68

    
69
/home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/Component/T3_FLOW3_Component_ObjectBuilder.php:
70

    
71
00098:    $this->injectSetterProperties($setterProperties, $componentObject);
72
00099:
73

    
74
00100:    $this->callLifecycleInitializationMethod($componentObject, $componentConfiguration);
75

    
76
00101:
77
00102:    unset ($this->componentsBeingBuilt[$componentName]);
78

    
79

    
80
5 T3_FLOW3_Component_ObjectBuilder::createComponentObject("T3_FLOW3_Cache_Backend_File", T3_FLOW3_Component_Configuration, array)
81

    
82

    
83
/home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/Component/T3_FLOW3_Component_Manager.php:
84

    
85
00128:   switch ($scope) {
86
00129:    case 'prototype' :
87

    
88
00130:     $componentObject = $this->componentObjectBuilder->createComponentObject($componentName, $componentConfiguration, $overridingConstructorArguments);
89

    
90
00131:     break;
91
00132:    case 'singleton' :
92

    
93

    
94
4 T3_FLOW3_Component_Manager::getComponent("T3_FLOW3_Cache_Backend_File", "Development")
95

    
96

    
97
/home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/AOP/T3_FLOW3_AOP_Framework.php:
98

    
99
00106:
100
00107:   $context = $this->componentManager->getContext();
101

    
102
00108:   $cacheBackend = $this->componentManager->getComponent('T3_FLOW3_Cache_Backend_File', $context);
103

    
104
00109:   $this->proxyCache = $this->componentManager->getComponent('T3_FLOW3_Cache_VariableCache', 'FLOW3_AOP_Proxy', $cacheBackend);
105
00110:   $this->configurationCache = $this->componentManager->getComponent('T3_FLOW3_Cache_VariableCache', 'FLOW3_AOP_Configuration', clone $cacheBackend);
106

    
107

    
108
3 T3_FLOW3_AOP_Framework::initialize()
109

    
110

    
111
/home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/T3_FLOW3.php:
112

    
113
00102:
114
00103:   $this->componentManager->getComponent('T3_FLOW3_Package_ManagerInterface')->initialize();
115

    
116
00104:   $this->componentManager->getComponent('T3_FLOW3_AOP_Framework')->initialize();
117

    
118
00105:   $this->componentManager->getComponent('T3_FLOW3_Utility_Environment');
119
00106:   $this->isInitialized = TRUE;
120

    
121

    
122
2 T3_FLOW3::initialize()
123

    
124

    
125
/home/jk/www/flow3/Distribution/trunk/Packages/FLOW3/Classes/T3_FLOW3.php:
126

    
127
00115:   */
128
00116:  public function run() {
129

    
130
00117:   if (!$this->isInitialized) $this->initialize();
131

    
132
00118:   $requestHandler = $this->componentManager->getComponent('T3_FLOW3_MVC_RequestHandlerResolver')->resolveRequestHandler();
133
00119:   $requestHandler->handleRequest();
134

    
135

    
136
1 T3_FLOW3::run()
137

    
138

    
139
/home/jk/www/flow3/Distribution/trunk/index.php:
140

    
141
00033:
142
00034: $framework = new T3_FLOW3();
143

    
144
00035: $framework->run();
145

    
146
00036: ?>