View Issue Details

IDProjectCategoryView StatusLast Update
0000199WackoWikiinstallerpublic2009-10-13 16:05
Reporteradministrator Assigned ToTann San  
Status resolvedResolutionfixed 
Target Version5.0.betaFixed in Version5.0.beta 
Summary0000199: write permission detection before enabling cache
Descriptionit looks like the write permission detection to enable the cache in the installer failes in some cases (?)
Additional InformationCase 1:
Warning: fopen(_cache/ba3988db0a3167093b1f74e8ae4a8e83__) [function.fopen]: failed to open stream: Permission denied in /wiki/classes/cache.php on line 61

Warning: fputs(): supplied argument is not a valid stream resource in /wiki/classes/cache.php on line 62

Warning: fclose(): supplied argument is not a valid stream resource in /wiki/classes/cache.php on line 63

Case 2:
Warning: fopen(_cache/e305495a6e45afc160c0b5ecbd47f780__show_comments=0&) [function.fopen]: failed to open stream: Disc quota exceeded in /htdocs/classes/cache.php on line 61

Warning: fputs(): supplied argument is not a valid stream resource in /htdocs/classes/cache.php on line 62

Warning: fclose(): supplied argument is not a valid stream resource in /htdocs/classes/cache.php on line 63
TagsNo tags attached.


Tann San

2008-07-25 06:12

manager   ~0000434

That part of setup is pretty straight forward. It tries to do a chmod 0777 on a few files and directories that need it such as the _cache directory. We then try and open the directory for writing. If we can't get a handle to do that then the detection system will state that the permissions could not be set correctly. If it worked then you get a green tick to indicate everything is AOK.

Are you sure it gave you the thumbs up during the installation process? Have the directory permissions changed since the installation? Are you running the Apache/PHP processes as the same use who made the installation?

I can't test this out since I test it out on a Windows server so chmod never works for me. I have to manually set the permissions to get green ticks during the install.

Tann San

2008-08-02 09:33

manager   ~0000453

case 2 has nothing to do with permissions. The error itself states what the problem is:

"failed to open stream: Disc quota exceeded"

Meaning you don't have enough physical disk space or you have not assigned enough to quote for the user account you're running wacko/apache with.

If you're getting the case 1 error on the same system then the two are probably related and nothing to do with the permissions.


2008-08-02 20:27

administrator   ~0000457

Last edited: 2008-08-02 20:27

yep, I added case "two" only for the record, but both cases causes the "same" error ;) - perhaps we should modify the issue header

Tann San

2008-09-08 16:58

manager   ~0000506

I'm not sure what you want me to do with this? I can try checking the available disk space prior to an install but it won't help when they run out of space later on.

Tann San

2009-04-09 09:34

manager   ~0000616

Case 1 is due to Case 2 which is due to the user not having enough disk space to install wacko.

Issue History

Date Modified Username Field Change
2008-07-25 00:10 administrator New Issue
2008-07-25 00:10 administrator Status new => assigned
2008-07-25 00:10 administrator Assigned To => Tann San
2008-07-25 00:10 administrator Legacy => NEW
2008-07-25 00:10 administrator Description Updated
2008-07-25 00:11 administrator Description Updated
2008-07-25 06:12 Tann San Note Added: 0000434
2008-07-27 11:43 administrator Additional Information Updated
2008-08-01 22:18 administrator Additional Information Updated
2008-08-02 09:33 Tann San Note Added: 0000453
2008-08-02 20:27 administrator Note Added: 0000457
2008-08-02 20:27 administrator Note Edited: 0000457
2008-09-08 16:58 Tann San Note Added: 0000506
2008-09-11 21:57 administrator Target Version 5.0.0 => 5.4.0
2009-04-09 09:34 Tann San Note Added: 0000616
2009-04-09 09:34 Tann San Status assigned => resolved
2009-04-09 09:34 Tann San Fixed in Version => 5.4.0
2009-04-09 09:34 Tann San Resolution open => fixed
2009-04-11 01:54 Tann San Fixed in Version 5.4.0 => 5.0.0
2009-04-11 01:57 Tann San Target Version 5.4.0 => 5.0.0
2009-10-13 15:58 administrator Target Version 5.0.0 => 5.0.beta
2009-10-13 16:05 administrator Fixed in Version 5.0.0 => 5.0.beta
2010-03-08 10:14 administrator Category Installer => installer