Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Picture Upload error

Picture Upload error 21 Mar 2014 08:13 #12321

  • IHB
  • IHB's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Thank you received: 1
  • Karma: -1
Hello, I get an error after upload Picture

Error loading component: "Name of Comp", 1

The image is uploaded, but the thumb caption "ERROR"

If i use the j-cook variables [IMAGES] / icons, there makes the images not in folder "images / icson" but in the root directory is created an Folder "[IMAGES] / icons"

plz Help me
The administrator has disabled public write access.

Picture Upload error 21 Mar 2014 09:16 #12322

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
check this
The administrator has disabled public write access.

Picture Upload error 21 Mar 2014 09:34 #12323

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
@Tomaselli while I really appreciate you working out this fix/hack for us it does not work perfectly and I'm wondering where the developer is and why he cannot fix this in a proper way as up until the start of this week the image upload has not been a problem for me. failing that an acknowledgment that he knows about it would go a long way.

please don't get me wrong I appreciate your help I just have some components that need finishing to a high standard and soon.

thanks
The administrator has disabled public write access.

Picture Upload error 21 Mar 2014 10:06 #12324

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
I just gave you my fix, it perfectly works for me, but it's probably also due to many other modifications I've done to the MVC of the jcook generated component.
Unfortunately I didn't have the time yet to test a fresh generated jcook component.
give me 10 mins I'll download a test component and I'll post the definitive fix.

what environment are you using? (j2.5 / j3.x)

p.s.
This bug is a stupid little bug, it would take few mins to be fixed.
if the main "chef" couldn't reply to your post, I guess, it's probably due to some important reason we don't know. He is always available to fix all the bugs at anytime.
The administrator has disabled public write access.

Picture Upload error 21 Mar 2014 10:19 #12325

  • Tomaselli
  • Tomaselli's Avatar
  • Offline
  • Elite Member
  • Posts: 293
  • Thank you received: 87
  • Karma: 46
I just did few tests on a fresh jcook generated component.

the fix I've proposed perfectly works.

could you please double check it again?
if you still have the issue.....please give me more details about it or send the jcook generated component to me, I'll fix it in a min.
The administrator has disabled public write access.

Picture Upload error 21 Mar 2014 11:24 #12327

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
I should have probably been a little clearer while your fix does work in regards to the image being placed in the right folder now, the preview and thumbnail images are still not displaying which looks quite unprofessional and while I realize I could go through and recode the thumbnails myself so that an image is displayed this is not a viable option as I have a lot of image fields and not a lot of time and also if this is fixed on the j-cook side of things when I come to update my component in the future it will add more work of removing my code.

For now I will wait until the main "chef" has fixed the issue on the j-cook side of things, but at any rate thank you Tomaselli all your help is very much appreciated.
The administrator has disabled public write access.

Picture Upload error 21 Mar 2014 14:01 #12328

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Yes, I am here.

Sorry for these last days I was on holidays. And also experimentation a big personal issue.
It was not really holidays.
I am recovering my personal situation, just please give me some time please.
I am working alone, and I admit sometimes you really need help and I am not available.

Thanks Tomaselli for the fix, but I am not sure about the security.
I am checking today.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: cefnllys

Picture Upload error 21 Mar 2014 14:13 #12329

  • cefnllys
  • cefnllys's Avatar
  • Offline
  • Premium Member
  • Posts: 102
  • Thank you received: 5
  • Karma: 1
Hey admin, thanks for posting good to know your on the case.
I understand that managing and maintaining cook is a massive undertaking for one person and as such I am not expecting an immediate repair.
its just nice to know the issue is being acknowledged.

thanks
The administrator has disabled public write access.
The following user(s) said Thank You: admin

Picture Upload error 21 Mar 2014 14:16 #12330

  • IHB
  • IHB's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Thank you received: 1
  • Karma: -1
Sorry they dont work!

My File "1_Herbstmesse_2012001.jpg" Uploaded Successfull (img 4) but in List (img 3) and SIngle view (img 1) "NOT FOUND"

They Uploaded in Folder (img 4).

Need Help :(
Last Edit: 21 Mar 2014 14:27 by IHB.
The administrator has disabled public write access.

Picture Upload error 21 Mar 2014 21:36 #12334

  • IHB
  • IHB's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Thank you received: 1
  • Karma: -1
I Think the conversion of [IMAGES] in path are the error. can i deactivate the chmod and can i direkt use the images with an direct path?
The administrator has disabled public write access.

Picture Upload error 21 Mar 2014 22:07 #12335

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed now.

Sorry for late answer.

Changed file :
classes / model /item.php (In the _upload() function)
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: IHB

Picture Upload error 22 Mar 2014 08:48 #12341

  • IHB
  • IHB's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Thank you received: 1
  • Karma: -1
Yea perfect support! Like
The administrator has disabled public write access.
The following user(s) said Thank You: admin
Time to create page: 0.118 seconds

Get Started