Audio recording help

PennController for IBEX Forums Support Audio recording help

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #6467
    furkanatmaca
    Participant

    I am getting Ajax error wtih (200) Problem saving file. I have uploaded the php file and the link I provide for mediacontroller is https, and the site is https. uploads and php files are chmod 750. The server is on gcloud, I have full access to the settings from a terminal (if I need to do some tinkering in the background I can).

    #6468
    Jeremy
    Keymaster

    That error message is returned when move_uploaded_file from line 37 in the PHP script fails. Did you create a subfolder named (exactly) uploads next to your .php file, and did you give it the right permissions (eg. chown -R www-data uploads/ and chmod -R 755 uploads/)?

    EDIT: actually you already said the chmods are 750, so maybe just make sure the owner of uploads is properly set (I presume it should be www-data, since you’re running gcloud). If this still doesn’t work, make sure you either have no open_basedir restriction at all, or otherwise that open_basedir gives your PHP script permission to write in the uploads folder

    Jeremy

    • This reply was modified 3 years, 4 months ago by Jeremy.
    • This reply was modified 3 years, 4 months ago by Jeremy.
    #6471
    furkanatmaca
    Participant

    Thanks very much! It works now. Updating the guide might be useful for possible check-points of SSL certification, chmod AND chown settings, and open_basedir. Have a nice day!

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.