coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: arminbuc on July 19, 2006, 10:45:26 AM

Title: no-look batching
Post by: arminbuc on July 19, 2006, 10:45:26 AM
Hello Guys,
first of all I want to say thank you for this great piece of software. I have no real problem with the upload-tool but I want to do a very special thing and don't know really where to find the right place to add or change the original code.

At the beginning I'd like to explain what I want to do and of course why (there is no other way;). I developed a AugmentedReality-Application which I can use to manipulate Images that are uploaded by users. This works fine on an apache server over a PERL Script. I save the resulting point in a freely definable  directory and...

...want this image to be stored in a gallery. I've choosen Coppermine because it's very clean and nice coded, but I'm sadly no PHP Expert. The problem is that I want the resulting Images to be stored with just calling a script without dialog. I started to change the batch-uploading searchnew.php but couldn' really understand some points:


I know my problem has nothing to do with bugs in Coppermine and maybe nobody is interested in an unsafe uploading "feature" but I am really helpless and maybe somebody knows the places where I have to add my code snippets.

Thanks for reading. I hope my english didn't hurt any native speaker;)

So long
Armin
Title: Re: no-look batching
Post by: Abbas Ali on July 19, 2006, 10:57:23 AM
http://forum.coppermine-gallery.net/index.php?topic=13949.0
http://cpg-contrib.org/board/index.php?topic=123.0
Title: Re: no-look batching
Post by: arminbuc on July 19, 2006, 01:25:55 PM
Thanks a lot for your reply.

It seems like the CPGMassimport-Plugin solves my problem, if I only could get it working. I installed the plugin correctly over the pluginmgr, uploaded some pics into a new subdirectory in 'albums', didn't change the configuration.php (because I don't know what to enter, so I let it be) and then called the import.php.

The call of the import.php resulted in an error message:

WARNING: require(include/init.inc.php) [funtion.require]: failed to open stream: No such file or directory in C:\Programme\xampp\htdocs\coppermine\plugins\CPGMassImport\import.php on line 15

FATAL ERROR: require() [function.require]: Failed opening required 'include/init.inc.php' (include_path='.;C:\Programme\xampp\php\pear\') in C:\Programme\xampp\htdocs\coppermine\plugins\CPGMassImport\import.php on line 15

Code line 5 in import.php looks like that
require('include/init.inc.php')

I tried to fix it with:

Does anybody know how to solve this problem?  Do you need more information about my system?

Thanks
Armin
Title: Re: no-look batching
Post by: Abbas Ali on July 19, 2006, 01:30:55 PM
Better post the issue in the thread which deals with that plugin.