Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File upload error, file is uploaded, but no url shared. #13

Open
dosch opened this issue Dec 4, 2017 · 3 comments
Open

File upload error, file is uploaded, but no url shared. #13

dosch opened this issue Dec 4, 2017 · 3 comments

Comments

@dosch
Copy link

dosch commented Dec 4, 2017

The glue gun manufacturer says: There was a problem uploading a file. Make sure you are not exceeding the file size limits set in the server configuration.

Despite the (faulty) error, the file is uploaded and can be found in content/start/shared/

But there is no, obvious, way to add the image to the page.

On reload the image appears.

@k0a1a
Copy link
Owner

k0a1a commented Dec 8, 2017

hi, thanks for the report. could you please enable debug logging in config.inc.php and upload content/log.txt file?

@kalashnikov2
Copy link

hi
i got the same error, there is not an error report on content/log.txt , with debug not enabled

looks like the error is on
/js/edit.min.js or
module_glue.inc.php

here image of the error on browser console

imagen

`

I'm going to enable debugging and check the log

@kalashnikov2
Copy link

here the content/log.txt

`2021-09-23 13:32:08 PRIVATE IP 13582 debug modules: invoking hook delete_object, calling image_delete_object
2021-09-23 13:32:08 PRIVATE IP 13582 debug upload_references: checking "start.auto-20210923102608.163240297257"
2021-09-23 13:32:08 PRIVATE IP 13582 debug modules: invoking hook has_reference, calling download_has_reference
2021-09-23 13:32:08 PRIVATE IP 13582 debug modules: invoking hook has_reference, calling image_has_reference
2021-09-23 13:32:08 PRIVATE IP 13582 debug upload_references: checking "start.auto-20210923124955.163240717836"
2021-09-23 13:32:08 PRIVATE IP 13582 debug modules: invoking hook has_reference, calling download_has_reference
2021-09-23 13:32:08 PRIVATE IP 13582 debug modules: invoking hook has_reference, calling image_has_reference
2021-09-23 13:32:08 PRIVATE IP 13582 info delete_upload: not deleting "content/start/shared/gañiornofilio.jpg" because there are still other objects referencing it
2021-09-23 13:32:08 PRIVATE IP 13582 debug modules: invoking hook delete_object, calling video_delete_object
2021-09-23 13:32:08 PRIVATE IP 13582 debug modules: invoke_hook on delete_object returned Array ( [download] => [image] => [video] => )
2021-09-23 13:32:08 PRIVATE IP 13582 info delete_object: deleted "start.head.163241829831"
2021-09-23 13:32:08 PRIVATE IP 13582 debug json: service returned true
2021-09-23 13:32:26 PRIVATE IP 07049 info --- json request ---
2021-09-23 13:32:26 PRIVATE IP 07049 debug json: method is "glue.upload_files"
2021-09-23 13:32:26 PRIVATE IP 07049 debug json: arguments are Array ( [page] => start.head )
2021-09-23 13:32:26 PRIVATE IP 07049 debug json: base url is "http://hk4jgg.us.to/"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: loading module glue
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:183 registered service "glue.check_auto_snapshot"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:224 registered service "glue.clone_object"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:266 registered service "glue.create_object"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:314 registered service "glue.create_page"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:315 registered hook "create_page"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:366 registered service "glue.delete_object"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:367 registered hook "delete_object"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:436 registered service "glue.delete_page"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:437 registered hook "delete_page"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:438 registered hook "has_reference"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:485 registered service "glue.delete_upload"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:505 registered service "glue.get_startpage"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:569 registered service "glue.load_object"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:602 registered service "glue.object_get_symlink"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:672 registered service "glue.object_make_symlink"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:728 registered service "glue.object_remove_attr"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:761 registered service "glue.pagenames"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:813 registered service "glue.render_object"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:814 registered hook "render_object"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:879 registered service "glue.render_page"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:880 registered hook "render_page_early"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:881 registered hook "render_page_late"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:926 registered service "glue.rename_page"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:927 registered hook "rename_page"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:994 registered service "glue.copy_page"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:995 registered hook "copy_page"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1061 registered service "glue.revert"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1062 registered hook "revert"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1099 registered service "glue.revisions"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1143 registered service "glue.revisions_info"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1201 registered service "glue.save_object"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1254 registered service "glue.save_state"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1258 registered hook "save_state"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1285 registered service "glue.set_startpage"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1381 registered service "glue.snapshot"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1382 registered hook "snapshot_symlink"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1424 registered service "glue.update_object"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1507 registered service "glue.upload_files"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1570 registered service "glue.upload_references"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_glue.inc.php:1571 registered hook "has_reference"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module glue, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug common: auth success (auth_method basic)
2021-09-23 13:32:26 PRIVATE IP 07049 info modules: running service "glue.upload_files"
2021-09-23 13:32:26 PRIVATE IP 07049 debug upload_files: $_FILES is Array ( [user_file0] => Array ( [name] => Screenshot 2021-08-25 at 19-07-42 LB2120 Manager.png [type] => image/png [tmp_name] => /tmp/phpF8D49s [error] => 0 [size] => 12442 ) )
2021-09-23 13:32:26 PRIVATE IP 07049 info common: moved uploaded file to "content/start/shared/Screenshot 2021-08-25 at 19-07-42 LB2120 Manager.png"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module download
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module download, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module iframe
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module iframe, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module image
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_image.inc.php:298 registered hook "alter_render_early"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_image.inc.php:299 registered hook "alter_render_late"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_image.inc.php:518 registered service "image.resize"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_image.inc.php:560 registered hook "alter_save"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module image, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module lock
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module lock, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module object
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module object, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module page
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_page.inc.php:57 registered service "page.clear_background_img"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_page.inc.php:114 registered service "page.get_grid"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_page.inc.php:236 registered service "page.set_grid"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module page, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module page_browser
2021-09-23 13:32:26 PRIVATE IP 07049 debug controller: registered controller "/create_page" => controller_create_page
2021-09-23 13:32:26 PRIVATE IP 07049 debug controller: registered controller "
/edit" => controller_edit
2021-09-23 13:32:26 PRIVATE IP 07049 debug controller: registered controller "/" => controller_default
2021-09-23 13:32:26 PRIVATE IP 07049 debug controller: registered controller "login/" => controller_login
2021-09-23 13:32:26 PRIVATE IP 07049 debug controller: registered controller "/show_page" => controller_show
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: controller.inc.php:431 registered hook "serve_resource"
2021-09-23 13:32:26 PRIVATE IP 07049 debug controller: registered controller "pages/" => controller_pages
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module page_browser, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module revisions_browser
2021-09-23 13:32:26 PRIVATE IP 07049 debug controller: registered controller "
/revisions" => controller_revisions
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module revisions_browser, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module text
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module text, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module transform
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module transform, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module user_code
2021-09-23 13:32:26 PRIVATE IP 07049 debug controller: registered controller "code/" => controller_user_code_stylesheet
2021-09-23 13:32:26 PRIVATE IP 07049 debug controller: registered controller "*/code" => controller_user_code_stylesheet
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: module_user_code.inc.php:191 registered service "user_code.set_code"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module user_code, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module user_css
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module user_css, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module video
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module video, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module webvideo
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module webvideo, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: late-loading module welcome
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: finished loading module welcome, output ""
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook upload, calling image_upload
2021-09-23 13:32:26 PRIVATE IP 07049 info create_object: created "start.head.16324183468"
2021-09-23 13:32:26 PRIVATE IP 07049 debug render_object: rendering "start.head.16324183468"
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook render_object, calling download_render_object
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook render_object, calling iframe_render_object
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook render_object, calling image_render_object
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_early, calling first image_alter_render_early
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_early, calling download_alter_render_early
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_early, calling iframe_alter_render_early
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_early, calling lock_alter_render_early
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_early, calling object_alter_render_early
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_early, calling text_alter_render_early
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_early, calling transform_alter_render_early
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_early, calling video_alter_render_early
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_early, calling webvideo_alter_render_early
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoke_hook on alter_render_early returned Array ( [image] => 1 [download] => [iframe] => [lock] => 1 [object] => 1 [text] => [transform] => 1 [video] => [webvideo] => )
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_late, calling download_alter_render_late
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_late, calling object_alter_render_late
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoking hook alter_render_late, calling welcome_alter_render_late
2021-09-23 13:32:26 PRIVATE IP 07049 debug modules: invoke_hook on alter_render_late returned Array ( [download] => [object] => [welcome] => )
2021-09-23 13:32:26 PRIVATE IP 07049 debug render_object: "start.head.16324183468" was handled by "image"
2021-09-23 13:32:26 PRIVATE IP 07049 debug image_upload: Array
(
[#error] =>
[#data] =>

)

2021-09-23 13:32:26 PRIVATE IP 07049 info upload_object: "Screenshot 2021-08-25 at 19-07-42 LB2120 Manager.png" was handled by "image"
2021-09-23 13:32:26 PRIVATE IP 07049 debug json: service returned Array ( [0] =>

)
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants