Comments (10)
Since Phile is a flat-file system, there is really no install. Do you have any error logs to share?
from phile.
Since Phile is a flat-file system, there is really no install. Do you have any error logs to share?
Oh didn't think of that 😳 , got it now why I got a blank page:
[Thu Jan 16 15:02:18 2014] [error] [client 127.0.0.1] PHP Fatal error: Uncaught exception 'Exception' with message 'Sorry, Please create <site>/temp/cache/// and SET Mode 0777 or any Writable Permission!' in <site>/plugins/philePhpFastCache/lib/phpfastcache/phpfastcache.php:616\nStack trace:\n#0 <site>/plugins/philePhpFastCache/lib/phpfastcache/phpfastcache.php(353): phpFastCache->getPath()\n#1 <site>/plugins/philePhpFastCache/lib/phpfastcache/phpfastcache.php(319): phpFastCache->autoDriver()\n#2 <site>/plugins/philePhpFastCache/lib/phpfastcache/phpfastcache.php(22): phpFastCache->__construct('', Array)\n#3 <site>/plugins/philePhpFastCache/plugin.php(18): phpFastCache()\n#4 [internal function]: PhilePhpFastCache->on('plugins_loaded', NULL)\n#5 <site>/lib/Phile/Event.php(35): call_user_func_array(Array, Array)\n#6 <site>/lib/Phile/Core.php(139): Phile\\Event::triggerEvent('plugins_loaded')\n#7 <site>/lib/Phile/Core.php(50): Phile\\Core->initPlugins()\n#8 /hom in <site>/plugins/philePhpFastCache/lib/phpfastcache/phpfastcache.php on line 616
could solve it in two ways:
$ chmod 777 temp/cache/
if you wanted to use phpFastCache or either turn it off by modifying config.php.
Maybe a good idea to mention this into this wiki?
from phile.
Yeah I will modify the Wiki. I would run chmod 777 lib/cache
as well because that is the cache for Twig too.
Does changing the permissions solve the issue?
from phile.
Does changing the permissions solve the issue?
Yes, it does. However, is this not slightly dangerous from the security point? Or "it's just a cache, nothing else"?
from phile.
I have assigned this issue to me, I will implement some checks. Also a we could try to create the missing folders and set the correct permissions. I think chmod 775 lib/cache
should work also.
from phile.
The 777 permissions just means writable to all. Nothing else but those 2 folders and maybe the content
folder should be 777.
Check out this little linode article about permissions.
from phile.
I think
chmod 775 lib/cache
should work also.
That's not the case for temp/cache
, but for the twig cache lib/cache
the 775 permission, which is the default permission for directories is already sufficient indeed. So you don't really need to change the permission there..
from phile.
Ok so are we good? I updated the docs says that you should set 777 for both the lib/cache and the temp/cache (which I think can be combined @NeoBlack)
Should I close this issue?
from phile.
Let the issue open, i will close it, after my setup check
from phile.
I think this is good to close since the new setup feature. Any opposition?
from phile.
Related Issues (20)
- Internal Server Error [SOLVED] HOT 1
- Removing subfolders from links with htaccess HOT 3
- Phile plugins don't install properly using composer HOT 2
- Error when symlinking content directory HOT 2
- [TASK] Release 1.8
- [TASK] Put up phile homepage again HOT 1
- Proposal for further core refactoring HOT 1
- [FEATURE] Set error page as config setting
- [BUG] "composer create-project --no-dev phile-cms/phile" doesn't allow further composer usage
- [FEATURE] Update minimum PHP requirement to version 7.1.0
- [FEATURE] Don't use file cache out of the box HOT 3
- Missing some documentation and project status? HOT 1
- PHP 7.4+ deprecates array_key_exists() on objects HOT 1
- Twig variables HOT 1
- help on contact form plugin HOT 1
- Overriding vendor michelf/php-markdown
- PHP 8 HOT 15
- PHP 8/Phile 2 - Plugin Updates Status & Requests
- Pages without meta block are rendered empty
- PHP 8.2 dynamic properties ErrorException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phile.