Git Product home page Git Product logo

Comments (13)

spacedevin avatar spacedevin commented on July 30, 2024

looks like your webserver doesnt support the apache_get_modules function. ive added a fixed.

from cheryl.

gcroos avatar gcroos commented on July 30, 2024

I really appreciate your help, I see that you have made the changes to 2 different .php files, am i supposed to upload both of them to the webserver to make the program work? or just the index.php file?

from cheryl.

spacedevin avatar spacedevin commented on July 30, 2024

the files in lib are the source files. i have edited lib/Cheryl.php and then run bin/build. this updates build/Cheryl.php.

for your purposes, all you need is the build/Cheryl.php

from cheryl.

gcroos avatar gcroos commented on July 30, 2024

now i get this error

Parse error: syntax error, unexpected 'private' (T_PRIVATE) in /home/kingss0/public_html/index.php on line 306

sorry man, is it something I did wrong?

from cheryl.

spacedevin avatar spacedevin commented on July 30, 2024

can you try cloning/copying the code again without adding anything else? my guess is you have an error in the config stuff up top. ive also made some slight changes that might help

from cheryl.

gcroos avatar gcroos commented on July 30, 2024

I thank you for all your halp Arzynik, but I dont think i will get this code to work, I just dont have the skills for it.... I do however know how to configure osFileManager 2.2... would you please help me figure out why non-admin users get directed to a page 404 error when they click on a document of other type of file in their directory like ./Tabdata/

Kind Regards
Gabriel Roos

from cheryl.

spacedevin avatar spacedevin commented on July 30, 2024

its likly that the directory paths are misconfigured. make sure that the urls are pointing to the proper files on your server.

from cheryl.

gcroos avatar gcroos commented on July 30, 2024

Hi Devin, I really appreciate your help, I have been looking to fix the problem with osFileManager 2.2 but I cant find the problem... what happens is this..

What steps will reproduce the problem?

  1. Create a new folder under in my web server called 'Tabdata'
  2. In a new user, add ./Tabdata/ in the server directory
  3. Login to that user, directs e to the correct Tabdata Folder, but when I click on a file that was uploaded by an admin, it directs me to the wrong location (404 page cannot be found) but if i go to the same directory with an admin user it works fine....

What is the expected output? What do you see instead?
I expect to see the PDF File, but instead it directs me to a page 404 error

What version of the product are you using? On what operating system? On
what web host?
osfm 2.2 on web hosted server (www.cybersmart.co.za)

Please provide any additional information below.
When I look at the web address wile logged in with a non-admin user, I notice that the /Tabdata/ portion of the URL is missing and that is why it is not opening. I want it setup this way because I dont want anyone to see the other files.

Any help would be appreciated!!!

Please please please help me with this... I don't want to use other software to do this, your program is the nicest one I have looked at....

Kind Regards
Gabriel Roos

from cheryl.

gcroos avatar gcroos commented on July 30, 2024

the problem seems to be with the url's... with an admin user going to the spesified file the url is as follows:

http://www.thekingsschoolwr.co.za/Tabdata/Grade%2001/Homework%20reading.PDF

But with a non-admin user the "tabdata" is lost and the url looks like this..

.http://www.thekingsschoolwr.co.za/index.php?p=home&d=Grade 01/

If i type "Tabdata" manually into the url at .....co.za/Tabdata... the file opens...

Kind Regards
Gabriel

from cheryl.

gcroos avatar gcroos commented on July 30, 2024

Hi Devin. I managed to get osfilemanager to work for me, the only problem is that when users create a folder on the website, the folder has the permission of “1411” and when they try to change the permissions on the folder, the program says that it has changed the permissions successfully but it stays on “1411” instead of “777”… is there a way to change the default permissions to “777” for folders they create themselves?

Kind Regards

Gabriel Roos

From: Devin Smith [mailto:[email protected]]
Sent: 01 October 2014 06:46 PM
To: arzynik/cheryl
Cc: gcroos
Subject: Re: [cheryl] chyryl install (#29)

can you try cloning/copying the code again without adding anything else? my guess is you have an error in the config stuff up top. ive also made some slight changes that might help


Reply to this email directly or view it on GitHub #29 (comment) . https://github.com/notifications/beacon/8981722__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNzgwMTE3NiwiZGF0YSI6eyJpZCI6NDQ0MDM3OTR9fQ==--ebb59417525d54ccd82168644000eab3447bd057.gif

from cheryl.

spacedevin avatar spacedevin commented on July 30, 2024

@gcroos try changing $default_perm from '0777' to 0777 in https://github.com/arzynik/osFileManager/blob/master/index.php#L42

from cheryl.

gcroos avatar gcroos commented on July 30, 2024

Thank you so much Devin, it looks like it is working now… but another problem has poped up now… when non admin users log in and try to delete a file, the system comes up with a message that says “no such file exists in the directory” in a red line… how can I fix this…. Also , is there a way that we as a school can pay you for your program/help?

Kind regards

Gabriel Roos

From: Devin Smith [mailto:[email protected]]
Sent: 05 November 2014 06:50 PM
To: arzynik/cheryl
Cc: gcroos
Subject: Re: [cheryl] chyryl install (#29)

@gcroos https://github.com/gcroos try changing $default_perm from '0777' to 0777 in https://github.com/arzynik/osFileManager/blob/master/index.php#L42


Reply to this email directly or view it on GitHub #29 (comment) . https://github.com/notifications/beacon/AIkM2utf14U-Srs_8-JuqsM8lsA66stBks5nKkzQgaJpZM4CpYxS.gif

from cheryl.

gcroos avatar gcroos commented on July 30, 2024

Hi, I am using OsFilemanagement and with all your help I have got the program to work fine, the only problem is that users cannot delete FILES and they cannot MOVE files.. deleting DIRECTORIES works fine and Creating them works fine to… is there something that can be done to fix the problem? I don’t want to use Cheryl…

Ps. We would not mind to pay you for you help…

Kind Regards

Gabriel Roos

The King’s School White River

From: Devin Smith [mailto:[email protected]]
Sent: 01 October 2014 06:46 PM
To: arzynik/cheryl
Cc: gcroos
Subject: Re: [cheryl] chyryl install (#29)

can you try cloning/copying the code again without adding anything else? my guess is you have an error in the config stuff up top. ive also made some slight changes that might help


Reply to this email directly or view it on GitHub #29 (comment) . https://github.com/notifications/beacon/8981722__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNzgwMTE3NiwiZGF0YSI6eyJpZCI6NDQ0MDM3OTR9fQ==--ebb59417525d54ccd82168644000eab3447bd057.gif

from cheryl.

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.