PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 28th, 2004, 07:35 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 41
Bulk Import in 4.8.5

Hi,

I upgraded to 4.8.5 and have a bit of a problem with the bulk upload. Currently if I upload files via ftp in a sub folder of my user upload folder, such as uploads/1/newpics, I try to import from that folder, I get a message that there are no more photos found. But at that point I haven't imported any. If I upload the photos straight into uploads/1/, it works fine, but any folders within uploads/1/ don't seem to work. I've played around with file permissions and everything but just can't seem to get it to work at all.

I'm running on Linux, RHE3, and it's a dedicated server. I have the latest php and mysql installed, and with version 4.8.2 I didn't have this issue. I can provide admin access if it is needed. Any help is much appreciated. Thanks for your time.
bajabob is offline   Reply With Quote
Old December 28th, 2004, 10:17 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Move this line from line 109 in bulkupload to approx 113

$filein = "{$inpath}/$realname";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 28th, 2004, 10:56 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 41
Thanks for the help. Unfortunately it still doesn't seem to work for me though. I still get the same message after I changed it how you said. I changed

if ( $handle = opendir( $openpath ) ) {
while ( $realname = readdir( $handle ) ) {
$filein = "{$inpath}/$realname";

if ( $realname != "." && $realname != ".." && is_file($filein) ) {
$title = $deftitle;
$desc = $defdesc;

to

if ( $handle = opendir( $openpath ) ) {
while ( $realname = readdir( $handle ) ) {

if ( $realname != "." && $realname != ".." && is_file($filein) ) {
$title = $deftitle;
$desc = $defdesc;
$filein = "{$inpath}/$realname";


Thanks again for your help.
bajabob is offline   Reply With Quote
Old December 29th, 2004, 07:40 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
if ( $handle = opendir( $openpath ) ) {
while ( $realname = readdir( $handle ) ) {


if ( $realname != "." && $realname != ".." && is_file($filein) ) {
$title = $deftitle;
$desc = $defdesc;

$filein = "{$inpath}/$realname";


YES THAT LOOKS RIGHT AND IT WORKS FINE. Before with the line above you could not descend down past the first numeric directory now you can or at least I can with the change.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 29th, 2004, 08:56 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 41
Hmmm...it still doesn't seem to work for me. Even when I delete the entire location of where the files should be located, it still manages to see the files in my uploads/1/ directory. It's almost like it doesn't pay attention to what I place in the "Files should already be in" location.

I downloaded the latest version again and made that changed, checking it over to make sure I did it correctly and no matter what I do I can't get it to read the files from a sub directory, or anyone elses directory besides mine. I have 3 files in my "uploads/1" directory and then 4 in the subdirectory. When I specify the sub directory, it will show the 3 files from my main area still, but none of the files from the sub directory. I also placed files in another user's directory and tried to import from there and was unsuccessful. I've tried it on two sites now, one an upgrade and one a new install, and neither seem to work for me. Would you mind if I pm'd you admin login info for one of the sites so you could have a look at it sometime? Thanks for your help...
bajabob is offline   Reply With Quote
Old December 29th, 2004, 09:49 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
You can PM login
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Coppermine Import Brian vBGallery Import Scripts 78 February 18th, 2006 06:17 AM
Import from Attachments Wayne Luke Before You Buy 1 August 23rd, 2005 09:51 AM
Import script PtP How Do I? - vBulletin 3.0.X 3 July 16th, 2005 11:38 PM
Photopost Import? iphoto How Do I? - vBulletin 3.0.X 1 February 20th, 2005 10:29 AM


All times are GMT -5. The time now is 09:06 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0