wifang / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

PublicUploadPlugin #301

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I installed mollify 1.8.3.1 with Plupload plugin and Public Upload Plugin.

Plupload works fine but Public Upload Plugin doesn't work. when I try to upload 
one or some files, some files  appear to upload  100%, but they don't post to 
the server and a little yellow triangle (alert icon) appears next to file line 
item.

Thanks
Fred

Original issue reported on code.google.com by f.dauvil...@interland.info on 6 Oct 2011 at 1:48

GoogleCodeExporter commented 9 years ago
Same here,

I got this on my php.errors

[13-Oct-2011 20:12:37] MOLLIFY DEBUG: MySQL DB: 
cloudbackup@localhost:cloudbackup(mollify_) port=3306 socket=
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: EVENT HANDLER: registering '*': 
EventLogger
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: VERSION: 1.8.1 SERVER: 
{CONTENT_LENGTH:45909, HTTP_ORIGIN:http://www.localhost.com, 
CONTENT_TYPE:multipart/form-data; 
boundary=----WebKitFormBoundary0by3AAtoorGzJHf2, 
HTTP_REFERER:http://www.localhost.com/cli/backend/plugin/PublicUpload/?id=NDI6L1
RlbXBvcmFsLw==, 
HTTP_COOKIE:__utma=129017235.1859922708.1318561938.1318561938.1318561938.1; 
__utmb=129017235.2.10.1318561938; __utmc=129017235; 
__utmz=129017235.1318561938.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); 
MOLLIFY-SESSION=gkefddntsr9gfa4evrsfkqbs21, 
SCRIPT_FILENAME:/home/localhost/public_html/cli/backend/r.php, 
SERVER_PROTOCOL:HTTP/1.1, REQUEST_METHOD:POST, 
QUERY_STRING:id=NDI6L1RlbXBvcmFsLw==&uploader=plupload, 
REQUEST_URI:/cli/backend/r.php/public_upload/?id=NDI6L1RlbXBvcmFsLw==&uploader=p
lupload, SCRIPT_NAME:/cli/backend/r.php, PATH_INFO:/public_upload/, 
PATH_TRANSLATED:/home/localhost/public_html/public_upload/, 
PHP_SELF:/cli/backend/r.php/public_upload/, REQUEST_TIME:1318561956}
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: SETTINGS: {email_login:1, 
enable_file_upload_progress:1, enable_zip_download:1, enable_public_links:1, 
enable_mail_notification:1, mail_notification_from:admin@localhost.com, debug:1}
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: CONFIGURATION PROVIDER 
(MySQLConfiguration): supported features={0:change_password, 1:descriptions, 
2:administration, 3:user_groups, 4:permission_inheritance} auth=1
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: FEATURES: {limited_http_methods:, 
file_upload:1, folder_actions:1, file_upload_progress:1, zip_download:1, 
change_password:1, descriptions:1, administration:1, user_groups:1, 
public_links:1, mail_notification:1, retrieve_url:, folder_protection:, 
lost_password:1, event_logging:1, registration:1}
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: FILESYSTEM: allowed_file_upload_types={}
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: AUTH: is_authentication_required=1, 
is_authenticated=
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: REQUEST: method=post, 
path={0:public_upload}, ip=189.170.74.123, params={id:NDI6L1RlbXBvcmFsLw==, 
uploader:plupload, name:FORMATO DE CALIF SECUNDARIA.xls, 
__utma:129017235.1859922708.1318561938.1318561938.1318561938.1, 
__utmb:129017235.2.10.1318561938, __utmc:129017235, 
__utmz:129017235.1318561938.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none), 
MOLLIFY-SESSION:gkefddntsr9gfa4evrsfkqbs21}, data=
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: SERVICE (PublicUploadServices): 
is_auth_required=
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: DB: SELECT f.id as id, uf.name as name, 
f.name as default_name, f.path as path FROM mollify_user_folder uf, 
mollify_folder f, mollify_user u WHERE (uf.user_id in ()) AND f.id = 
uf.folder_id AND u.id = uf.user_id ORDER BY u.is_group asc
[13-Oct-2011 20:12:37] MOLLIFY ERROR: ServiceException: 
INVALID_CONFIGURATION=Error executing query (SELECT f.id as id, uf.name as 
name, f.name as default_name, f.path as path FROM mollify_user_folder uf, 
mollify_folder f, mollify_user u WHERE (uf.user_id in ()) AND f.id = 
uf.folder_id AND u.id = uf.user_id ORDER BY u.is_group asc): You have an error 
in your SQL syntax; check the manual that corresponds to your MySQL server 
version for the right syntax to use near ')) AND f.id = uf.folder_id AND u.id = 
uf.user_id ORDER BY u.is_group asc' at line 1
[13-Oct-2011 20:12:37] MOLLIFY ERROR: 
{0:{file:/home/mollify/public_html/cli/backend/include/configuration/DbConfigura
tion.class.php, line:262, function:query, class:MySQLDatabase, type:->, 
args:{0:SELECT f.id as id, uf.name as name, f.name as default_name, f.path as 
path FROM mollify_user_folder uf, mollify_folder f, mollify_user u WHERE 
(uf.user_id in ()) AND f.id = uf.folder_id AND u.id = uf.user_id ORDER BY 
u.is_group asc}}, 
1:{file:/home/mollify/public_html/cli/backend/include/filesystem/FilesystemContr
oller.class.php, line:80, function:getUserFolders, class:DbConfiguration, 
type:->, args:{0:, 1:1}}, 
2:{file:/home/mollify/public_html/cli/backend/include/filesystem/FilesystemContr
oller.class.php, line:185, function:getFolderDefs, class:FilesystemController, 
type:->, args:{0:}}, 
3:{file:/home/mollify/public_html/cli/backend/include/filesystem/FilesystemContr
oller.class.php, line:176, function:isFolderValid, class:FilesystemController, 
type:->, args:{0:42}}, 
4:{file:/home/mollify/public_html/cli/backend/include/services/ServicesBase.clas
s.php, line:80, function:item, class:FilesystemController, type:->, 
args:{0:42:/Temporal/}}, 
5:{file:/home/mollify/public_html/cli/backend/plugin/PublicUpload/PublicUploadSe
rvices.class.php, line:25, function:item, class:ServicesBase, type:->, 
args:{0:NDI6L1RlbXBvcmFsLw==}}, 
6:{file:/home/mollify/public_html/cli/backend/include/services/ServicesBase.clas
s.php, line:60, function:processPost, class:PublicUploadServices, type:->, 
args:{}}, 
7:{file:/home/mollify/public_html/cli/backend/include/MollifyBackend.class.php, 
line:79, function:processRequest, class:ServicesBase, type:->, args:{}}, 
8:{file:/home/mollify/public_html/cli/backend/r.php, line:57, 
function:processRequest, class:MollifyBackend, type:->, args:{0:Request}}}
[13-Oct-2011 20:12:37] MOLLIFY DEBUG: RESPONSE error {0:105, 1:Invalid 
configuration, 2:403} Error executing query (SELECT f.id as id, uf.name as 
name, f.name as default_name, f.path as path FROM mollify_user_folder uf, 
mollify_folder f, mollify_user u WHERE (uf.user_id in ()) AND f.id = 
uf.folder_id AND u.id = uf.user_id ORDER BY u.is_group asc): You have an error 
in your SQL syntax; check the manual that corresponds to your MySQL server 
version for the right syntax to use near ')) AND f.id = uf.folder_id AND u.id = 
uf.user_id ORDER BY u.is_group asc' at line 1

Original comment by armin.ar...@gmail.com on 14 Oct 2011 at 3:24

GoogleCodeExporter commented 9 years ago
I'll fix this in next release

Original comment by samuli.j...@gmail.com on 14 Oct 2011 at 5:33

GoogleCodeExporter commented 9 years ago
Fixed in 1.8.4.1. Note that requires Plupload plugin with version 1.0.4.

Original comment by samuli.j...@gmail.com on 16 Oct 2011 at 4:13

GoogleCodeExporter commented 9 years ago
Thanks a lot!!! 

Original comment by armin.ar...@gmail.com on 17 Oct 2011 at 3:49

GoogleCodeExporter commented 9 years ago
Needs to be installed on the server (Plupload plugin) but not used? I mean, I 
prefer to use Flash uploader than Plupload on registered users, but on public 
upload I don't care if it uses Plupload.

Thanks again

Original comment by armin.ar...@gmail.com on 17 Oct 2011 at 4:03

GoogleCodeExporter commented 9 years ago
Yes, you need to register plupload plugin in server, but don't have to use it 
in client.

Original comment by samuli.j...@gmail.com on 17 Oct 2011 at 6:54