URI/URL Upload Problem URI/URL Upload Problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

URI/URL Upload Problem

Started by Mr Legacy, April 27, 2010, 10:27:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mr Legacy

I cant seem to get the URI/URL to work. I have reset the file size limit three times first at 2000, then at 5000 and now at 6000. I turned my Permissions to 755 then 777 and it seems to still give me this error

URI/URL Uploads:
File Name/URL   Error Message
1. http://i586.photobucket.com/albums/ss310/RenderFreaks/Cartoon%20Renders/aliceinwonderlandmouse.png

USER:
------------------
Array
(
    [ID] => fafc0e539aa377ecedd89c20a0b2a6c2
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 1
        )

    [search] => Array
        (
            [search] => halo
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => MrLegacy
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 50000
    [disk_min] => 50000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 2
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 50000
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `hiddende_renders`.cpg14x_sessions where time<1272396141 and remember=0; (0s)
    [3] => delete from `hiddende_renders`.cpg14x_sessions where time<1271190141; (0s)
    [4] => select user_id from `hiddende_renders`.cpg14x_sessions where session_id = 'eb5d1621b6143d94b6fa3dde82152235' (0s)
    [5] => select user_id as id, user_password as password from `hiddende_renders`.cpg14x_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `hiddende_renders`.cpg14x_users AS u INNER JOIN `hiddende_renders`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `hiddende_renders`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => 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(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `hiddende_renders`.cpg14x_sessions set time='1272399741' where session_id = 'eb5d1621b6143d94b6fa3dde82152235' (0.001s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2010-04-27 21:22:21' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='216.81.101.30' OR ip_addr='216.81.101.30' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0s)
    [16] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

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

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] => http://i586.photobucket.com/albums/ss310/RenderFreaks/Cartoon%20Renders/aliceinwonderlandmouse.png
            [1] =>
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.13 - OK
------------------
mySQL version: 5.0.90-community
------------------
Coppermine version: 1.4.26(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.90
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
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 | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.441 seconds - 17 queries in 0.001 seconds - Album set : ; Meta set: ;


I went to user mode and it says i have no albums to upload even though i have 7 albums and i have been uploading in admin all day.

Sorry there is no album where you are allowed to upload files

File: /home/hiddende/public_html/renders/upload.php - Line: 878


USER:
------------------
Array
(
    [ID] => fafc0e539aa377ecedd89c20a0b2a6c2
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 1
        )

    [search] => Array
        (
            [search] => halo
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 4
    [user_name] => test
    [groups] => Array
        (
            [0] => 5
        )

    [disk_max] => 4024
    [disk_min] => 4024
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 2
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 0
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Render Freaks
    [upload_form_config] => 3
    [group_quota] => 4024
    [can_see_all_albums] => 0
    [group_id] => 5
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `hiddende_renders`.cpg14x_sessions where time<1272395767 and remember=0; (0s)
    [3] => delete from `hiddende_renders`.cpg14x_sessions where time<1271189767; (0s)
    [4] => select user_id from `hiddende_renders`.cpg14x_sessions where session_id = 'eb5d1621b6143d94b6fa3dde82152235' (0.001s)
    [5] => select user_id as id, user_password as password from `hiddende_renders`.cpg14x_users where user_id=4 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `hiddende_renders`.cpg14x_users AS u INNER JOIN `hiddende_renders`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='4' (0s)
    [7] => SELECT user_group_list FROM `hiddende_renders`.cpg14x_users AS u WHERE user_id='4' and user_group_list <> ''; (0s)
    [8] => 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(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (5) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 5 (0s)
    [10] => update `hiddende_renders`.cpg14x_sessions set time='1272399367' where session_id = 'eb5d1621b6143d94b6fa3dde82152235' (0.001s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 4 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2010-04-27 21:16:07' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='216.81.101.30' OR ip_addr='216.81.101.30' OR user_id=4) AND brute_force=0 (0s)
    [14] => SELECT aid FROM cpg14x_albums WHERE visibility != '0' AND visibility !='10004' AND visibility NOT IN (5) (0s)
    [15] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (5)) ORDER BY title (0s)
    [16] => SELECT aid, title FROM cpg14x_albums WHERE category='10004' ORDER BY title (0s)
)

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

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

==========================
Page generated in 0.068 seconds - 17 queries in 0.002 seconds - Album set : ; Meta set: ;


Im not exactly sure on what to do

Username: Test
Password: Test

www.hiddendesigners.com/renders/

If i missed something let me know there was a lot to read in the docs lol, i also searched the forum and nothing seemed to fix it.

Mr Legacy

Error message "There is no album where you are allowed to upload files."

You need to give permission in both the groups panel and the album properties page for an upload to occur. Again: the documentation is the place to go for details.

Checked around again and found this but im not seeing where to do the album properties all im seeing is for visitors and to reset and erase.

Im a IPB man not a Coppermine guy lol Sorry for the troubles

phill104

It is a mistake to think you can solve any major problems just with potatoes.

Mr Legacy

Yeah i had to read it 50 times before i understood that visitors didnt actually mean visitors lol thank you for that link.

That fixed one problem but what about this


The following uploads encountered errors:
URI/URL Uploads:
File Name/URL

USER:
------------------
Array
(
    [ID] => fafc0e539aa377ecedd89c20a0b2a6c2
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 1
        )

    [search] => Array
        (
            [search] => halo
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 4
    [user_name] => test
    [groups] => Array
        (
            [0] => 5
        )

    [disk_max] => 5000
    [disk_min] => 5000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 2
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 0
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Render Freaks
    [upload_form_config] => 3
    [group_quota] => 5000
    [can_see_all_albums] => 0
    [group_id] => 5
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `hiddende_renders`.cpg14x_sessions where time<1272469201 and remember=0; (0s)
    [3] => delete from `hiddende_renders`.cpg14x_sessions where time<1271263201; (0s)
    [4] => select user_id from `hiddende_renders`.cpg14x_sessions where session_id = 'd74da1f87638dd2934e9aebd14a65d44' (0.001s)
    [5] => select user_id as id, user_password as password from `hiddende_renders`.cpg14x_users where user_id=4 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `hiddende_renders`.cpg14x_users AS u INNER JOIN `hiddende_renders`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='4' (0s)
    [7] => SELECT user_group_list FROM `hiddende_renders`.cpg14x_users AS u WHERE user_id='4' and user_group_list <> ''; (0s)
    [8] => 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(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (5) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 5 (0s)
    [10] => update `hiddende_renders`.cpg14x_sessions set time='1272472801' where session_id = 'd74da1f87638dd2934e9aebd14a65d44' (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 4 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2010-04-28 17:40:01' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='216.81.101.30' OR ip_addr='216.81.101.30' OR user_id=4) AND brute_force=0 (0s)
    [14] => SELECT aid FROM cpg14x_albums WHERE visibility != '0' AND visibility !='10004' AND visibility NOT IN (5) (0.001s)
    [15] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (5)) ORDER BY title (0s)
    [16] => SELECT aid, title FROM cpg14x_albums WHERE category='10004' ORDER BY title (0s)
)

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

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] => http://i586.photobucket.com/albums/ss310/RenderFreaks/Cartoon%20Renders/aliceinwonderlandmouse.png
            [1] =>
        )

    [control] => phase_1
)

==========================
Page generated in 0.246 seconds - 17 queries in 0.002 seconds - Album set : ; Meta set: ;


URI/URL I have it set to 6000 KB.

I have also done the info.php to check and make sure my GD v2 was enabled and everything was green.

Joe Carver

Actual name and password = test + test (Not Test + Test)

You need to read and follow all of the steps outlined here :4.11.4 Upload troubleshooting

if needed then follow these steps: 4.11.5 Asking for support on upload issues

Make certain that you have followed all of the steps and instructions before returning.



Mr Legacy

QuoteWhen asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!)

I dont want it in administrator group not that i dont trust the supporters i dont trust how original members can see this post. Ill Pm the two supporters (Phill Luckhurst & Joe Carver) the username and password.

Mr Legacy

Lol i guess i cant send pms so here we go

Username: test
Password: test

phill104

Nobody asked for an admin account, just a test user account. I have logged onto your site and changed the password of the account test.

Please create a user account so we can test that. The URI/URL feature is not the best anyway and has been dropped from CPG1.5.
It is a mistake to think you can solve any major problems just with potatoes.

Mr Legacy

I was located to the docs where it said to put the test user as a administrative. If the URI/URL isnt the best then I wont use it, ill make my staff slave mwahahaha lol

Thanks for ur help it was def appreciated. :)

