SOLVED - Batch Add Files - No new file was found SOLVED - Batch Add Files - No new file was found
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

SOLVED - Batch Add Files - No new file was found

Started by Hank1234, September 19, 2006, 05:29:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hank1234

HELP - After upgrading to 1.4.8 Batch Add Files no longer works. I get "No new file was found
".

So Far I have set permissions to 777 on all files, read the support forum and peakedat the code - No Luck so far.

Link is http://www.delawaresaengerbund.org/Cmine/index.php. I am attempting to add pictures to our 2006 Oktoberfest album. Pictures  are in folder Upload. I think I have followed the direction in your documentation - 4.11.4 Upload troubleshooting.

Logon is:  TestUser 
PWD is: TestUser
Group is Submitter

Hank

Joachim Müller

Do exactly as suggested in http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble and post a deep link to one of the files you're trying to batch-add.

Hank1234

OK I think I've done that - if not pls advise what I missed.

When I uploaded 1 picture it went into the userpics directory with no error messages. But userpics does not show as one of  the directories that I can select under Batch Add files. I can see it under Upload Approval. This is not what I need to do. I need to add about 100 pictures. In 1.3 I uploaded them to their directory and then used Batch Add to add the pics.

My directory structure is  \Cmine\album\UploadedImages\2006Oktoberfest
              \Cmine\album\Uploads

I have not used \Cmine\album\edit and \Cmine\album\userpics. I don't remember seeing them under 1.3. Is there a hard codecd specific protocol for using a specific file sturcture when batch adding files?


Joachim Müller

Quote from: Hank1234 on September 19, 2006, 02:27:52 PM
My directory structure is  \Cmine\album\UploadedImages\2006Oktoberfest
Not a deep link. A deep link would be something like http://www.delawaresaengerbund.org/Cmine/albums/some_folder/some_subfolder/actual_pic.jpg
http://www.delawaresaengerbund.org/Cmine/albums/UploadedImages/2006Oktoberfest/ returns a 404 not found, so you posted the wrong data above. Not sure what else to suggest.

Can't tell you more, as you have admin approval turned on, so I couldn't verify immediately if my test upload worked OK.


Hank1234

#5
GauGau: Deep Link is www.delawaresaengerbund.org/Cmine/albums/uploads/ACPICT0033.JPG

I have looked over the Config panel and didn't see any obvious way to turnoff Admin Approval. I made some minor changes to the Submitter group. How do I turn off Admin Approval reqd?

Would it help to include the debug info I get?

Hank

PS: When I click the above I get a 403 Forbidden. But I can navigate to the page starting at www.delawaresaengerbund.org/Cmine and then follow the link down to the above page.  I have checked the permissions on the directories and file. They seem OK - CMine is 755 all others are 777.

PPS: I approved your upload and it worked fine. Per note witht he upload, I have deleted the picture.


Joachim Müller

Quote from: Hank1234 on September 19, 2006, 08:11:49 PM
When I click the above I get a 403 Forbidden.
That's what you need to fix: something on your webserver, not related to coppermine. Check for improperly configured hotlink protection. If you can't figure this out on your own, ask your webhost for support.

Quote from: Hank1234 on September 19, 2006, 08:11:49 PM
I have looked over the Config panel and didn't see any obvious way to turnoff Admin Approval.
Groups panel. Please read the docs.

Quote from: Hank1234 on September 19, 2006, 08:11:49 PM
Would it help to include the debug info I get?
No. Supporters will explicitely ask for debug_output if they need it. I don't need it for your issue: the above mentioned permissions issue (403 error) is the culprit, no doubt about that.

Joachim

Hank1234

#7
The 403 Forbidden has been fixed. Deep Link now works www.delawaresaengerbund.org/Cmine/albums/uploads/ACPICT0033.JPG

Config set for TestUser/TestUser to upload an image via HTTP without needing the Admin to approve. I have tested this with a user Album.  Works fine with no errors.

But, the Batch Add Files option still does not work. I still get "No new files found".

Hank

Hank1234

Solved it myself after hacknig th ecode. When upgrading from 1.3 somehow the intermediate configuration setting was either never set or blanked out. Thus function "getfoldercontent" in searchnew.php treated all files as old.