You can change where the files are stored by going to http://yourhost.com/phpwebhosting/setup/, logging into the first box, and changing the path to the files directory (third one down).
If you want to change the way the files are displayed to the user, this is possible but a bit tricky. See the files in phpgwapi/doc/vfs for how to do this (relates to vfs->fakedir).
The error about MkDir relates to the file permissions on the files directory (set in setup/ above). The directory needs to be writeable by your webserver (Apache). The INSTALL file has detailed instructions on how to use chown/chmod.
Jason Wies aka Zone
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same issue
install paths are
/home/domain.com/public_html as root
/home/domain.com/public_html/hosting as root for phpgroupware
/home/domain.com/public_html/hosting/phpwebhosting
if i goto /home/domain.com/public_html/hosting/phpwebhosting/setup it does nothing i assumed everything is done thru the phpgroupware setup instead
/home/domain.com/public_html/hosting/setup
path information from the site config:
Enter the full path for temporary files.
Examples: /tmp, C:\TEMP
/tmp
Enter the full path for users and group files.
Examples: /files, E:\FILES
/home/domain.com/public_html
Enter the location of phpGroupWare's URL.
Example: http://www.domain.com/phpgroupware or /phpgroupware
No trailing slash http://www.domain.com/hosting
i have secured all the directories as it is on the web with htaccess so it requires a valid logon
but i get the
Warning: MkDir failed (No such file or directory) in /home/domain.com/public_html/hosting/phpgwapi/inc/class.vfs_sql.inc.php on line 1643
[?] /HOME/user [?]
and the path for there directories should be
/home/domain.com/public_html/*USER*
any ideas on how to fix this?
thanks dymo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your files path in setup should not be /home/domain.com/public_html. Files have to be in their own directory, or at least a directory with the same format as phpgroupware/files (same subdirectories), and obviously it has to be writable by the web server.
Jason Wies aka Zone
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Howdy,
1. Can I alter where the users webpages are held e.g. domain/webspace/users_files? If so where?
2. I get this error message even after I manually create the folders and set the permissions to 777
Warning: MkDir failed (No such file or directory) in /hd01/a/XXXXXX/public_html/phpgroupware/phpgwapi/inc/class.vfs_sql.inc.php on line 1643
It seems to be trying to create the folder /home/paul
On the main webhosting filemanager screen.
I'm sure these are simple problems and once I overcome them life will be a breeze.
any help greatly appreciated.
Cheers
Paul
Replying to your own thread isn't very clever but I've noticed that the path to my server is wrong
it is
/home/a/XXXXXX/public_html/phpgroupware/
not
/hd01/a/XXXXXX/public_html/phpgroupware/
I;ve checked the header and config file and they all are correct.
Regards
Paul
You can change where the files are stored by going to http://yourhost.com/phpwebhosting/setup/, logging into the first box, and changing the path to the files directory (third one down).
If you want to change the way the files are displayed to the user, this is possible but a bit tricky. See the files in phpgwapi/doc/vfs for how to do this (relates to vfs->fakedir).
The error about MkDir relates to the file permissions on the files directory (set in setup/ above). The directory needs to be writeable by your webserver (Apache). The INSTALL file has detailed instructions on how to use chown/chmod.
Jason Wies aka Zone
I have the same issue
install paths are
/home/domain.com/public_html as root
/home/domain.com/public_html/hosting as root for phpgroupware
/home/domain.com/public_html/hosting/phpwebhosting
if i goto /home/domain.com/public_html/hosting/phpwebhosting/setup it does nothing i assumed everything is done thru the phpgroupware setup instead
/home/domain.com/public_html/hosting/setup
path information from the site config:
Enter the full path for temporary files.
Examples: /tmp, C:\TEMP
/tmp
Enter the full path for users and group files.
Examples: /files, E:\FILES
/home/domain.com/public_html
Enter the location of phpGroupWare's URL.
Example: http://www.domain.com/phpgroupware or /phpgroupware
No trailing slash
http://www.domain.com/hosting
i have secured all the directories as it is on the web with htaccess so it requires a valid logon
but i get the
Warning: MkDir failed (No such file or directory) in /home/domain.com/public_html/hosting/phpgwapi/inc/class.vfs_sql.inc.php on line 1643
[?] /HOME/user [?]
and the path for there directories should be
/home/domain.com/public_html/*USER*
any ideas on how to fix this?
thanks dymo
Your files path in setup should not be /home/domain.com/public_html. Files have to be in their own directory, or at least a directory with the same format as phpgroupware/files (same subdirectories), and obviously it has to be writable by the web server.
Jason Wies aka Zone
thanks Jason works perfectly now, just need to setup redirectors for the new directories.
thanks alot for your fast help
dymo