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 > vBGallery Support > vBGallery Import Scripts

vBGallery Import Scripts Here you will find import scripts to help convert your existing gallery to PhotoPost vBGallery.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 27th, 2009, 09:42 PM   #41 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
well if you can get a more precise error than a blank page it would help alot. It more so seems to me a path is off and the importer can not find one of its included files it needs. Thats my guess
__________________
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 May 29th, 2009, 12:36 PM   #42 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 87
Firstly where does the file go as it is not clear?
Also I am on ppp 6.21 so hope that not a problem.

I am getting this, I am hoping the exact location of the file should help:

Warning: copy(/home/****/public_html/Forum/aogallery/data/509/ALFA13.jpg) [function.copy]: failed to open stream: No such file or directory in [path]/import_photopost.php on line 242

Last edited by alfaowner; May 29th, 2009 at 12:53 PM. Reason: added some ****
alfaowner is offline   Reply With Quote
Old May 29th, 2009, 12:39 PM   #43 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Two things to look out for.

1. This script is ran from the photopost directory.

2. make sure in the import script to use the full server path to your photopost and vbgallery directories as asked and they are 777 at every level

A Copy error is usually indicative of permissions or path issues.
__________________
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 May 29th, 2009, 12:52 PM   #44 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 87
thanks, have checked and all seems ok, but us members always say that! Ill take five and check again.

To keep me from trying combinations, which ending urls would be correct?

// The Path to your PhotoPost folder on your server
$photopostpath = '/home/****/public_html/Forum/aogallery/';

// The Path to your Forums folder on your server
$vbulletinpath = '/home/****/public_html/Forum/';

// The Path to your vBGallery/files folder on your server (chmod 777)
$galleryfilespath = '/home/****/public_html/Forum/gallery/files/';

or

// The Path to your PhotoPost folder on your server
$photopostpath = '/home/****/public_html/Forum/aogallery';

// The Path to your Forums folder on your server
$vbulletinpath = '/home/****/public_html/Forum';

// The Path to your vBGallery/files folder on your server (chmod 777)
$galleryfilespath = '/home/****/public_html/Forum/gallery/files';

Thanks for you help here!
alfaowner is offline   Reply With Quote
Old May 29th, 2009, 12:58 PM   #45 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Looking at the script the paths should be without trailing slashes on the server paths so your second example would be correct.
__________________
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 May 29th, 2009, 01:38 PM   #46 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 87
OK, urls are spot on! I went ahead and imported and it has imported all the images and info and completed fine except for the 13,000 cannot write errors

Although I can see the images, in admin cp its says there are none!?

Help, any suggestions.
alfaowner is offline   Reply With Quote
Old May 29th, 2009, 01:45 PM   #47 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
You can post a link here to your site and make sure its open so we can see what you see.

write errors to me would suggest the data directory is not 777 permissions at every level under Photopost or the files themselves in vbgallery files directory are not copyable. Maybe try making sure all of them are 777

If you see images in vbgallery index then you should be fine and may need to update cat counts etc under vbgallery maintenance. If you see no images in vbgallery then most likely your permissions issue is the culprit.
__________________
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 May 29th, 2009, 02:02 PM   #48 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 87
Blimey, I updated all of the counters and it worked at treat, good bye ppp hello vbg

Top support, far superior to another company that says upload original files and reset the world before we can help you!

Thanks Chuck!
alfaowner is offline   Reply With Quote
Old May 29th, 2009, 05:02 PM   #49 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Well we still say upload original files if one has a highly hacked site I think most all companies say that in support if the site they are trying to assist is highly modified simply because most issues come down to hack conflicts etc.

Glad to assist.
__________________
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 June 24th, 2009, 05:57 PM   #50 (permalink)
Junior Member
 
Join Date: Oct 2007
Location: Charlotte, NC
Posts: 24
I've switched to vBGallery and tried once to import PP Pro files but got server errors. I've gleaned from here that I need to have the script in the PP root, not THE root and set all permissions to 777.

I have already run the vBAlbums import script which worked great. Should I back out of that and run the PP import first, then rerun the vBAlbums import or does it matter at all?
djrichards is offline   Reply With Quote
Old June 24th, 2009, 08:48 PM   #51 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
what are the errors you get?
__________________
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 June 24th, 2009, 11:48 PM   #52 (permalink)
Junior Member
 
Join Date: Oct 2007
Location: Charlotte, NC
Posts: 24
Quote:
Originally Posted by Chuck S View Post
what are the errors you get?
I get as far as:

Page 1 of 17
Clearing Images Table
Importing Images

Then I get an Internal Server Error and the database is hosed up.

The default Main Category then has the same default title but shows the description of one of my PP categories.

All previously imported images from vB Albums under Members Categories are not shown in the index but seem to be there.

Suggestions?
djrichards is offline   Reply With Quote
Old June 25th, 2009, 08:14 AM   #53 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
well have you checked your server error logs as to a more descriptive error? Internal Server Error is pretty general and the error log should show you the true error. I may be able to give a more accurate remedy with such an error.
__________________
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 June 25th, 2009, 09:14 AM   #54 (permalink)
Junior Member
 
Join Date: Oct 2007
Location: Charlotte, NC
Posts: 24
Quote:
Originally Posted by Chuck S View Post
well have you checked your server error logs as to a more descriptive error? Internal Server Error is pretty general and the error log should show you the true error. I may be able to give a more accurate remedy with such an error.
I have thousands of errors in my log. Can you tell me what sort of error I might be looking for?
djrichards is offline   Reply With Quote
Old June 25th, 2009, 12:50 PM   #55 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
well you are looking for any error that is associated with that script name.

