Hi,
Since I added 2 customfields, I'm not able to use the Upload Approval. I get the 'well kwown' Invalid action for form creation error'.
Is there something additional I have to change in the editpics.php-file?
Thx,
B
Could you please specify the exact text of the custom fields you are using?
I added 2 extra customfields (total is 6, but 5 used):
Aircraft Type
Operator / Airline
Location / Airport
Registration
Discuss this picture at
All works fine, except Upload Approval
Thank You
You need to add info about the fields you added into the $data array in editpics.php
$data = array(
array($lang_editpics_php['pic_info'], '', 3),
array($lang_editpics_php['album'], 'aid', 1),
array($lang_editpics_php['title'], 'title', 0, 255),
array($captionLabel, 'caption', 2, $CONFIG['max_img_desc_length']),
array($lang_editpics_php['keywords'], 'keywords', 0, 255),
array($CONFIG['user_field1_name'], 'user1', 0, 255),
array($CONFIG['user_field2_name'], 'user2', 0, 255),
array($CONFIG['user_field3_name'], 'user3', 0, 255),
array($CONFIG['user_field4_name'], 'user4', 0, 255),
array('', '', 4)
);
Quote from: Nibbler on October 06, 2005, 04:50:16 PM
You need to add info about the fields you added into the $data array in editpics.php
These changes were already made when modifying ;)
Can you post your changes ?
All changes mentioned in http://forum.coppermine-gallery.net/index.php?topic=7803.0 were made
If you made the changes correctly then it would be working :). Please post or attach your actual code.
see attach ;)
Find:
array('', '', 6)
Put that back to
array('', '', 4)
No reason to change that line atall.
aaah, damn ..... I'm sorry for wasting your time :-[
I've been looking over and over ...
Thank You very much, Topic can be closed now ...