Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] File upload - loses template

File upload - loses template 26 Oct 2012 23:40 #4754

  • hard1313
  • hard1313's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Looking for some help -
I've had success in the past with the upload field - but for some reason everytime I produce a simple upload field and run the component (sandbox and local, vs1.5 and 2) it returns me to the collection page in the admin and in the front end to show just an empty template - the file is in place but that's all it shows... I've attached a series of screen shots to show how it looks before and after. The rest of the admin looks fine and is in working template... I've tried this in a standard, fresh Joomla install with no other installs also, can't seem to troubleshot my way out of this. (update: it seems to only be having problems with image file uploads - pdfs, doc, rtf, all work fine)
Last Edit: 26 Oct 2012 23:51 by hard1313.
The administrator has disabled public write access.

Re: File upload - loses template 27 Oct 2012 06:45 #4756

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @hard1313 and welcome to the cook forum!

I cannot reproduce the symptoms that you're experiencing in sandbox with v2.0 cook. I just tried and all is fine. In fact, I can honestly say that I've never returned to a page where the template failed to load.

Can you try to refresh your files, rebuild project and re-run in sandbox. Maybe this was just a weird error, one off error that occurred during build because of server load at the time or something.

Hopefully this will correct your problem!

Best of luck,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.

Re: File upload - loses template 27 Oct 2012 07:45 #4760

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 985
  • Karma: 140
That means you are experiencing a fatal.

In the sandbox you cannot see the error for security.

Download it and tell us what is the concerned file. I will fix that for you because it mustn't occurs.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: File upload - loses template 27 Oct 2012 19:47 #4782

  • hard1313
  • hard1313's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Hi- I've attached the downloaded component. This seems to only be an issue with image files - .docs, pdfs, etc... all upload just fine.

Also, I did go ahead and delete all projects, flushed all data, and then started again with a very simple, file upload component, i text field, 1 file upload to see if that fixed anything, I had the same error in sandbox and locally.

component link


Thank you for looking at this.
The administrator has disabled public write access.
Time to create page: 0.092 seconds

Get Started