Also what is the database error?
__________________
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 June 25th, 2009, 01:20 PM   #56 (permalink)
Junior Member
 
Join Date: Oct 2007
Location: Charlotte, NC
Posts: 24
Quote:
Originally Posted by Chuck S View Post
well you are looking for any error that is associated with that script name.

Also what is the database error?
OK. Thanks. I found several instances of this type of thing which seem to match my attempts at running the script.

Quote:
[Wed Jun 24 23:32:29 2009] [error] [client XX.XXX.XX.XXX] Premature end of script headers: import_photopost.php, referer: http://????.net/photopost/import_pho....php?do=images
[Wed Jun 24 23:32:51 2009] [error] [client XX.XXX.XX.XXX] File does not exist: /usr/home/????/public_html/forum/mkportal, referer: http://www.????.net/forum/online.php...e&pp=20&page=1
[Wed Jun 24 23:33:07 2009] [error] [client XX.XXX.XX.XXX] File does not exist: /usr/home/????/public_html/gallery/mkportal, referer: http://www.????.net/gallery/
[Wed Jun 24 23:33:13 2009] [error] [client XX.XXX.XX.XXX] File does not exist: /usr/home/????/public_html/gallery/mkportal, referer: http://www.????.net/gallery/browseimages.php?c=3
[Wed Jun 24 23:33:16 2009] [error] [client XX.XXX.XX.XXX] File does not exist: /usr/home/????/public_html/gallery/mkportal, referer: http://www.????.net/gallery/
[Wed Jun 24 23:35:25 2009] [error] [client XX.XXX.XX.XXX] File does not exist: /usr/home/????/public_html/forum/mkportal, referer: http://????.net/forum/index.php
[Wed Jun 24 23:35:28 2009] [error] [client XX.XXX.XX.XXX] File does not exist: /usr/home/????/public_html/gallery/mkportal, referer: http://www.????.net/gallery/
[Wed Jun 24 23:35:33 2009] [error] [client XX.XXX.XX.XXX] File does not exist: /usr/home/????/public_html/gallery/mkportal, referer: http://www.????.net/gallery/browseimages.php?c=3
[Wed Jun 24 23:35:50 2009] [error] [client XX.XXX.XX.XXX] File does not exist: /usr/home/????/public_html/forum/mkportal, referer: http://www.????.net/forum/login.php?do=login
I run vB wrapped inside MK Portal and it looks to be getting mixed up in things but there's no "...gallery/mkportal" folder that exists.


No database error. Just server error. It's just that the gallery portion of the db appears hosed up after running the script.
djrichards is offline   Reply With Quote
Old June 25th, 2009, 03:35 PM   #57 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Gallery directory is where photopost is installed?

You can try inserting near the top of the script this

Code:
Content visible to verified customers only.
Ugh that one error is pretty generic as well. I can only summarize your script is possibly timing out. How many images?
[/code]
__________________
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 June 30th, 2009, 09:42 PM   #58 (permalink)
Junior Member
 
Join Date: Oct 2007
Location: Charlotte, NC
Posts: 24
Quote:
Originally Posted by Chuck S View Post
Gallery directory is where photopost is installed?

You can try inserting near the top of the script this

Code:
Content visible to verified customers only.
Ugh that one error is pretty generic as well. I can only summarize your script is possibly timing out. How many images?
[/code]
"gallery" directory is where vbgallery is installed. "photopost" directory is where photopost is installed.

Just over 8,000 images in PP.

Import script was modified per your instruction and uploaded to the "photopost" directory. Retried running script after cleaning out the Vb Albums import and resetting to empty/default setup. Still having same problem.

Log reports:

Quote:
Premature end of script headers: import_photopost.php, referer: http ://????.???/photopost/import_photopost.php?do=images

Last edited by djrichards; June 30th, 2009 at 10:50 PM.
djrichards is offline   Reply With Quote
Old July 1st, 2009, 07:24 AM   #59 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Try testing this

See this line

Code:
Content visible to verified customers only.
change to

Code:
Content visible to verified customers only.
Change it to this to limit the number of images we pull and see if it runs basically something I think is overloading based on your server setup. The script is running but dieing when you get to import images.
__________________
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 July 2nd, 2009, 12:23 AM   #60 (permalink)
Junior Member
 
Join Date: Oct 2007
Location: Charlotte, NC
Posts: 24
Quote:
Originally Posted by Chuck S View Post
Try testing this
Thanks, Chuck.

The script appears to have worked with the memory limit you previously specified, the countimage limit, AND setting $per_page = '100'.

Unfortunately, it appears that a huge number of images failed to import.

The change you suggested apparently limited it to only 2000 images. How do I get them all in?

Last edited by djrichards; July 2nd, 2009 at 01:04 AM.
djrichards is offline   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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Photopost Pro and vBGallery? Darkblade Before You Buy 12 February 17th, 2008 07:46 PM
The Difference in Photopost Pro 6.0 and How Photopost Pro Differs From VBGallery sinjix General Discussion 1 September 26th, 2007 08:45 AM
From vbgallery to photopost Pro. easyskillz How Do I? - vBulletin 3.6x 1 September 6th, 2007 09:05 PM
vBGallery vs. PhotoPost Pro pgowder General Discussion 1 August 16th, 2007 09:23 AM
Photopost Pro vs VBGallery wynode General Discussion 2 May 2nd, 2006 07:46 AM


All times are GMT -5. The time now is 04:25 PM.

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