Guest Croco Posted January 6, 2010 Share Posted January 6, 2010 I tried to add a new top level category and it appears to do so but with 3 errors. And in fact, though the new category shows on the list at first, when i go to add a product the category is not here to select from. Here are the errors: Warning: fopen(/home/christin/public_html/store/includes/extra/admin_cat_cache.txt) [function.fopen]: failed to open stream: Permission denied in /home/christin/public_html/store/includes/functions.inc.php on line 1377 Warning: fwrite(): supplied argument is not a valid stream resource in /home/christin/public_html/store/includes/functions.inc.php on line 1378 Warning: fclose(): supplied argument is not a valid stream resource in /home/christin/public_html/store/includes/functions.inc.php on line 1379 Thanks for your help Paul CubeCart Version: 4.3.7 PHP Version: 5.2.11 MySQL Version: 5.0.85-community Quote Link to comment Share on other sites More sharing options...
Chargin Posted April 7, 2011 Share Posted April 7, 2011 Im having the exact same problem. Any replies would be appreciated. Warning: fopen(/home/xxxxx/public_html/includes/extra/admin_cat_cache.txt) [function.fopen]: failed to open stream: Permission denied in /home/xxxxxxxx/public_html/includes/functions.inc.php on line 1377 Warning: fwrite(): supplied argument is not a valid stream resource in /home/xxxxx/public_html/includes/functions.inc.php on line 1378 Warning: fclose(): supplied argument is not a valid stream resource in /home/xxxxxxxx/public_html/includes/functions.inc.php on line 1379 Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 7, 2011 Share Posted April 7, 2011 The second two messages are a consequence of the first. "Permission denied" implies that this folder (or maybe just the file) might be set for read only. Consider changing the permissions on the file (or folder) to allow for writing. To do this (usually) easily, use an FTP program that will give you the properties of a listed file/folder and let you change them. Quote Link to comment Share on other sites More sharing options...
Chargin Posted April 7, 2011 Share Posted April 7, 2011 Thanks I didnt really think it through did I.. Giving some write permissions to that file did the trick. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.