GithubHelp home page GithubHelp logo

Comments (10)

james2doyle avatar james2doyle commented on June 15, 2024

Since Phile is a flat-file system, there is really no install. Do you have any error logs to share?

from phile.

STOWouters avatar STOWouters commented on June 15, 2024

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.

james2doyle avatar james2doyle commented on June 15, 2024

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.

STOWouters avatar STOWouters commented on June 15, 2024

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.

NeoBlack avatar NeoBlack commented on June 15, 2024

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.

james2doyle avatar james2doyle commented on June 15, 2024

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.

STOWouters avatar STOWouters commented on June 15, 2024

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.

james2doyle avatar james2doyle commented on June 15, 2024

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.

NeoBlack avatar NeoBlack commented on June 15, 2024

Let the issue open, i will close it, after my setup check

from phile.

james2doyle avatar james2doyle commented on June 15, 2024

I think this is good to close since the new setup feature. Any opposition?

from phile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.