Whenever I try to use Upload Files (using my admin account), I get this error:
Invalid action for form creation.
What is the problem?
using my clairvoyant abilities to solve this mysterious case: hmmmmmmmm.
Sorry, no use; can't get through. ;) You'll have to use the usual way and post alink and test user account (non-admin) with upload privileges...
GauGau
Username: Siegfried Guenter
Password: 1000
Link:
www.evermoreforums.com/gallery/index.php
The CPG is integrated with vB3, so I'm wondering if that might be a cause...
login isn't working for me - after loging in to your bbs with the username and password you posted I am still not logged into coppermine. Are you sure you have set up integration correctly?
GauGau
Hmmm...it works for me...
Login to:
http://www.evermoreforums.com/forums/index.php
then go to:
http://www.evermoreforums.com/gallery/index.php
It shows it as logged on when I do it...
hm; i was finally able to be logged in and I can see what you mean. Enable debug_mode in coppermine config (for everyone) to see what actually happens.
GauGau
How do I set it in debug mode?
rtfm, or search the board.
GauGau
Here is the Debug info from that page:
USER:
------------------
Array
(
[ID] => 8340bfb049bda94abc0768db8aca5598
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
- => 8
[user_id] => 8
[1] => Lancet Jades
[user_name] => Lancet Jades
[2] => 6
[mgroup] => 6
[3] => 960886ac80af023aa2d8b4be8dc99739
[password] => 960886ac80af023aa2d8b4be8dc99739
[4] => 6
[group_id] => 6
[5] => Administrators
[group_name] => Administrators
[6] => 50000
[group_quota] => 50000
[7] => 0
[has_admin_access] => 0
[8] => 0
[can_rate_pictures] => 0
[9] => 0
[can_send_ecards] => 0
[10] => 0
[can_post_comments] => 0
[11] => 1
[can_upload_pictures] => 1
[12] => 1
[can_create_albums] => 1
[13] => 0
[pub_upl_need_approval] => 0
[14] => 0
[priv_upl_need_approval] => 0
[15] => 0
[upload_form_config] => 0
[16] => 0
[custom_user_upload] => 0
[17] => 5
[num_file_upload] => 5
[18] => 3
[num_URI_upload] => 3
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg132_filetypes;
[1] => SELECT userid as user_id, username as user_name, usergroupid as mgroup, password FROM `lancetjades`.user WHERE userid='8'
[2] => SELECT * FROM cpg132_usergroups WHERE group_id = '6'
[3] => DELETE FROM cpg132_banned WHERE expiry < 1093247408
[4] => SELECT * FROM cpg132_banned WHERE ip_addr='64.136.26.228' OR ip_addr='67.243.254.17, 64.136.26.80' OR user_id=8
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.8 - OK
------------------
mySQL version: 4.0.18-log
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.23 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 4.0.20
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .: | .:
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/local/sbin/sendmail -t -i | /usr/local/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 15 | 15
max_input_time | 60 | 60
upload_max_filesize | 10M | 10M
post_max_size | 8M | 8M
==========================
Page generated in 0.078 seconds - 5 queries in 0.002 seconds - Album set :
don't post the debug_ouput, but the actual error message.
GauGau
The error message is the same as before, except now it says what line the error message originated on. I checked it, and its just the line that produces the error message...
Invalid action for form creation.
File: /home/u2/lancetjades/html/gallery/upload.php - Line: 963
Please post your bridge file version (open bridge/yourbridgefile.php with a text editor and post the first lines (the file header) - it shoould look similar to this one:
Quote<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2 //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR //
// http://www.chezgreg.net/coppermine/ //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team //
// (http://coppermine.sf.net/team/) //
// see /docs/credits.html for details //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// ------------------------------------------------------------------------- //
// CVS version: $Id: vbulletin30.inc.php,v 1.6 2004/07/24 15:04:10 gaugau Exp $
// ------------------------------------------------------------------------- //
// Modified for vB3 by Nanobot at www.f5hosting.com //
// ------------------------------------------------------------------------- //
// vBulletin 3.0 Integration for Coppermine //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation //
// ------------------------------------------------------------------------- //
// database configuration
Use the versioncheck.php tool to take a look at your file versions - maybe you haven't uploaded all necessary files when upgrading.
GauGau
Quote<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2 //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR //
// http://www.chezgreg.net/coppermine/ //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team //
// (http://coppermine.sf.net/team/) //
// see /docs/credits.html for details //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// ------------------------------------------------------------------------- //
// CVS version: $Id: vbulletin30.inc.php,v 1.6 2004/07/24 15:04:10 gaugau Exp $
// ------------------------------------------------------------------------- //
// Modified for vB3 by Nanobot at www.f5hosting.com //
// ------------------------------------------------------------------------- //
// vBulletin 3.0 Integration for Coppermine //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation //
// ------------------------------------------------------------------------- //
// database configuration
There it is...the version is the same as the one i installed. 1.3.2.
So...what else do I need to do?
take a look at versioncheck.php and post the output (screenshot) here.
Joachim
It tells me i don't have permission to access the page.
You don't have permission to access this page.
File: /home/u2/lancetjades/html/gallery/versioncheck.php - Line: 24
well, what type of answer do you excpect? Of course the php script needs access (at least read and execute, write permissions for the subfolders "albums" and "include") to all files within the coppermine folder. Set your permissions accordingly (using CHMOD).
Joachim