Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: problem with event images upload

problem with event images upload 12 years 10 months ago #16404

  • gisitalia
  • gisitalia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I installed version 2_7_12d_J15 after some local succesufully tests but yesterday I discovered I can't upload images for the events. The upload phase doesn't work any more.
It seams to use a js not available, network console writes
/plugins/editors/tinymce/jscripts/tiny_mce/plugins/blockquote/editor_plugin.js not fount (used by /plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js)

and the browser console details this too:
Uncaught ReferenceError: data is not defined (-> index2.php:1553)
options.success (->index2.php:1553)
$.fn.ajaxSubmit.options.success (->form.js:149)
cb (->form.js:491)

Someone else saw that problem? Any solution to suggest? (Don't suggest to download the new version, I finished the support last 18th january so i can't download any new version :( )

Hope someone can help me with that problem.
Denis

Please Log in or Create an account to join the conversation.

problem with event images upload 12 years 10 months ago #16405

  • gisitalia
  • gisitalia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I discovered something more: the image file upload work well, just the event update doesn't work, the table 'jos_dtregister_group_event' are not updated with the new image name so in the browser the event always shows the old image associated.
I tried to save the event with no image and that works correctly, but even in that case if then i try to associate a new image the event saving doesn't work again, so the problem seams to happen only when the image field has compiled.

Hope someone know a way to solve the problem (dtregister developer...)

Denis

Please Log in or Create an account to join the conversation.

problem with event images upload 12 years 10 months ago #16408

  • gisitalia
  • gisitalia's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I saw the 'add_image.php' contains this command
data : {name:'event',filetypesevent:'png,jpg,jpeg,gif',filesizeevent:1000000,field_id:'',eventpic:1,'controller':'file','task':'upload'}.....

and i think it contains errors referencing controller and task (as string) and should be like this
data : {name:'event',filetypesevent:'png,jpg,jpeg,gif',filesizeevent:1000000,field_id:'',eventpic:1,controller:'file',task:'upload'}....

I tried to correct in that way but it doesn't solve the problem
None have this problem?

Please Log in or Create an account to join the conversation.

problem with event images upload 12 years 10 months ago #16409

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
We can not replicate this at all on our sites... and no changes have been made recently to the event image upload... definitely not since 2.7.12. The scripts you are referring to are from the editor and are not required or triggered by DT Register itself. The editor loads in event setup for a couple of the tabs... so my guess is your issue lies there. If your Joomla is not current, update it first. Then, update the editor. Are you using TinyMCE or JCE? If JCE (recommended), update to the newest version.

Possible that you are having an upload problem simply because the upload script is breaking due to the errors coming in from the editor.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.527 seconds