I've just done a fresh 3.2 w2p installation and I'm not able to upload any files to w2p.\nI get following message in log: [Wed Sep 24 10:49:15.392968 2014] [:error] [pid 5437] [client IP:59466] PHP Warning: include(/var/www/html/3.2/classes/w2p/Interfaces/Filesystem.class.php): failed to open stream: No such file or directory in /var/www/html/3.2/classes/w2p/web2project.php on line 31, referer: http://localhost/ppm/index.php?m=files&a=addedit&folder=0 [Wed Sep 24 10:49:15.393013 2014] [:error] [pid 5437] [client IP:59466] PHP Warning: include(): Failed opening '/var/www/html/3.2/classes/w2p/Interfaces/Filesystem.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/3.2/classes/w2p/web2project.php on line 31, referer: http://localhost/ppm/index.php?m=files&a=addedit&folder=0 [Wed Sep 24 10:49:15.393149 2014] [:error] [pid 5437] [client IP:59466] PHP Fatal error: Interface 'w2p_Interfaces_Filesystem' not found in /var/www/html/3.2/classes/w2p/FileSystem/Local.class.php on line 10, referer: http://localhost/ppm/index.php?m=files&a=addedit&folder=0 I've tried to search the web, unfortunately I didn't find any information.\nIs there someting missing?

asked 24 Sep '14, 07:11

chdrsto's gravatar image

chdrsto
0446
accept rate: 0%

asked 24 Sep '14, 07:11

I'm sorry for your struggles. I've flagged this for review and will dig into it asap.

