SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
February 08, 2012, 06:16:37 pm

Login with username, password and session length
Members
Total Members: 9898
Latest: zlmember
Stats
Total Posts: 27745
Total Topics: 4856
Online Today: 77
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 2
Guests: 65
Total: 67
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 3 Go Down Print
Author Topic: Bulk Uploading  (Read 10437 times)
max.411
Newbie
*
Offline Offline

Posts: 22


View Profile
« on: December 04, 2006, 05:17:12 pm »

I was under the impression, when I purchased this, that you would be able to bullk upload ... as in, I point at a directory filled with images, and it auto uploads them all to the Gallery. Individually entering information for each one is just not going to work for my needs.

Is this possible without the added step of uploading to an FTP site, or some other localhost-based locale? In other words, can it be made to simply allow you to browse your harddrive for the target directory?
« Last Edit: December 04, 2006, 06:02:18 pm by max.411 » Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #1 on: December 04, 2006, 06:30:18 pm »

There is that option on the main category view there is an option called "[Import Pictures]" which located under options for each category. Which allows you target a directory on the server to import the images from. For example you upload all the images the gallery/import folder then import into the gallery that you wish. Without the need of entering filename titles and descriptions.

As for of importing from a folder on your local computer that is not possible. A website is not able to access a local folder's contents which is done for security reasons since then anybody website could then be able to view the contents of files on your computer.
Logged
max.411
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #2 on: December 04, 2006, 09:00:39 pm »

Well, although I have the images in the import directory, when I press "import pictures" it tries to save index.php to disk. Which is confusing to me, since scripts should be able to execute in that directory.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #3 on: December 04, 2006, 09:13:24 pm »

Does the path exist that it is trying to read? And does it have the read permission.
Logged
max.411
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #4 on: December 04, 2006, 09:17:07 pm »

Yes and yes. It's just the import folder ... gallery and import and gallery/index.php are all marked as 777.
Logged
max.411
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #5 on: December 04, 2006, 09:25:20 pm »

Actually, I can see that it makes an attempt to grab the first two images ... and then stops.

I believe each file meets the parameters (file size and dimension) ... does it time out easily? And why does it prompt me to download the index.php file (in Firefox, haven't tried Explorer yet) at some point ... I need to determine if letting it run before cancelling out of downloading index.php will scan more than two images.
Logged
max.411
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #6 on: December 04, 2006, 09:27:36 pm »

No -- it just tries to import the first img, and then quits. I have three different versions of the same file imported, all just iterations of the first file in the import directory.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #7 on: December 04, 2006, 09:34:33 pm »

What is in the index.php when u try to save it to the disk? And do you have mod_security installed?


Intersesting. How large are files? What is the second file by filename in the directory and the stats on the file.
Logged
max.411
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #8 on: December 04, 2006, 09:41:44 pm »

It is a blank file -- now that I have renamed import to import_old and made a new 777 import dir, it takes me to a blank page after I hit "import pictures", but nothing is imported -- the blank page is brought up rather quickly.
Logged
max.411
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #9 on: December 04, 2006, 09:47:22 pm »

The blank page's address is: URL /forums/index.php?action=gallery;sa=import2

When I reload and try again, I get the loading of index.php and from the URL: URL /forums/index.php?action=gallery;sa=import;cat=5
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #10 on: December 04, 2006, 09:53:35 pm »

Its odd that it worked for the first image. What version of SMF are you running and PHP?
Logged
max.411
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #11 on: December 04, 2006, 09:56:53 pm »

SMF 1.1 ... the latest Gold version.

Also, I noticed that the bulk upload page doesn't work either. Only adding single images works. I did install lite before I installed Pro, but I uninstalled the package; is that a known issue?

And let me clarify that it does not successfully add the image to the gallery, it simply makes a copy in the gallery dir. But I don't see that image anywhere when I view my galleries through the forums, only in my FTP client.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #12 on: December 04, 2006, 09:59:14 pm »

Hmm, do you have access to your server config? It might be timing out.


I have imported 100+ pictures in under a minute from a directory on the server. I think it might be a configuration issue.
Logged
max.411
Newbie
*
Offline Offline

Posts: 22


View Profile
« Reply #13 on: December 04, 2006, 10:02:57 pm »

I have some access to my config, but not full access. Nothing about timing out is offered to me in the web portal.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9376


View Profile
« Reply #14 on: December 04, 2006, 10:07:48 pm »

I am going to look into seeing what I can readup on.
Logged
Pages: [1] 2 3 Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 06:14:06 pm]

[Today at 04:36:21 pm]

[Today at 09:56:10 am]

[Today at 09:11:02 am]

[Today at 09:07:32 am]

[Today at 03:46:49 am]

[February 07, 2012, 09:45:42 pm]

[February 07, 2012, 06:09:23 pm]

[February 07, 2012, 02:56:36 pm]

[February 06, 2012, 08:16:24 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.26 seconds with 21 queries.