 | |  | | | vBGallery Import Scripts Here you will find import scripts to help convert your existing gallery to PhotoPost vBGallery. |
May 27th, 2009, 09:42 PM
|
#41 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
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
|
| |
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 ****
|
| |
May 29th, 2009, 12:39 PM
|
#43 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
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.
|
| |
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!
|
| |
May 29th, 2009, 12:58 PM
|
#45 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
Looking at the script the paths should be without trailing slashes on the server paths so your second example would be correct.
|
| |
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.
|
| |
May 29th, 2009, 01:45 PM
|
#47 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
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.
|
| |
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!
|
| |
May 29th, 2009, 05:02 PM
|
#49 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
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.
|
| |
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?
|
| |
June 24th, 2009, 08:48 PM
|
#51 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
what are the errors you get?
|
| |
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 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?
|
| |
June 25th, 2009, 08:14 AM
|
#53 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
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.
|
| |
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 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?
|
| |
June 25th, 2009, 12:50 PM
|
#55 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
well you are looking for any error that is associated with that script name.
Also what is the database error?
|
| |
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 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. 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.
|
| |
June 25th, 2009, 03:35 PM
|
#57 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
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]
|
| |
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 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.
|
| |
July 1st, 2009, 07:24 AM
|
#59 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,659
|
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.
|
| |
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 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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:16 PM. | |