(29 Sep '14, 11:03) caseydk ♦♦ caseydk's gravatar image

I THINK I SOLVED IT (maybe). In my download from the W2P site, the \"Filesystem.class.php\" file appears like this: FileSystem.class.php....the \"S\" in system is capitalized. The error message refers to the file as having only the \"F\" capitalized. Once I renamed the file with only the capital \"F\", it worked. So far, I've tested with a file attached to a task and one that's not attached to anything...works fine.
permanent link

answered 06 Oct '14, 11:08

Burnspot's gravatar image

Burnspot
20267
accept rate: 25%

commented 06 Oct '14, 11:08

Fixed in development on v3.2.90 here:nhttps://github.com/web2project/web2project/commit/653c7873cd1a0148240eaf857a258068d921969c And fix applied to v4.0 development too.

(06 Oct '14, 12:37) caseydk ♦♦ caseydk's gravatar image
do you have a folder /0/ in files? There was a change that general files are no longer in /files but now in files/0/
permanent link

answered 24 Sep '14, 13:45

opto's gravatar image

opto ♦
83344110132
accept rate: 10%

answered 24 Sep '14, 13:45

Hi opto Yes, if this is a zero.nI have created a folder like /var/www/html/w2p/files/0/ and also /var/www/html/w2p/files/temp/0/ Unfortunately with no result.nAfter clicking on save, a blank screen appears ... no file was uploaded

(24 Sep '14, 15:22) chdrsto chdrsto's gravatar image

Files were always supposed to be in files/0/ but in one release the 0 was being ignored as a zero length string instead of cast to an int.. so it made some files appear at files// instead.

(29 Sep '14, 23:59) caseydk ♦♦ caseydk's gravatar image
Can you check to make sure this file is present: classes/w2p/Interfaces/FileSystem.class.php If so, I'm stumped at the moment.. if it's not there, we need to figure out why your install doesn't have it.
permanent link

answered 30 Sep '14, 00:01

caseydk's gravatar image

caseydk ♦♦
742314248
accept rate: 32%

answered 30 Sep '14, 00:01

Yes, there are two files in this folder and one of it is FileSystem.class.php drwxrwxr-x 2 www-data www-data 4.0K Jul 17 06:09 . drwxrwxr-x 16 www-data www-data 4.0K Jul 17 06:09 .. -rw-rw-r-- 1 www-data www-data 596 Jul 17 06:09 FileSystem.class.php -rw-rw-r-- 1 www-data www-data 617 Jul 17 06:09 Listener.class.php I guess it is version related. Do to the fact that this is running on Debian Testing. It runs on **Apache Version 2.4.10 with PHP 5.6.0 / MySQL 5.5.39**. Did someone run w2p on a machine with this figures?
permanent link

answered 30 Sep '14, 03:05

chdrsto's gravatar image

chdrsto
0446
accept rate: 0%

answered 30 Sep '14, 03:05

What version of PHP were you testing with? I do all my development on 5.5 and do testing on 5.4 and (usually) 5.3.

(30 Sep '14, 23:42) caseydk ♦♦ caseydk's gravatar image
If this can help, I am getting the following errors when trying to upload a new file : Warning: include(/var/www/html/web2project/classes/w2p/Interfaces/Filesystem.class.php): failed to open stream: No such file or directory in /var/www/html/web2project/classes/w2p/web2project.php on line 31 Warning: include(): Failed opening '/var/www/html/web2project/classes/w2p/Interfaces/Filesystem.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/web2project/classes/w2p/web2project.php on line 31 Fatal error: Interface 'w2p_Interfaces_Filesystem' not found in /var/www/html/web2project/classes/w2p/FileSystem/Local.class.php on line 10 I am using Apache 2.4.7/PHP 5.5.9/MYSQL 5.5.38 By the way I am able to create new folders.
permanent link

answered 01 Oct '14, 05:15

mcandell's gravatar image

mcandell
1368
accept rate: 0%

answered 01 Oct '14, 05:15

Same to me. I'm also able to create new folders but not upload any files.
permanent link

answered 01 Oct '14, 09:34

chdrsto's gravatar image

chdrsto
0446
accept rate: 0%

answered 01 Oct '14, 09:34

Longtime DP user. Fresh install this morning of Web2Project for client project and uploads fail with similar warnings: [02-Oct-2014 13:03:25 America/New_York] PHP Warning: include(/home/regency/public_html/dimension/classes/w2p/Interfaces/Filesystem.class.php): failed to open stream: No such file or directory in /home/regency/public_html/dimension/classes/w2p/web2project.php on line 31\n[02-Oct-2014 13:03:25 America/New_York] PHP Warning: include(): Failed opening '/home/regency/public_html/dimension/classes/w2p/Interfaces/Filesystem.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/regency/public_html/dimension/classes/w2p/web2project.php on line 31\n[02-Oct-2014 13:03:25 America/New_York] PHP Fatal error: Interface 'w2p_Interfaces_Filesystem' not found in /home/regency/public_html/dimension/classes/w2p/FileSystem/Local.class.php on line 10 Environment:\nApache: 2.2.29\nPHP: 5.4.32\nMySQL: 5.5.37-cll\nInstallation was green across the board except for LDAP (not being used).
permanent link

answered 02 Oct '14, 13:12

Burnspot's gravatar image

Burnspot
20267
accept rate: 25%

edited 02 Oct '14, 13:15

Thanks, I'm still looking into this.. What version of PHP are you using?

(02 Oct '14, 13:49) caseydk ♦♦ caseydk's gravatar image

PHP: 5.4.32 is what we're using.

(02 Oct '14, 14:24) Burnspot Burnspot's gravatar image
I shifted our PHP up to 5.5.57-cll (CloudLinux) and it still returns these errors: [03-Oct-2014 09:00:38 America/New_York] PHP Warning: include(/home/regency/public_html/dimension/classes/w2p/Interfaces/Filesystem.class.php): failed to open stream: No such file or directory in /home/regency/public_html/dimension/classes/w2p/web2project.php on line 31\n[03-Oct-2014 09:00:38 America/New_York] PHP Warning: include(): Failed opening '/home/regency/public_html/dimension/classes/w2p/Interfaces/Filesystem.class.php' for inclusion (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/regency/public_html/dimension/classes/w2p/web2project.php on line 31\n[03-Oct-2014 09:00:38 America/New_York] PHP Fatal error: Interface 'w2p_Interfaces_Filesystem' not found in /home/regency/public_html/dimension/classes/w2p/FileSystem/Local.class.php on line 10
permanent link

answered 03 Oct '14, 09:04

Burnspot's gravatar image

Burnspot
20267
accept rate: 25%

answered 03 Oct '14, 09:04

The file actually exists, right? I'm trying to figure out what would cause this one..

(04 Oct '14, 01:06) caseydk ♦♦ caseydk's gravatar image

the path is doubled??.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php'

(04 Oct '14, 03:45) opto ♦ opto's gravatar image
Same for me. I installed w2p 3.2 today on a hosting service (PHP 5.5.16, MySQL 5.6.17, Apache2, post_max_size 200M, file_uploads On, /files is 777, /files/temp is 777) I can create folders, but uploading files doesn't work: No errors/warnings on w2p debug level 2 (I don't have access to the apache error.log file): After clicking \"save\" in the file upload screen (/index.php?m=files&a=addedit&folder=1), there is a blank screen coming up (/index.php?m=files), and the file has not been uploaded.\nI tried this with several different files (filenames in ascii w/o whitespace), within and without a project, within and without a task, but the result remains the same.
permanent link

answered 04 Oct '14, 18:43

tarantoga's gravatar image

tarantoga
(suspended)
accept rate: 0%

answered 04 Oct '14, 18:43

Thanks, Burnspot! It works for me, too!
permanent link

answered 06 Oct '14, 11:14

tarantoga's gravatar image

tarantoga
(suspended)
accept rate: 0%

answered 06 Oct '14, 11:14

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×12
×4

question asked: 24 Sep '14, 07:11

question was seen: 3,227 times

last updated: 06 Oct '14, 12:41

powered by Bitnami OSQA