1
Plugins / Re: [Plugin] Batch Import
« on: August 04, 2006, 05:11:51 PM »
Hi,
I have read all the post to try and figure out what is going wrong. Like a few people here I have the following error:
Warning: opendir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/tgmmarke/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/tgmmarke/public_html/gallery/admin/plugins/batch_import.php on line 315
Warning: opendir(/): failed to open dir: Operation not permitted in /home/tgmmarke/public_html/gallery/admin/plugins/batch_import.php on line 315
0 images in .
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; check the manual that corresponds to your MySQL server version for the right syntax to use 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 (5, '', '', , 10, 0, 0, 2, 2, 9, 0, 0, 0, 2)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 10, 0, 0, 2, 2, 9, 0, 0, 0, 2)' at line 4
FAILED
Import finished!
I saw the response from Jan about putting the image folder inside the plugin folder. I did this but I am still getting this error. Any help would be greatly appreciated.
Thanks in advance.
Aimee
I have read all the post to try and figure out what is going wrong. Like a few people here I have the following error:
Warning: opendir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/tgmmarke/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/tgmmarke/public_html/gallery/admin/plugins/batch_import.php on line 315
Warning: opendir(/): failed to open dir: Operation not permitted in /home/tgmmarke/public_html/gallery/admin/plugins/batch_import.php on line 315
0 images in .
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; check the manual that corresponds to your MySQL server version for the right syntax to use 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 (5, '', '', , 10, 0, 0, 2, 2, 9, 0, 0, 0, 2)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 10, 0, 0, 2, 2, 9, 0, 0, 0, 2)' at line 4
FAILED
Import finished!
I saw the response from Jan about putting the image folder inside the plugin folder. I did this but I am still getting this error. Any help would be greatly appreciated.
Thanks in advance.
Aimee