Upload - Blank Page Upload - Blank Page
 

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

Upload - Blank Page

Started by pixiestixs, December 04, 2007, 07:34:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pixiestixs

When uploading in any user mode I can see the box list fine.. It shows upload successful then when click continue goes to a blank page instead of adding to album I chose..

Would post error message but it is a completely blank page ... almost seems like is an error in redirection after clicking continue ..

account test is created with password test and upload privelages given


Gallery is set in debug mode ...however you will need to highlight the message box to read :: still working out font color bugs ::


Joachim Müller


pixiestixs

I have read it even back checked posts here .. Found one about blank pages ..the issue had been upload size ...I have no such limit with my host. I was previously using 4images and had same images uploaded .. all size limits in config have been double checked and are set at well let's say wayyy up there

I would post phpinfo but the page comes up blank for information ..

http://www.garden.exofire.net/paintz/phpinfo.php

Version is completely up to date

so I am unsure what I am to be looking for in the docs help page..

pixiestixs

I am hoping this is what I was missing. This is from debug of upload page..

QuoteUSER:
------------------
Array
(
    [ID] => e4c7d894d1f6a8336cc8c71d336a3b82
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => imgdb
    [groups] => Array
        (
           
  • => 1
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg132_filetypes; (0s)
        [1] => delete from `pixie2_imgdb`.cpg132_sessions where time<1196748747 and remember=0; (0s)
        [2] => delete from `pixie2_imgdb`.cpg132_sessions where time<1195542747; (0s)
        [3] => select user_id from `pixie2_imgdb`.cpg132_sessions where session_id=md5("c2ec1591eaec834be8a85101092da791f6412792e8ef83faa6929afeade67d6a"); (0s)
        [4] => select user_id as id, user_password as password from `pixie2_imgdb`.cpg132_users where user_id=1 (0s)
        [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `pixie2_imgdb`.cpg132_users AS u INNER JOIN `pixie2_imgdb`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [6] => SELECT user_group_list FROM `pixie2_imgdb`.cpg132_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [7] => 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 cpg132_usergroups WHERE group_id in (1) (0s)
        [8] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1 (0s)
        [9] => update `pixie2_imgdb`.cpg132_sessions set time='1196752347' where session_id=md5('c2ec1591eaec834be8a85101092da791f6412792e8ef83faa6929afeade67d6a'); (0s)
        [10] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 1 (0s)
        [11] => DELETE FROM cpg132_banned WHERE expiry < '2007-12-04 02:12:27' (0s)
        [12] => SELECT * FROM cpg132_banned WHERE (ip_addr='207.69.140.22' OR ip_addr='4.88.53.129' OR user_id=1) AND brute_force=0 (0s)
        [13] => SELECT aid, title FROM cpg132_albums WHERE category < 10000 ORDER BY title (0s)
        [14] => SELECT aid, title FROM cpg132_albums WHERE category='10001' ORDER BY title (0s)
        [15] => DELETE FROM cpg132_temp_data WHERE timestamp < 1196748747 (0.015s)
        [16] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0.006s)
        [17] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='48' AND cat.cid=alb.category (0.001s)
        [18] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='50' AND cat.cid=alb.category (0s)
        [19] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='49' AND cat.cid=alb.category (0s)
        [20] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='20' AND cat.cid=alb.category (0s)
        [21] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='18' AND cat.cid=alb.category (0s)
        [22] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='19' AND cat.cid=alb.category (0s)
        [23] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='6' AND cat.cid=alb.category (0s)
        [24] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='37' AND cat.cid=alb.category (0s)
        [25] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='30' AND cat.cid=alb.category (0s)
        [26] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='21' AND cat.cid=alb.category (0s)
        [27] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0s)
        [28] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='39' AND cat.cid=alb.category (0s)
        [29] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='32' AND cat.cid=alb.category (0s)
        [30] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='25' AND cat.cid=alb.category (0s)
        [31] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='9' AND cat.cid=alb.category (0s)
        [32] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='14' AND cat.cid=alb.category (0s)
        [33] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='26' AND cat.cid=alb.category (0s)
        [34] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='10' AND cat.cid=alb.category (0s)
        [35] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='2' AND cat.cid=alb.category (0s)
        [36] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='33' AND cat.cid=alb.category (0s)
        [37] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='40' AND cat.cid=alb.category (0s)
        [38] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='5' AND cat.cid=alb.category (0s)
        [39] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='29' AND cat.cid=alb.category (0s)
        [40] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='43' AND cat.cid=alb.category (0s)
        [41] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='8' AND cat.cid=alb.category (0s)
        [42] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='22' AND cat.cid=alb.category (0s)
        [43] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='16' AND cat.cid=alb.category (0s)
        [44] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='17' AND cat.cid=alb.category (0s)
        [45] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='12' AND cat.cid=alb.category (0s)
        [46] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='47' AND cat.cid=alb.category (0s)
        [47] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='46' AND cat.cid=alb.category (0s)
        [48] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='42' AND cat.cid=alb.category (0s)
        [49] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='4' AND cat.cid=alb.category (0s)
        [50] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='28' AND cat.cid=alb.category (0s)
        [51] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='13' AND cat.cid=alb.category (0s)
        [52] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='24' AND cat.cid=alb.category (0s)
        [53] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='31' AND cat.cid=alb.category (0s)
        [54] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='7' AND cat.cid=alb.category (0s)
        [55] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='44' AND cat.cid=alb.category (0s)
        [56] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='38' AND cat.cid=alb.category (0s)
        [57] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='51' AND cat.cid=alb.category (0s)
        [58] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='34' AND cat.cid=alb.category (0s)
        [59] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='3' AND cat.cid=alb.category (0s)
        [60] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='41' AND cat.cid=alb.category (0s)
        [61] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='11' AND cat.cid=alb.category (0s)
        [62] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='27' AND cat.cid=alb.category (0s)
        [63] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='55' AND cat.cid=alb.category (0s)
        [64] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='45' AND cat.cid=alb.category (0s)
        [65] => SELECT cat.name FROM cpg132_categories cat, cpg132_albums alb WHERE alb.aid='23' AND cat.cid=alb.category (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.4 - OK
    ------------------
    mySQL version: 5.0.27-standard
    ------------------
    Coppermine version: 1.4.14(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:

    ==========================

pixiestixs

this is from the db_input..

weird first time got an error ..:: finally least something to go off of::


QuoteError
No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: /home/pixie2/public_html/paintz/db_input.php - Line: 311




QuoteUSER:
------------------
Array
(
    [ID] => e4c7d894d1f6a8336cc8c71d336a3b82
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => imgdb
    [groups] => Array
        (
           
  • => 1
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg132_filetypes; (0s)
        [1] => delete from `pixie2_imgdb`.cpg132_sessions where time<1196748860 and remember=0; (0s)
        [2] => delete from `pixie2_imgdb`.cpg132_sessions where time<1195542860; (0s)
        [3] => select user_id from `pixie2_imgdb`.cpg132_sessions where session_id=md5("c2ec1591eaec834be8a85101092da791f6412792e8ef83faa6929afeade67d6a"); (0s)
        [4] => select user_id as id, user_password as password from `pixie2_imgdb`.cpg132_users where user_id=1 (0s)
        [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `pixie2_imgdb`.cpg132_users AS u INNER JOIN `pixie2_imgdb`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [6] => SELECT user_group_list FROM `pixie2_imgdb`.cpg132_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [7] => 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 cpg132_usergroups WHERE group_id in (1) (0s)
        [8] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1 (0s)
        [9] => update `pixie2_imgdb`.cpg132_sessions set time='1196752460' where session_id=md5('c2ec1591eaec834be8a85101092da791f6412792e8ef83faa6929afeade67d6a'); (0s)
        [10] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 1 (0s)
        [11] => DELETE FROM cpg132_banned WHERE expiry < '2007-12-04 02:14:20' (0s)
        [12] => SELECT * FROM cpg132_banned WHERE (ip_addr='207.69.140.22' OR ip_addr='4.88.53.129' OR user_id=1) AND brute_force=0 (0s)
        [13] => SELECT category FROM cpg132_albums WHERE aid='48' (0s)
        [14] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0.006s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 48
        [MAX_FILE_SIZE] => -1024
        [title] =>
        [caption] =>
        [keywords] =>
        [event] => picture
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.4 - OK
    ------------------
    mySQL version: 5.0.27-standard
    ------------------
    Coppermine version: 1.4.14(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:

    ==========================

Joachim Müller

Quote from: pixiestixs on December 04, 2007, 08:09:53 AM
I have read it
Obviously not. From the docs I refered to above:
QuoteAsking for support on upload issues

When 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!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.
So you did quite the opposite. What do you expect?
Quote from: pixiestixs on December 04, 2007, 08:09:53 AMso I am unsure what I am to be looking for in the docs help page..
Just read it and do as suggested.

Quote from: pixiestixs on December 04, 2007, 08:09:53 AMI would post phpinfo but the page comes up blank for information ..

http://www.garden.exofire.net/paintz/phpinfo.php
We can not access that piece of information.

pixiestixs

test user is not in admin group

test user has upload privelages

my php.ini is fine   [tested on another http upload program using exact same image] issue is only on cpg

I have done the steps completely ::

Logged as Admins
Config Screen
Set Debug Mode to All
Left Display Off
Saved

Set Single File Uploads no URI with fixed

Created new user

Addresss : http://www.garden.exofire.net/paintz
User : test
Password : test


pixiestixs

images are being uploaded to the webserver ... checked through ftp .. in folder 1001 ..

Joachim Müller

You have set Maximum allowed file size to 9999999999999999999999999999999999999999999999999999999999999999 KB, which is just nonsense. Set it to something that makes sense!
Error message is
QuoteError
No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: /home/pixie2/public_html/paintz/db_input.php - Line: 311

pixiestixs

well i knew it was nonsense but it made sure i wasn't going over max while trying to find the issue..
however when reduced to match 5024 default I return to a blank page again

server does allow file uploads ... example

http://free.garden.exofire.net/fileman
user : test
password : testing

php server uploading through http work fine

if i log as admins it gives same error yet the file appears in ftp yet is unreconized

without being an admins it does not upload at all

pixiestixs

after reset of max size to 5024

Admins : uploads yet goes to blank screen .. cpg does not reconize upload , server [ftp] shows file there

test : upload process to blank screen .. no file showing in server [ftp]

this has to be glitch somewhere but am getting frustrated as to where ..


Joachim Müller

There probably is some whitespace in one of your coppermine files. Get a fresh package (cpg1.4.14), unzip it and upload all files (as if you were performing an upgrade - see corresponding section of the docs), making sure to overwrite the files on your server and making sure as well that you're using the proper FTP mode (and using a real FTP app).

pixiestixs

updated - even changed to classic theme -no change in actions

pixiestixs

Closing Thread

I have restored back-up of 4 images instead .. Since I can use the batch-add just fine am reverting to back to using 2 seperate galleries for database and users..

Thank you for the help but it was just too frustrating.

skidpics

Well, I was using 4images, and with the tweaking it requires to function properly, it isn't worth it.

Using photopost is also nice, but the features of coppermine just cannot be beat.

Okay,  I just reinstalled the new version of coppermine with Stramm's mod pack.  I am having to same problem in IE as described in the threads, but NOT using firefox.. 

If reinstalling a new version of Coppermine does not resolve this issue, where else do I need to look?

Joachim Müller

There may be different reeasons for blank pages. Usual suspects are:
  • File corruption
  • Wrong FTP mode
  • Whitespace (make sure to use a proper palin-text editor)
  • Improperly designed custom themes
It's not a bright idea to try to hijack a closed thread. You better start a thread of your own. Locking.