Importing photos ~ Error (ERROR_BAD_PATH)

a squared

Joined: 2006-02-07
Posts: 4
Posted: Tue, 2007-05-29 05:33

Receiving the follow errors while importing:

Quote:
Importing Photos
Latest-Scalextric-Images Dscn0033.jpg

Estimated time remaining: 17:06
Memory used: 10417188, total: 128M
Error (ERROR_BAD_PATH) : /home/slotcari/public_html/v-web/G1/albums/Latest-Scalextric-Images/Dscn0033.jpg
• in modules/core/classes/GalleryPhotoItem.class at line 99 (GalleryCoreApi::error)
• in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 148 (GalleryPhotoItem::create)
• in modules/core/classes/GalleryCoreApi.class at line 1575 (GalleryItemHelper_medium::addItemToAlbum)
• in modules/migrate/ConfirmImport.inc at line 904 (GalleryCoreApi::addItemToAlbum)
• in ??? at line 0 (ConfirmImportController::performImport)
• in modules/core/classes/GalleryTemplateAdapter.class at line 915
• in g2data/smarty/templates_c/%%1083853170/%%3A^3A8^3A818B59%%theme.tpl.php at line 93 (GalleryTemplateAdapter::trailer)
• in lib/smarty/Smarty.class.php at line 1258
• in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
• in modules/core/classes/GalleryTemplate.class at line 209 (GallerySmarty::fetch)
• in main.php at line 473 (GalleryTemplate::display)
• in main.php at line 94
• in main.php at line 83

Quote:
Importing Photos
Dr-Vanskis-rides IMGP2427.jpg

Estimated time remaining: 7:28
Memory used: 16720016, total: 128M
Error (ERROR_BAD_PATH) : /home/slotcari/public_html/v-web/G1/albums/Dr-Vanskis-rides/IMGP2427.jpg
• in modules/core/classes/GalleryPhotoItem.class at line 99 (GalleryCoreApi::error)
• in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 148 (GalleryPhotoItem::create)
• in modules/core/classes/GalleryCoreApi.class at line 1575 (GalleryItemHelper_medium::addItemToAlbum)
• in modules/migrate/ConfirmImport.inc at line 904 (GalleryCoreApi::addItemToAlbum)
• in ??? at line 0 (ConfirmImportController::performImport)
• in modules/core/classes/GalleryTemplateAdapter.class at line 915
• in g2data/smarty/templates_c/%%1083853170/%%3A^3A8^3A818B59%%theme.tpl.php at line 93 (GalleryTemplateAdapter::trailer)
• in lib/smarty/Smarty.class.php at line 1258
• in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
• in modules/core/classes/GalleryTemplate.class at line 209 (GallerySmarty::fetch)
• in main.php at line 473 (GalleryTemplate::display)
• in main.php at line 94
• in main.php at line 83

Quote:
Importing Photos
Speed-World-Challenge Mercedes_c230.jpg

Estimated time remaining: 0:44
Memory used: 11660652, total: 128M
Error (ERROR_BAD_PATH) : /home/slotcari/public_html/v-web/G1/albums/Speed-World-Challenge/Mercedes_c230.jpg
• in modules/core/classes/GalleryPhotoItem.class at line 99 (GalleryCoreApi::error)
• in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 148 (GalleryPhotoItem::create)
• in modules/core/classes/GalleryCoreApi.class at line 1575 (GalleryItemHelper_medium::addItemToAlbum)
• in modules/migrate/ConfirmImport.inc at line 904 (GalleryCoreApi::addItemToAlbum)
• in ??? at line 0 (ConfirmImportController::performImport)
• in modules/core/classes/GalleryTemplateAdapter.class at line 915
• in g2data/smarty/templates_c/%%1083853170/%%3A^3A8^3A818B59%%theme.tpl.php at line 93 (GalleryTemplateAdapter::trailer)
• in lib/smarty/Smarty.class.php at line 1258
• in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
• in modules/core/classes/GalleryTemplate.class at line 209 (GallerySmarty::fetch)
• in main.php at line 473 (GalleryTemplate::display)
• in main.php at line 94
• in main.php at line 83


G2 URL (optional): http://207.58.189.86/~slotcari/v-web/gallery/main.php
G2 version: 2.2.1
G1 URL (optional): http://slotcarillustrated.com/v-web/gallery/albums.php
G1 version: 1.5.6
G1 character set: UTF8
PHP memory limit: 128
--
PHP version: 5.2.1
PHPInfo Link (see FAQ):
Webserver: Apache 1.3.37
Database MySql: 5.0.27
Activated toolkits: NetPbm, GD
Operating system: Linux
Browser: Firefox 2.0.0.3

I'm really hoping that it's something easy and stupid. :D

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-05-29 08:34

the errors mean that the files don't exist:
- /home/slotcari/public_html/v-web/G1/albums/Latest-Scalextric-Images/Dscn0033.jpg doesn't exist
- /home/slotcari/public_html/v-web/G1/albums/Dr-Vanskis-rides/IMGP2427.jpg doesn't exist
- /home/slotcari/public_html/v-web/G1/albums/Speed-World-Challenge/Mercedes_c230.jpg doesn't exist

you should check your g1 integrity before importing any data to g2.
it seems your g1 albums.dat / album.dat files are out of sync' with your actual g1 files.
see: documentation -> installation -> migrate from g1 -> preparation

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
a squared

Joined: 2006-02-07
Posts: 4
Posted: Tue, 2007-05-29 10:04

I did, not once but twice. In fact, I just ran it again and it came up clean. Did a quick search for the missing files too the results:

In the wrong place but existing, http://slotcarillustrated.com/v-web/gallery/SCI-Slot-Car-Images-2006/Dscn0033

Right where it should be, http://slotcarillustrated.com/v-web/gallery/Dr-Vanskis-rides/IMGP2427

Mercedes_c230.jpg - No Album Matches, No Photo Matches