Upload Form error [no safe_mode | used with phpBB2] Upload Form error [no safe_mode | used with phpBB2]
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Upload Form error [no safe_mode | used with phpBB2]

Started by MichaelWhi, May 24, 2004, 04:43:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MichaelWhi

Hello!

I just installed Coppermine 1.30 standalone and integrated it with phpBB2...
Login works, so I created albums and categories... They are displayed on the Mainpage...

But if I want to upload files (point to the "@"-sign an chose upload), an error occures:


Unallowed action while generating form [that's translated from German]
File: /opt/web9/html/forum/gallery/upload.php - Line: 931


Debug-Message:

USER:
------------------
Array
(
    [ID] => 082f8736cf085b37cbce6617ba890212
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [0] => 2
    [user_id] => 2
    [1] => MyX
    [user_name] => MyX
    [2] => 1
    [user_level] => 1
    [group_quota] => 5112
    [can_rate_pictures] => 2
    [can_send_ecards] => 2
    [can_post_comments] => 2
    [can_upload_pictures] => 2
    [can_create_albums] => 2
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
)


==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.1 - OK
------------------
mySQL version: 3.23.55-log
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 1
Active Links 2
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | /opt/empty | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /opt/empty | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/share/php | .:/usr/share/php
open_basedir | /opt/web9/ | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.616 seconds - 6 queries in 0.041 seconds - Album set :


I don't know how to solve this problem... Gallery is at: http://forum.my-x.org/gallery/ (but in German).. I can switch the language and give you an Useraccount to fix the problem oder even FTP to the Coppermine-Folder.

Thanks for your help,

Michael.

Casper

There is no support for 1.3 yet, as it is still beta.  The problem you describe was fixed some time ago.
Either update all your version 1.3 files from the cvs, or downgrade to 1.2.1 until 1.3 released as stable.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

MichaelWhi

Thanks, I'll try to get the new files from anonym.CVS!

MichaelWhi

Well, I can't get the 1.3 Version from CVS... Wanted to look for the directory via Web and its empty:
http://cvs.sourceforge.net/viewcvs.py/coppermine/cpg1.3.0/

What should I do?

Casper

Try  this, http://cvs.sourceforge.net/viewcvs.py/coppermine/devel/
If you get yourself a cvs software, such as tortoise, you can get it all in one go from the cvs with an anonymous logon.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

MichaelWhi