Hi,
Can someone help me with this error please:
I've changed the path line to $data_src_path = "../../../../gallery";
which is the online folder where the images are stored.
That is the ONLY thing that i've edited in the whole of the batch_import.php file
The error im getting is:
5 images in 911gt1. Importing image 1 to 5
Import category 911gt1 ...
Warning: mkdir() failed (Permission denied) in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 367
Warning: mkdir() failed (Permission denied) in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 368
OK
1. Importing image frame.htm
Warning: Unable to create './../../data/media/66/frame.htm': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/frame.htm
Skipping.....
2. Importing image left.htm
Warning: Unable to create './../../data/media/66/left.htm': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/left.htm
Skipping.....
3. Importing image photos.html
Warning: Unable to create './../../data/media/66/photos.html': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/photos.html
Skipping.....
4. Importing image right.htm
Warning: Unable to create './../../data/media/66/right.htm': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/right.htm
Skipping.....
5. Importing image top.htm
Warning: Unable to create './../../data/media/66/top.htm': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/top.htm
Skipping.....
All thats in that folder is html files
however, in the /pics folder to that one, i have a bunch of photos which i want in the gallery.
This errors:
Import category pics (Parent category: 911gt1) ...
Warning: mkdir() failed (Permission denied) in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 367
Warning: mkdir() failed (Permission denied) in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 368
OK
1. Importing image 1-133.jpg
Warning: Unable to create './../../data/media/67/1-133.jpg': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/pics/1-133.jpg
Skipping.....
2. Importing image 1-320.jpg
Warning: Unable to create './../../data/media/67/1-320.jpg': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/pics/1-320.jpg
Skipping.....
3. Importing image 1-800.jpg
Warning: Unable to create './../../data/media/67/1-800.jpg': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/pics/1-800.jpg
Skipping.....
4. Importing image 2-133.jpg
Warning: Unable to create './../../data/media/67/2-133.jpg': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/pics/2-133.jpg
Skipping.....
5. Importing image 2-320.jpg
Warning: Unable to create './../../data/media/67/2-320.jpg': No such file or directory in /home/spazstix/public_html/php/gallery/admin/plugins/batch_import.php on line 122
Copy Image: Error while copying image ../../../../gallery/911gt1/pics/2-320.jpg
Skipping.....
And its exactly the same for a dozen of these folders until it gets to the end.
It creates the folders, but obviously doesnt put the images in there.
Can anyone help me out on this?
Ive seen a few people with this 'line 122' error, but no english reply, so i've not been able to use the previous posts to this problem
Many thanks in advance
PaulC2K