File Manager configuration problem
I checked the permissions on the server, they are the same as any other sub directories (775)
Originally SME creates for each iBay an html and a files subdirectory. Since the yacs/files subdirectory could be the source of the problem and was empty, I removed it. Seems that from the code, YAKS is looking for the sub directory under yacs/html/files. But removing the competing directory under /yacs had no effect. I also ensured the server allowed external FTP, in case the upload script would use FTP. But no change.
Anybody has an idea?
| Bernard from nearby-an-airport Associate, 6796 posts | Ordinary, the yacs/files directory has a number of important scripts in it. This is not a webified file system on its own, just a way to manage files attached to web pages. Have you ensured, from your system administrator, that permission settings only apply to the main files directory, and not, erroneously, to the yacs/files directory? |
| Innovatique 7 posts |
Thanks, The permission setting on the yacs file directory seems to be sufficient to provide similar access as any other part of the script. Permissions are in fact 775. (is this right? it is superior to 706 that appears in the documentation) Ownership for the yacs/files directory is same as the rest (i.e. admin/groupe). Do I need to change it to www/www for the script to gain access or to nobody/nobody for external user? I also have a problem with uploading images since there does not seem to be a place accessible to the program to store them. ClamAV is giving me a warning and the file is not stored anywhere. |
| Innovatique 7 posts |
Innovatique : I did a check on the Server log. Every time I try to access the file upload or the image upload function, I see the following message appear in the log: PHP Fatal error: undefined class name 'safe' in /home/e-smith/files/ibays/fr/html/heartbit.php on line 31 I looked into the script, the only place that this info could appear seems to be when it is passed by the $SERVER['REQUEST_METHOD'}] variable. Perhaps Bernard, the author of the script knows what is happening here? |
| Bernard from nearby-an-airport Associate, 6796 posts |
Innovatique: Congratulations, you have found a bug in heartbit.php. However, this is a minor thing, because the purpose of this script is only to maintain the user session open on lasting web forms. This script is not used to actually upload files, and cannot be blamed for issues at this level. I will add your name to the list of YACS testers anyway, thanks for your findings. |
| Innovatique 7 posts |
Bernard : salut Pour le bug. "A vaincre sans péril, on triomphe sans gloire" (Racine... not the Root user) I will try a new installation of YACS this time in the root directory of Apache. I believe I need to get rid of something in the SME7 script that redirects everything within an iBay (home/e-smith/files/ibays/yacs) to the sub-sub-directory (home/e-smith/files/ibays/yacs/html). This may place the YACS scripts in a place where the Path_to_root will not include a sub-directory. |
| Innovatique 7 posts | Tried the installation in the primary iBay (e.g. where Apache defaults to load the main website. I have the same problem. The site will work OK except it is refusing to upload files or images from the outside. I can do it with FTP but not from within YACS. I notced that the .httaccess file is set to Deny All at the root of the YACS directory. is this created by YACS or by my server template? |
| Bernard from nearby-an-airport Associate, 6796 posts |
Innovatique: The .htaccess provided with YACS is inactive, since all statements are commented out.
|
| Lubik from Belfast 12 posts | Hello Innovatique, I am looking for information how to install YACS on SMEserver. Can you please tell me if you was able to make your installation working? If yes, is there any possibility to let me know if installation on SME was different to Installation Guide in Documentation? If this was different, what was different. I am absolute newbie on Linux and YACS as well and I really appreciate your help. Thank you Lubik
Technical support agent to customer: And now you will be able to connect to the Internet. Customer to technical support agent: And is this the latest version of Internet?
|
Rate this page
Posted by Innovatique on Nov. 26 2006, edited by Lubik on Oct. 13 2007, (popular)