Author Topic: Check new images not working?  (Read 15722 times)

0 Members and 1 Guest are viewing this topic.

Offline MustardGT

  • Newbie
  • *
  • Posts: 32
    • View Profile
Check new images not working?
« on: June 10, 2005, 12:51:56 PM »
I recently got rid of a few catagories and made some new ones and tried to upload some pics.

I'm running 1.7 and I usually make a catagory, then goto the catagory folder # like 433 and upload the pics in there. Then I goto check new images and it finds them, thumbnails them, and I'm all set.

But for some reason it won't even detect the new images that I have uploaded. I've tried file permissions and it still doesn't work.

If I goto add new images and upload them one by one it works, but not by check new images. I've never had a problem with it before so I don't understand what could be wrong.

Any ideas?

Thanks.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Check new images not working?
« Reply #1 on: June 10, 2005, 02:41:34 PM »
maybe u are uploading them into wrong folder? can u access these images directly in the browser? (like http://example.com/4images/data/433/imagename.jpg)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline MustardGT

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Check new images not working?
« Reply #2 on: June 10, 2005, 08:37:05 PM »
Yeah, I can access it with the full address like you did an example of in your post. I've tried moving it to a already existing dir with files in it and it still won't find the images.

Any ideas?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Check new images not working?
« Reply #3 on: June 11, 2005, 12:17:25 AM »
I have only four explanations:
1) u upload it into a wrong folder (did u try mod "Check new images in all categories" yet?)
2) u are uploading files with extension that is not in the "allowed" list in the settings.
3) the images are already entered in the database.
4) the permissions on the folders and files in them are not correct (should be chmod 777)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline chip

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • pixelmall.de
Re: Check new images not working? - chmod 777 for image files in media folder
« Reply #4 on: December 13, 2005, 04:14:18 PM »
Hi everyone,

I have the same problem. I upload images and if I try to check for new images in the ACP they won't show up.

The problem is all image files in the media folder have chmod 666. I can't change them to 777 (operation denied).

My provider says: "The files have been uploaded via script. They therefore belong to user nobody and chmod can't be changed. The rights can only be changed via script."

If I upload via ftp directly into the media folder I can easily change to chmod 777 and everything is fine the images show up.

What can I do? I really do want to use the uploader.


deutsch:

Hi,

Neue Bilder checken geht nicht. Problem: die Bilder liegen im media Ordner mit chmod 666.

Mein Provider sagt:
<< die Dateien wurden offenbar per Script erstellt bzw. hochgeladen. Dadurch gehören Sie dem Benutzer nobody. Aus diesem Grund können Sie auch die Rechte nicht ändern. Die Rechte könnten Sie in dem Fall nur ebenfalls mittels Script ändern.>>

Was kann ich machen, damit die von Nutzern hochgeladenen Bilder mit chmod 777 im media Ordner liegen? Irgendeiner eine Idee?



Offline chip

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • pixelmall.de
Re: Check new images not working?
« Reply #5 on: December 13, 2005, 04:32:21 PM »
ok,

I changed: includes/constants

define('CHMOD_FILES', 0666);

to

define('CHMOD_FILES', 0777);

checking new images still won't work  :(


Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Check new images not working?
« Reply #6 on: December 13, 2005, 04:35:19 PM »
wie sieht es den mit den Rechten für den Ordner aus? (o:

Und 666 sollte bei jpgs eigentlich genug sein!

Offline chip

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • pixelmall.de
Re: Check new images not working?
« Reply #7 on: December 13, 2005, 04:45:32 PM »
Hallo Acid,

den data Ordner und alle Unterordner habe ich auf 777 gesetzt und alle Bilder darin auch.  :(

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Check new images not working?
« Reply #8 on: December 13, 2005, 04:53:12 PM »
HAste mal gecheckt ob der Safe Mode aktiv ist?

Offline chip

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • pixelmall.de
Re: Check new images not working?
« Reply #9 on: December 13, 2005, 05:04:35 PM »
Hallo Acid,


safemode ist abgeschaltet.



Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Check new images not working?
« Reply #10 on: December 13, 2005, 05:09:19 PM »
ach und das normale hochladen funzt?

Offline chip

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • pixelmall.de
Re: Check new images not working?
« Reply #11 on: December 13, 2005, 05:15:08 PM »

Ja, ich kann ganz normal hochladen. Neue Bilder checken geht aber nicht.

Nur wenn ich mit ftp hochlade funktioniert auch die Neue-Bilder-checken Funktion.

 :(

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Check new images not working?
« Reply #12 on: December 13, 2005, 05:17:12 PM »
Also wenn Du per FTP hochladen kannst und das Neue Bilder checken dann funzt und das normale hochladen auch funzt was willste dann checken?  8O

Offline chip

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • pixelmall.de
Re: Check new images not working?
« Reply #13 on: December 13, 2005, 05:28:11 PM »
Ich dachte mir es wäre schön, wenn alle user direkt hochladen können.

Als admin möchte ich aber trotzdem die Möglichkeit haben einen schnellen "Überblick" zu bekommen. Quasi einen Überblick über die Neuen Bilder, ohne sie explizit freizuschalten.

Hintergedanke: wenn die Datenbank erstmal groß ist und die User direkt uploaden können dann "verlieren" sich die neuen Bilder relativ schnell in den vielen Kategorien und der Admin verliert schnell den Überblick.

Ich dachte mir, so kann man checken ohne freizuschalten. Und ich kann als Seitenbetreiber meiner Aufsichtspflicht leichter nachkommen.

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Check new images not working?
« Reply #14 on: December 13, 2005, 05:31:07 PM »
Also Neue Bilder checken haste falsch verstanden!

Das Teil schaut auf dem Server ob Bilder vorhanden sind die noch nicht in der Datenbank eingetragen wurden und mit Neue Bilder checken kann man das dann machen, wie Du es ja sicherlich schon gemacht hast wenn Du ein Bild per FTP hochgeladen hast!