Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 09:34 am EDT

Geeklog Forums

Changing default number of images per article


Status: offline

andyofne

Forum User
Chatty
Registered: 08/31/02
Posts: 69
caffeinated
I found where I can make the adjustment in the config ini file that allows me to specify more or less images per article. When I made the change from the default value of \"5\" to \"8\" I had sucess with my first submission using more than 5 images. However, when I tried to make subsequent submissions with NO images, I was shown an error saying: Max. number of files you can upload from a form is 5 and you sent 8 But this is not right because, in fact, I\'ve sent NONE. Is there something else that must be changed to allow more than 5 images to be uploaded?
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
It can be changed in 1.3.8, but I think the max is 5 in older versions.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
As Dwight already mentioned, there\'s a hard-coded limit of 5 images in the upload class in Geeklog versions prior to 1.3.8. So either upgrade to 1.3.8 or patch the upload class ... bye, Dirk
 Quote

Status: offline

andyofne

Forum User
Chatty
Registered: 08/31/02
Posts: 69
lol well that makes sense... weird how it let me upload 8 files once but then gave me an error when I uploaded none. Smile
 Quote

All times are EDT. The time is now 09:34 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content