Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Philip L.

Pages: [1]
1
Plugins / [Plugin] Batch Import
« on: February 20, 2003, 07:06:16 PM »
Hi,

I have tried the version 1.7 and I find it very good.

I am using it for my college where my class can post their pictures from different college trips.

I wanted to use the Batch import script but it doesn't work and it just chucks a lot of error messages out.
Also it is not reading the images the correct folder.

The folder which I am using where the images are stored for the script is in the plugins folder and is called "batch_upload_files".

Here are the errors the script prints out when I try and use it:

5 images in . Importing image 1 to 5

Import category ...
DB Error: Bad SQL Query: SELECT cat_order FROM paristrip_4i_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 paristrip_4i_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 (5, '', '', , 10, 0, 0, 2, 2, 9, 0, 0, 0, 2)
You have an error in your SQL syntax near ' 10, 0, 0, 2, 2, 9, 0, 0, 0, 2)' at line 4
FAILED

1. Importing image im.tgz

Warning: Unable to create './../../data/media/5/im.tgz': No such file or directory in /path/to/batch_import.php on line 122
Copy Image: Error while copying image /im.tgz
Skipping.....

2. Importing image libupdate.tgz

Warning: Unable to create './../../data/media/5/libupdate.tgz': No such file or directory in /path/to/batch_import.php on line 122
Copy Image: Error while copying image /libupdate.tgz
Skipping.....

3. Importing image php.neu

Warning: Unable to create './../../data/media/5/php.neu': No such file or directory in /path/to/batch_import.php on line 122
Copy Image: Error while copying image /php.neu
Skipping.....

4. Importing image phpup.tgz

Warning: Unable to create './../../data/media/5/phpup.tgz': No such file or directory in /path/to/batch_import.php on line 122
Copy Image: Error while copying image /phpup.tgz
Skipping.....

5. Importing image ruby.tgz

Warning: Unable to create './../../data/media/5/ruby.tgz': No such file or directory in /path/to/batch_import.php on line 122
Copy Image: Error while copying image /ruby.tgz
Skipping.....


Import finished!



Also the script is reading "5" images but there are only "2" images in the folder.

Can you please help me.
I need this to be working because I am not very happy on uploading 300 and more pictures manually.


Philip L.

Pages: [1]