• [PLUGIN] Batch Import From ZIP Files 5 0 5 1
Currently:  

Author Topic: [PLUGIN] Batch Import From ZIP Files  (Read 218259 times)

0 Members and 2 Guests are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[PLUGIN] Batch Import From ZIP Files
« Reply #45 on: June 09, 2003, 12:32:01 PM »
Quote from: bruceho
but now it shows "Abort pclzip.lib.php : Missing zlib extensions"
what can i do???

read installation guide again.
did u download pclzip class? did u place it into the right dir?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bruceho

  • Pre-Newbie
  • Posts: 3
    • View Profile
[PLUGIN] Batch Import From ZIP Files
« Reply #46 on: June 12, 2003, 06:33:51 AM »
yap,i did downlaod it.
but how can i install it?
or just need to place to a specify path?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[PLUGIN] Batch Import From ZIP Files
« Reply #47 on: June 12, 2003, 06:35:59 AM »
Quote from: bruceho
or just need to place to a specify path?

yes, all u need is place it into dir that installation sais ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bruceho

  • Pre-Newbie
  • Posts: 3
    • View Profile
[PLUGIN] Batch Import From ZIP Files
« Reply #48 on: June 12, 2003, 11:04:27 AM »
o..i just placed the pclzip.lib.php to /home/photobruce/4images/admin/plugins/batch_zip_import
but that error message still appear

Offline ruudvroon

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • AFTERTHEPARTY.NL
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #49 on: May 04, 2005, 01:10:18 PM »
I'm using the phpbb intergration and I get a DB Error and he can't find any users

Offline dipunm

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • london academy yearbook
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #50 on: August 16, 2005, 02:08:47 PM »
My mod can upload into existing categories by extracting into the category folder and using the checknewimages script (i made a copy of it edited it to allow normal users to use it). everything is automatic so then user cant mess anything up but I'm not at all a good at php so i used the checkandgo (all in one) mod to check the images and thumbnail them etc. also, i used the multiupload mod to make an upload form so that it looks like part of the website but the rest of it (the parts i wrote myself rather than editing) just has a white background... if you could look at my mod and make it better, and add your own features, I would be happy to use it. :mrgreen:

link: http://www.4homepages.de/forum/index.php?topic=8994.0

Offline @rtur

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #51 on: August 20, 2005, 11:04:58 AM »
Quote
Warning: opendir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/other) in /usr/home/other/artur/public_html/d/galeria/admin/plugins/batch_zip_import.php on line 453

Warning: opendir(/): failed to open dir: Operation not permitted in /usr/home/other/artur/public_html/d/galeria/admin/plugins/batch_zip_import.php on line 453

0 images in .

Import category ...
DB Error: Bad SQL Query: SELECT cat_order FROM 4images171_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 4images171_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 (32, '', '', , 10, 0, 0, 2, 2, 9, 0, 0, 0, 0)
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, 0)' at line 4
FAILED


Import finished!
Artur

Sorry for my bad English

Offline mafa1999

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #52 on: October 28, 2005, 12:00:12 PM »
Hallo!

Respekt! Der MOD funktioniert bei mir hervoragend.
So etwas habe ich schon lange gesucht.

Ich nehme ein zip, lasse anschließend den Image-Resizer und den Thumbnail-gernerator drüber laufen - fertig.

Jetzt noch ein Wunsch:

Wäre es nicht möglich, beim Entpacken der Dateien die "Original-Dateien" für den späteren Download in z.B. media/Fotos/{cat_id}... (einem extra Vereichnis) zu speichern und automatisch in den "Bild-Download-pfad" zu speichern.

So könnte ich die Fotos zum download anbieten - alles automatisch.

Danke und macht weiter so.

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.420
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #53 on: October 28, 2005, 01:14:23 PM »
http://www.4homepages.de/forum/index.php?topic=4754.0

Quote
backup original images somewhere else on the server (usefull if watermark used for both original (in "big" folder) and resized image)

Wäre das nicht was für dich?

Offline kaze

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #54 on: November 01, 2005, 06:46:31 PM »
I get the same error message as Arthur! -_____-

Warning: opendir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/www/doc/8398:/usr/local/lib/php:/usr/phpbin) in /home/www/doc/8398/systemnetworkz.net/www/inuyasha/4images/admin/plugins/batch_zip_import.php on line 453

Warning: opendir(/): failed to open dir: Operation not permitted in /home/www/doc/8398/systemnetworkz.net/www/inuyasha/4images/admin/plugins/batch_zip_import.php on line 453

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 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 (72, '', '', , 10, 0, 0, 2, 2, 9, 0, 0, 0, 0)
You have an error in your SQL syntax near ' 10, 0, 0, 2, 2, 9, 0, 0, 0, 0)' at line 4
FAILED


Import finished!


Does anybody know why I'm getting those messages? I really have to know, plkease. I got over 4000 pictures to upload >_<

Cheers
Kaze

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #55 on: November 02, 2005, 01:07:39 AM »
Quote from: V@no
[KNOWN BUGS]
-----------------------------------------------
U can not have ANY files in the root of your .zip archive
All importing files MUST be located inside a folder in the .zip file.
e.i.
This archive tree is wrong:

/summer.jpg
/winter.jpg
/thumbnails/summer.jpg
/thumbnails/winter.jpg


This archive tree is correct:

/seasons/summer.jpg
/seasons/winter.jpg
/seasons/thumbnails/summer.jpg
/seasons/thumbnails/winter.jpg
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline thatisme

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #56 on: December 09, 2005, 05:17:09 AM »
i just want to say Hands down the greatest mod i have put on my 4images gallery. Saves insane ammounts of time when uploading images to your own gallery

vulcano2060

  • Guest
Can't get into "Batch Zip Import"!
« Reply #57 on: January 03, 2006, 08:42:41 PM »
Hi, I've been using BZI for almost a year now, with no problems at all, but lately I can't access BZI from the admin section. The following errors are shown:

Code: [Select]
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /home/elxekcom/public_html/fotos/admin/plugins/batch_zip_import.php on line 29

Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/elxekcom/public_html/fotos/admin/plugins/batch_zip_import.php on line 29

I don't know why, I haven't changed the files or anything for this errors to happen.
I tried downloading BZI and Pclzip again and reuploading them with no success, same errors.

How can I fix this?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #58 on: January 04, 2006, 12:59:25 AM »
Replace
Code: [Select]
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
define('ROOT_PATH', $root_path);
with:
Code: [Select]
define('ROOT_PATH', "./../../");
P.S. I've updated the file as well.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline darkwarlord

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [PLUGIN] Batch Import From ZIP Files
« Reply #59 on: April 12, 2006, 08:57:17 AM »
bump.

this is a sweet plugin.

now if only there was a "mass-move" from the check boxes, when in the edit pics

 

Post your comments here