Author Topic: Failed to import file to the file repository  (Read 2347 times)

mjmtrenel

  • Newbie
  • *
  • Posts: 1
    • View Profile
Failed to import file to the file repository
« on: January 25, 2010, 07:02:04 pm »
I just installed on my hosting site and when trying to upload a file or creating a document I get this error

Failed to import file '/www/docs/xxxxxxx/public_html/feng/tmp/og_1264450787_665170' to the file repository (unique file id: 72827c4d0e0802488f242e4b75d0efe13f6d67f5)

I check the following folders have 777 permissions: cache, config, tmp, upload, public

I turned on the debug in config.php and I get this messages

Session "default" started at 2010-01-22T19:25:25+0000
#1 ERROR: Error: set_time_limit() [<a href='function.set-time-limit'>function.set-time-limit</a>]: Cannot set time limit in safe mode in '/www/docs/xxxxxxx/public_html/opengoo/application/controllers/AdministrationController.class.php' on line 416 (error code: 2)
Time since start: 7.30952501297 seconds
-------------------------------------------------------------------------------

Session "default" started at 2010-01-22T19:58:27+0000
#1 ERROR: Error: unlink(/www/docs/xxxxxxx/public_html/opengoo/upload/f66/4f6/c3d/7b758d64e1ca3f645dba1a3c7dc8b95) [<a href='function.unlink'>function.unlink</a>]: Permission denied in '/www/docs/xxxxxxx/public_html/opengoo/library/filerepository/backend/FileRepository_Backend_FileSystem.class.php' on line 274 (error code: 2)
#2 ERROR: Error: Undefined variable: repository_path in '/www/docs/xxxxxxx/public_html/opengoo/library/filerepository/errors/FileRepositoryDeleteError.class.php' on line 26 (error code: 8)
#3 DEBUG: Failed to remove 'f664f6c3d7b758d64e1ca3f645dba1a3c7dc8b95' from the '' repository
Time since start: 0.47146916389465 seconds
-------------------------------------------------------------------------------

Session "default" started at 2010-01-22T19:59:34+0000
#1 ERROR: Error: copy() [<a href='function.copy'>function.copy</a>]: SAFE MODE Restriction in effect.  The script whose uid is 6922 is not allowed to access /www/docs/xxxxxxx/public_html/opengoo/upload/681/569/9a2 owned by uid 99 in '/www/docs/xxxxxxx/public_html/opengoo/library/filerepository/backend/FileRepository_Backend_FileSystem.class.php' on line 218 (error code: 2)
#2 ERROR: Error: copy(/www/docs/xxxxxxx/public_html/opengoo/upload/681/569/9a2/a1146d715bacbf085e91d0aab6dbb99) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory in '/www/docs/xxxxxxx/public_html/opengoo/library/filerepository/backend/FileRepository_Backend_FileSystem.class.php' on line 218 (error code: 2)
Time since start: 0.21988892555237 seconds
-------------------------------------------------------------------------------

It is necessary set "safe mode" is OFF. I dont have access to change the php.ini in my hosting.

Thanks in advance.

Martin