Code Monkey home page Code Monkey logo

Comments (4)

4yx avatar 4yx commented on July 16, 2024 2

Thank you so much for this!
I had set both installer.php and all files in the "pockethold" directory permissions to 777, however I was still getting this error, creating the file and setting permissions for it fixed it.

Perhaps the developers should have a look at this?

EDIT:
Turns out that, if a log/ajax.log file is present in the Pockethold directory, even without setting permissions, the installer works (at least for me).
Does it work for anyone else without setting the permissions?

from pockethold.

andreherberth avatar andreherberth commented on July 16, 2024 2

One should never use 777 as permission on files/folders on a publicly facing web server. Alas, something is blocking Ajax.log from being created. I am looking into it, but it would be nice if anyone had a php error log from a case this happens.

from pockethold.

tobyworks avatar tobyworks commented on July 16, 2024 1

@PCTipsGR Yes, this fixes the issue

from pockethold.

Menomenta avatar Menomenta commented on July 16, 2024

Here is an excerpt from the file error_log from a fresh install, where the same issue was encountered.

[11-Jul-2019 22:46:39 Europe/Berlin] PHP Warning: file_put_contents(/public_html/pockethold/log/ajax.log): failed to open stream: No such file or directory in /public_html/pockethold/classes/pockethold.class.php on line 41
Full error_log

Manually creating the directory /log/ containing the file ajax.log solved the issue.

from pockethold.

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.