4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Jay10 on May 07, 2002, 06:14:41 PM

Title: Uploading problems
Post by: Jay10 on May 07, 2002, 06:14:41 PM
I tested some images, I uploaded them into the categories, but the images aren't uploading in the categories. When I went into the Admin control panel to look into "Edit Images" the images were there, but they aren't in the Photo Gallery categories. What could be the problem?
Title: Uploading problems
Post by: rp on May 07, 2002, 10:41:34 PM
gleiches Problem (1.5 Beta):

Wenn man als Administrator eingeloggt ist und versucht Bilder über die Galerie Hompage (nicht über's Control Panel) hochzuladen werden diese nachher im Control Panel zwar angezeigt (z.B. unter Bilder bearbeiten) auf der Galerie Hompage jedoch nicht. (müssen ja nicht freigeschaltet werden, da als Admin Direktupload möglich).
Title: Uploading problems
Post by: Jan on May 07, 2002, 10:50:11 PM
See: http://www.4homepages.de/forum/viewtopic.php?p=1150#1150

Jan
Title: Uploading problems
Post by: Jay10 on May 08, 2002, 12:14:34 AM
I speak english only, so the information at the link is confusing for me.
Title: Uploading problems
Post by: Jay10 on May 08, 2002, 12:16:04 AM
Quote from: rpiatti
gleiches Problem (1.5 Beta):

Wenn man als Administrator eingeloggt ist und versucht Bilder über die Galerie Hompage (nicht über's Control Panel) hochzuladen werden diese nachher im Control Panel zwar angezeigt (z.B. unter Bilder bearbeiten) auf der Galerie Hompage jedoch nicht. (müssen ja nicht freigeschaltet werden, da als Admin Direktupload möglich).



can you translate your post? I speak english only.
Title: Uploading problems
Post by: Nicky on May 08, 2002, 12:38:50 AM
hi,

is the same problem like yours..
there is a little bug in member.php

row 58:
change:
Code: [Select]

  $image_active = (isset($HTTP_POST_VARS['image_active']) && $HTTP_POST_VARS['image_active'] == 1) ? 1 : 0;

to:
Code: [Select]

  $image_active = (isset($HTTP_POST_VARS['image_active']) && $HTTP_POST_VARS['image_active'] == 0) ? 0 : 1;


and row 60:

change:
Code: [Select]

  $image_allow_comments = (isset($HTTP_POST_VARS['image_allow_comments']) && $HTTP_POST_VARS['image_allow_comments'] == 1) ? 1 : 0;

to:
Code: [Select]

  $image_allow_comments = (isset($HTTP_POST_VARS['image_allow_comments']) && $HTTP_POST_VARS['image_allow_comments'] == 0) ? 0 : 1;
Title: Uploading problems
Post by: Jay10 on May 08, 2002, 12:43:23 AM
Thanks a lot.