coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1d PHPnuke Support (deprecated) => Topic started by: cityhunter on November 18, 2003, 12:42:23 PM

Title: Can't Batch-Upload - Jumps to index.html
Post by: cityhunter on November 18, 2003, 12:42:23 PM
Hello,
got a problem with the Batch-Upload.
I searched the Board, but couldn't get an answer to my Problem.
You CAN upload a single Picture with the normal upload function.
I'm using a VKP based on PHPNuke 5.5 and GD image 1.6.xx (which i dont want to change...:) ) and Coppermine 1.1D.
The tables in mysql are left by its standard (cpg_).
I get an notice :"Notice: Undefined index: a_status in /home/t/mysite.com/public_html/mainfile.php on line 175
Notice: Undefined index: a_status in /home/t/mysite.com/public_html/mainfile.php on line 181"
ONLY if iam logged in as ADMIN.If this has nothing to do with the Batch-Problem then its not important to me...
All the files that i want to Batch-Upload are proper .jpg files and the permissions are set correctly as far as i know. (i tried with 666 and 644).

Now when i start a Batch-upload i can see the correct content of the directory. The Thumbnails on the right are corrupted (again i dont really care about that, when its not related to the REAL problem), and can't be shown. So i can choose which pictures i want to upload to the gallery.
If i confirm with the button below, the only thing that happen is it tries to call a URL like www.mysite.xxx/index.html which isn't possible of course.
And that's it. No picture added.
I really need this function, i have to upload hundreds of Photos a month permanently.

Please help me... :cry:
Title: Please...Help...
Post by: cityhunter on November 20, 2003, 07:48:34 AM
Can somebody help ?
It is really important...Please... :cry:
Title: Re: Can't Batch-Upload - Jumps to index.html
Post by: sengsara on November 20, 2003, 08:15:16 AM
Quote from: "cityhunter"I'm using a VKP based on PHPNuke 5.5 and GD image 1.6.xx (which i dont want to change...:) ) and Coppermine 1.1D.
How different is it with PHPNuke 5.5?
Any links?
Title: VKP5.5
Post by: cityhunter on November 20, 2003, 09:11:18 AM
Well, it is improved with some special functions, but based up on a standard poor Nuke install...so no special modules. Its a security vkp i think.
The user-problem is solved from the author, he changed the vkp to make it more compatible to coppermine.

OK...even the Thumbnails on right work now (when i log in as an User and not only ADMIN from nuke...)

But when i start the Batch...nothing...tries to call index.html in the main dir.
Title: Can't Batch-Upload - Jumps to index.html
Post by: sengsara on November 20, 2003, 11:21:16 AM
No links?

Sigi (http://forum.coppermine-gallery.net/profile.php?mode=viewprofile&u=63) is using a VKP thing I believe. But now he's upgrading to CPG-1.2.0-Nuke and I haven't seen him for a while now.
Title: Ok...
Post by: cityhunter on November 20, 2003, 01:59:08 PM
This is the Link of the author of this VKP.
http://www.phpnuke-vkp.de/index.html

I dont want to put my url in Public now cause its still a closed site, fo security reasons.
Do you need my Url ? i send it via pm...

Ok...and i got a second problem...i cant edit a USER.
All of the nuke-registered Users are set to anonymous.
When i try to change it to "registered" coppermine comes up with a Bunch of Errors:

---

There was an error while processing a database query.

While executing query "UPDATE nuke_users SET uname           = 'xmen', email          = '', user_active_cp    = 'YES', user_group_cp           = '2', user_from  = '', user_interests = '', user_website          = '', user_occ= '' WHERE uid = '8'"

mySQL error: Unknown column 'user_interests' in 'field list'

... [Userproblem solved: added the required tables to nuke_users instead of the installation cpg_users...what a mess]

It really doesnt look so good.
I wished coppermine would create a own table for the necessary additional User-Infos instead of using the nuke table for this...

But i still have the Batch-Upload problem...
Title: Thanks...but...
Post by: cityhunter on November 20, 2003, 03:12:58 PM
Ok...
i looked over and over again, but it seems i had to change anything on the VKP to get it work...
The Userprblem is NOT solved...the vKP isnt able to add new one...
So...will try the standalone-version.
I will think about a nice reason why users must register twice (yeah well copyright might be good enugh :) )

Anyone know how to integrate the Standalone Version into PHPnuke to show as a Block or something like that ?
No function...only to show with my header , left blocks and footer...

Thanks
Title: Can't Batch-Upload - Jumps to index.html
Post by: DJMaze on November 20, 2003, 06:55:06 PM
Can you please test the Coppermine 1.2 release for phpNuke 5.5-6.0 from this topic of mine:
http://forum.coppermine-gallery.net/index.php?topic=1478

It has a lot of bugfixes, aprovements and more security, also the 1.1D security bug isn't in there.

delete the old cpg_ tables and the last 4 fields which were added to your nuke_users database.
Upload the zip and run modules/coppermine/install.php

We could help with any problems with that TEST version.
If it works you can always upgrade to the latest releases :D

Place any comments/bugs in above mentioned topic
Title: Can't Batch-Upload - Jumps to index.html
Post by: cityhunter on November 21, 2003, 07:09:38 AM
Quote from: "DJMaze"Can you please test the Coppermine 1.2 release for phpNuke 5.5-6.0 from this topic of mine:
http://forum.coppermine-gallery.net/index.php?topic=1478

It has a lot of bugfixes, aprovements and more security, also the 1.1D security bug isn't in there.

delete the old cpg_ tables and the last 4 fields which were added to your nuke_users database.
Upload the zip and run modules/coppermine/install.php

We could help with any problems with that TEST version.
If it works you can always upgrade to the latest releases :D

Place any comments/bugs in above mentioned topic

Do this version add something to nuke_users or other nuke_ tables ?
If so, my VKP wont work again...how about it ?
Title: Can't Batch-Upload - Jumps to index.html
Post by: DJMaze on November 21, 2003, 09:47:32 AM
Coppermine needs 4 extra fields at the end of the nuke_users table.

And why won't it work again then ?
Title: dont know why...but its true
Post by: cityhunter on November 21, 2003, 08:29:08 PM
i figured out, that, when i add new tables to nuke_users, no new user account can be created via the REGISTER Link.
Dont ask why...i checked it over and over again.
Title: Can't Batch-Upload - Jumps to index.html
Post by: DJMaze on November 21, 2003, 09:40:22 PM
probably the SQL query that does "INSERT INTO nuke_users VALUES(bla, bla, etc.)";
is the problem.

track it down and add at the end ", 2, YES, NULL, NULL"