Joachim Müller

Quote from: Mr Legacy on April 29, 2010, 04:31:56 AM
I was located to the docs where it said to put the test user as a administrative.
Where? That's not in the docs. If you think I'm wrong and you're right, post a deep link to the documentation where they say you need to post an admin account.

Quote from: Mr Legacy on April 29, 2010, 04:31:56 AMIf the URI/URL isnt the best then I wont use it
You don't save webspace using the URI upload features, the file get's downloaded to your webspace and then is added to the database, so nothing is gained using that technique.

We would have appreciated it if you would have resolved your thread as suggested per board rules.

Mr Legacy

I had done everything i was supposed too in the first post. The first admin answered one of my questions. The second support comes in and uploads a picture then tells me to

QuoteYou need to read and follow all of the steps outlined here :4.11.4 Upload troubleshooting

if needed then follow these steps: 4.11.5 Asking for support on upload issues

Make certain that you have followed all of the steps and instructions before returning.

I had done everything that it asked for and so i decided to reread it just in case i missed something. I confused the mustn't for must after going back the second time to find out what i was doing wrong. I apologize for not resolving my thread i didnt even see that theres just too many things i have to read just to post a support but i think i got it down pat for next time.

Thanks for the help guys :)

InoculateIT

I have same problem, follow the troubleguide read the documention over and over again, but it keep saying my users are not allowed to upload anything.

They can create 100 albums, just not able to upload.

Please help

phill104

InoculateIT,

Please start your own thread following all the guidelines mentioned above.

Mr Legacy,

If you have lots of images to upload then batch add is the best method. There are other upload tools available if you search both the docs and the boards. These includ Jupload, XP Publishing Wizard and many more.


Locking
It is a mistake to think you can solve any major problems just with potatoes.