Every time I try to import images I get these errors. Has anyone else had this problem? if so could you please provide some guidance. Thank you.
My config:
$data_src_path = "/var/www/html/photo/album/admin/plugins";
everything else is default.
What I have tried:
changing the directory for batch import to several different locations
verification of path for batch import. Using external php file provided by Jan.
-changing permissions
-verfied database fields
Import category ...
DB Error: Bad SQL Query: SELECT cat_order FROM 4images_categories WHERE cat_parent_id = ORDER BY cat_order DESC LIMIT 1
You have an error in your SQL syntax near 'ORDER BY cat_order DESC LIMIT 1' at line 4
DB Error: Bad SQL Query: INSERT INTO 4images_categories (cat_id, cat_name, cat_description, cat_parent_id, cat_order, auth_viewcat, auth_viewimage, auth_download, auth_upload, auth_directupload, auth_vote, auth_sendpostcard, auth_readcomment, auth_postcomment) VALUES (134, '', '', , 10, 3, 3, 3, 3, 3, 3, 3, 3, 9)
You have an error in your SQL syntax near ' 10, 3, 3, 3, 3, 3, 3, 3, 3, 9)' at line 4
FAILED
1. Importing image .autofsck
Warning: Unable to create './../../data/media/134/.autofsck': No such file or directory in /home/photo/photo/album/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image /.autofsck
Skipping.....
2. Importing image .memdump
Warning: Unable to create './../../data/media/134/.memdump': No such file or directory in /home/photo/photo/album/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image /.memdump
Skipping.....
3. Importing image core
Warning: Unable to open '/core' for reading: Permission denied in /home/photo/photo/album/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image /core
Skipping.....
Import finished!
Thanks again for any help.
Hmmm ..... Maybe I missed something.
In order for this to work you have to upload a full directory with the images contained within that directory. -- Even better.
I was uploading just the images.
I will leave this post up in the event someone else has this same problem.