Hi, I have recently scwitched from IPB to SMF (thank god ;D )
http://ofbboard.com/ofbforum/index.php
The bridging has worked fine, up to a point ??? Users can open the gallerys view pictures etc, but cannot upload, nor can I as admin either :-\\
error message
Quote
Invalid action for form creation.
File: /home/ofbboar/public_html/Coppermine/upload.php - Line: 963
Notice: Use of undefined constant CUSTOMIZE_UPLOAD_FORM - assumed 'CUSTOMIZE_UPLOAD_FORM' in /home/ofbboar/public_html/Coppermine/upload.php on line 31
Notice: Use of undefined constant USER_UPLOAD_FORM - assumed 'USER_UPLOAD_FORM' in /home/ofbboar/public_html/Coppermine/upload.php on line 32
Notice: Use of undefined constant NUM_URI_BOXES - assumed 'NUM_URI_BOXES' in /home/ofbboar/public_html/Coppermine/upload.php on line 33
Notice: Use of undefined constant NUM_FILE_BOXES - assumed 'NUM_FILE_BOXES' in /home/ofbboar/public_html/Coppermine/upload.php on line 34
Notice: Use of undefined constant CUSTOMIZE_UPLOAD_FORM - assumed 'CUSTOMIZE_UPLOAD_FORM' in /home/ofbboar/public_html/Coppermine/upload.php on line 716
Notice: Use of undefined constant USER_UPLOAD_FORM - assumed 'USER_UPLOAD_FORM' in /home/ofbboar/public_html/Coppermine/upload.php on line 720
Notice: Use of undefined constant NUM_URI_BOXES - assumed 'NUM_URI_BOXES' in /home/ofbboar/public_html/Coppermine/upload.php on line 772
Notice: Use of undefined constant NUM_FILE_BOXES - assumed 'NUM_FILE_BOXES' in /home/ofbboar/public_html/Coppermine/upload.php on line 773
Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/ofbboar/public_html/Coppermine/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/ofbboar/public_html/Coppermine/upload.php on line 440
Warning: unlink(./albums/edit/.): Permission denied in /home/ofbboar/public_html/Coppermine/upload.php on line 453
Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/ofbboar/public_html/Coppermine/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/ofbboar/public_html/Coppermine/upload.php on line 440
Warning: unlink(./albums/edit/..): Permission denied in /home/ofbboar/public_html/Coppermine/upload.php on line 453
Switched debug on and here is the debug info;
Quote
USER:
------------------
Array
(
[ID] => 1a9418cb596c3542b6a7fc6f5a9b0c28
[am] => 1
)
==========================
USER DATA:
------------------
Array
(
- => 5000000
[disk_max] => 5000000
[1] => 4096
[disk_min] => 4096
[2] => 1
[can_rate_pictures] => 1
[3] => 1
[can_send_ecards] => 1
[4] => 1
[can_post_comments] => 1
[5] => 1
[can_upload_pictures] => 1
[6] => 1
[can_create_albums] => 1
[7] => 0
[pub_upl_need_approval] => 0
[8] => 0
[priv_upl_need_approval] => 0
[group_quota] => 5000000
[group_name] => Administrator
[group_id] => 1
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg130_filetypes;
[1] =>
SELECT variable, value
FROM smf_settings
[2] =>
SELECT mem.*, IFNULL(a.ID_ATTACH, 0) AS ID_ATTACH
FROM smf_members AS mem
LEFT JOIN smf_attachments AS a ON (a.ID_MEMBER = 1)
WHERE mem.ID_MEMBER = 1
LIMIT 1
[3] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as priv_upl_need_approval FROM cpg130_usergroups WHERE group_id=1 or group_id=21
[4] => SELECT group_name FROM cpg130_usergroups WHERE group_id= 1
[5] => DELETE FROM cpg130_banned WHERE expiry < '2005-06-07 02:56:27'
[6] => SELECT * FROM cpg130_banned WHERE ip_addr='203.170.226.5' OR ip_addr='203.172.39.125' OR user_id=1
[7] => SELECT cid, name, description, thumb FROM cpg130_categories WHERE parent = '' ORDER BY pos
[8] => SELECT aid FROM cpg130_albums as a WHERE category>=10000
[9] => SELECT count(*) FROM cpg130_pictures as p, cpg130_albums as a WHERE p.aid = a.aid AND category >= 10000
[10] => SELECT cid, name, description, thumb FROM cpg130_categories WHERE parent = '1' ORDER BY pos
[11] => SELECT aid FROM cpg130_albums WHERE category = 2
[12] => SELECT count(*) FROM cpg130_pictures as p, cpg130_albums as a WHERE p.aid = a.aid AND category = 2
[13] => SELECT count(*) FROM cpg130_albums as a WHERE category = '2'
[14] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg130_albums as a LEFT JOIN cpg130_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,24
[15] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg130_pictures WHERE aid IN (1, 4, 5, 7, 8, 10, 12, 15, 19, 20, 21, 22, 26, 27, 28, 30, 35, 36, 37, 38, 39, 40, 41, 42) AND approved = 'YES' GROUP BY aid
[16] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='13'
[17] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='98'
[18] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='109'
[19] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='120'
[20] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='126'
[21] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='139'
[22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='141'
[23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='1212'
[24] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='180'
[25] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='211'
[26] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='222'
[27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='374'
[28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='406'
[29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='407'
[30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='412'
[31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='480'
[32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='532'
[33] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='1251'
[34] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='1224'
[35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='1029'
[36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='1036'
[37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='1060'
[38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg130_pictures WHERE pid='1080'
[39] => SELECT cid, name, description, thumb FROM cpg130_categories WHERE parent = '2' ORDER BY pos
[40] => SELECT aid FROM cpg130_albums as a WHERE category = '0'
[41] => SELECT count(*) FROM cpg130_albums as a WHERE 1
[42] => SELECT count(*) FROM cpg130_pictures as p LEFT JOIN cpg130_albums as a ON a.aid=p.aid WHERE 1
[43] => SELECT count(*) FROM cpg130_comments as c LEFT JOIN cpg130_pictures as p ON c.pid=p.pid LEFT JOIN cpg130_albums as a ON a.aid=p.aid WHERE 1
[44] => SELECT count(*) FROM cpg130_categories WHERE 1
[45] => SELECT sum(hits) FROM cpg130_pictures as p LEFT JOIN cpg130_albums as a ON p.aid=a.aid WHERE 1
[46] => SELECT count(*) FROM cpg130_albums as a WHERE category = '0'
[47] => SELECT COUNT(*) from cpg130_pictures WHERE approved = 'YES'
[48] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg130_pictures WHERE approved = 'YES' ORDER BY pid DESC LIMIT 0 ,6
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.22-standard
------------------
Coppermine version: 1.3.3
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
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 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/tmp/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 | 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 | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
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 | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 55M | 55M
==========================
Page generated in 0.479 seconds - 49 queries in 0.382 seconds - Album set :
I have done several searches but none of the answers offered seem to help with my perticular problem.
I also get:
Quote
Notice: Undefined index: cat_thumb in /home/ofbboar/public_html/Coppermine/themes/igames/theme.php on line 1094
Notice: Undefined index: cat_albums in /home/ofbboar/public_html/Coppermine/themes/igames/theme.php on line 1095
testaccount = test
password = test
thanks in advance for any help
Powerbob
the test user account you posted doesn't have upload privileges, so I can't test. Disable notices display in coppermine's config as a first step, as notices are only meant for experienced users and developers. Enable debug mode for everyone. See http://coppermine.sourceforge.net/tutorial/uploads/troubleshooting.php
Ok done, thanks for the quick response :D
Powerbob
OK a big thanks to Nibbler here for helping me so speedily ;D ;D
the problem in "his" words was:
Quote
it's a combination of smf trying to be clever about cookie settings and not syncing groups
Thanks for a great product in Coppermine ;D