phpCollab Community
Discuss everything phpCollab!

The forums are currently in READ-ONLY mode while we upgrade the forums.
Home » Support » General Support » I can't add files in phpC
I can't add files in phpC [message #7692] Wed, 31 May 2006 17:35 Go to next message
jori is currently offline  jori
Messages: 2
Registered: May 2006
Location: Germany
phpCollab guest

I've installed phpC on my webSpace. When i add a file, i become this error message:

Warning: ftp_chdir() [function.ftp-chdir]: Failed to change directory. in /srv/www/web311/html/_area51/includes/library.php on line 520

Warning: ftp_put() [function.ftp-put]: Could not create file. in /srv/www/web311/html/_area51/includes/library.php on line 521

Warning: filesize() [function.filesize]: Stat failed for ../files/5/117--_test.txt (errno=2 - No such file or directory) in /srv/www/web311/html/_area51/includes/library.php on line 609

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web311/html/_area51/includes/library.php:520) in /srv/www/web311/html/_area51/includes/library.php on line 202

Something is wrong, ...i'll be damned if I know!.

Can anybody help me????
Re: I can't add files in phpC [message #7693 is a reply to message #7692] Wed, 31 May 2006 21:15 Go to previous messageGo to next message
mindblender is currently offline  mindblender
Messages: 610
Registered: July 2003
Location: AZ
phpCollab contributor

Check your directory permissions. Sounds like the app doesn't have permission to create/write the files.

In the ~/docs folder there should be an install.txt file that lists the proper directory permissions.
Re: I can't add files in phpC [message #7700 is a reply to message #7693] Sat, 03 June 2006 13:46 Go to previous messageGo to next message
jori is currently offline  jori
Messages: 2
Registered: May 2006
Location: Germany
phpCollab guest

ok,
i've check the permissions of the correct folders & files, they are all 777.
I use the LeechFTP client. How can i do the:

chown nobody .nogroup includes/settings.php ...hmmmm

Can i do this with Leech Question
Re: I can't add files in phpC [message #7701 is a reply to message #7692] Tue, 06 June 2006 04:49 Go to previous messageGo to next message
mindblender is currently offline  mindblender
Messages: 610
Registered: July 2003
Location: AZ
phpCollab contributor

you might need to telnet to your server and try it.

I'm not familiar with LeechFTP. Check the Help files for LeechFTP for changing permissions on a directory.
Re: I can't add files in phpC [message #7727 is a reply to message #7692] Tue, 18 July 2006 14:46 Go to previous message
PapyT is currently offline  PapyT
Messages: 2
Registered: July 2006
phpCollab guest
Hello!
I can't upload files neither...
Here is what I get everytime I try:
Warning: pg_query(): Query failed: ERROR: invalid input syntax for integer: "" in c:\program files\easyphp1-8\www\phpcollab-2.5\includes\library.php on line 1150

Warning: pg_query(): Query failed: ERROR: invalid input syntax for integer: "" in c:\program files\easyphp1-8\www\phpcollab-2.5\includes\library.php on line 1150

Warning: pg_query(): Query failed: ERROR: invalid input syntax for integer: "" in c:\program files\easyphp1-8\www\phpcollab-2.5\includes\request.class.ph p on line 48

Warning: pg_fetch_row(): supplied argument is not a valid PostgreSQL result resource in c:\program files\easyphp1-8\www\phpcollab-2.5\includes\request.class.ph p on line 73

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\phpcollab-2.5\includes\library.php:1150 ) in c:\program files\easyphp1-8\www\phpcollab-2.5\includes\library.php on line 251


I checked the folder authorizations, and set them to full control (for all the folders under phpcollab), checked the php.ini file and found it ok, so I'm sort of out of ideas...
Could someone have a suggestion?


Edit: I switched to a MySQL database, problem vanished... (I tried that on two different versions of Windows, 2000 and XP)
Database managers were pgAdmin for the PostgreSQL DB, and EasyPhp for the MySQL DB.

[Updated on: Wed, 19 July 2006 06:58]

Report message to a moderator

Previous Topic: Authenication Issues
Next Topic: SESSION ERROR
Goto Forum:
  


Current Time: Thu Jun 20 14:49:50 CEST 2013

Total time taken to generate the page: 0.22564 seconds