Big Problem Big 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

Big Problem

Started by valio, August 18, 2004, 07:20:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

valio

Hello, I am new to coppermine gallery, but, since I was installed he created me only trouble. The troubles are, he didn't want to upload nothing, not even a picture.
He told me after I was "making" the upload
"0 files has been update", so I was activated the debug mode, after that I saw the next errors:

First three errors are before making the uploads, they are show me on the screen, just when I want choose the file.

Notice: Undefined offset: 2 in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 250

Notice: Undefined offset: 3 in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 256

Notice: Undefined offset: 4 in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 256"

Next errors they appeared  after I was making the upload

"Notice: Undefined index: file_upload_array in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 1014

Notice: Undefined variable: escrow_array in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 1939

Notice: Undefined variable: file_failure_array in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 1940

Notice: Undefined variable: URI_failure_array in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 1941

Notice: Undefined variable: zip_failure_array in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 1942"

So please, help me, I was reading the manual, changing the web hosting, for three times, but nothing.

valio

I think I resolved that problem, but now I see a new errors:

No file was uploaded !

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

File: /usr/local/www/data-dist/go/valio007/cpg132/db_input.php - Line: 221



Notice: Undefined index: user1 in /usr/local/www/data-dist/go/valio007/cpg132/db_input.php on line 202

Notice: Undefined index: user2 in /usr/local/www/data-dist/go/valio007/cpg132/db_input.php on line 203

Notice: Undefined index: user3 in /usr/local/www/data-dist/go/valio007/cpg132/db_input.php on line 204

Notice: Undefined index: user4 in /usr/local/www/data-dist/go/valio007/cpg132/db_input.php on line 205

Notice: Undefined index: userpicture in /usr/local/www/data-dist/go/valio007/cpg132/db_input.php on line 221

What I know is, that I don't have any problems with the uploads, none of the server's that I've put this gallery.

And if This can really help with something I'll put even the debug info...

USER:
------------------
Array
(
    [ID] => 6dfb86918671eb6cffdd34e4b238fd03
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => xav
    [user_password] => ********
    [user_lastvisit] => 2004-08-19 09:17:51
    [user_regdate] => 2004-08-19 09:17:51
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 1024
    [disk_min] => 1024
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [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] => 1024
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg132_filetypes;
        [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'd2f3141196ae5140399ddd698d9eb685'
        [2] => 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)
        [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg132_banned WHERE expiry < 1092896650
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='****' OR ip_addr='****' OR user_id=1
        [6] => SELECT category FROM cpg132_albums WHERE aid='1'
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.6 - OK
    ------------------
    mySQL version: 4.0.18
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    module doesn't exist
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value |  |  |  |  |  |  |  |
    ==========================
    Page generated in 0.093 seconds - 7 queries in 0.017 seconds - Album set :

valio

OK...where is my problem?
I was searching in this forum but nothing.

cwizard

It looks like you haven't installed MySQL support, and your GD libarary isn't working either:

Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
module doesn't exist

Have you enabled GD & MySQL support in PHP?  Check the PHP.INI file and restart your web service.

Joachim Müller

hrm, no: cpg debug output doesn't display the modules so well since a certain version of php came out. Since there are queries in the debug output, valio probably does have mySQL.
Please post a test user account (non-admin) with upload privileges (and a link of course), so we can take a look.

GauGau


Joachim Müller

Quote from: GauGau on August 20, 2004, 07:47:15 AMPlease post a test user account (non-admin) with upload privileges (and a link of course), so we can take a look.
So now we have a link, but no test account yet. Please don't make life so hard for supporters, do I have to beg to post an account? You can savely delete it once the issue is solved.

GauGau

valio

account is:
user:test
password:12345

Joachim Müller

can't access your page, it times out for me. Probably being caused by the fact that you're self-hosted. Resigning from this issue, it's free for others to look into - I won't anymore.

GauGau

valio

Hmmm...very weard, because I can to load the page...

Joachim Müller

Oh yes? You can load your own page? ::) Does this mean the rest of the world can? ;D

GauGau

valio

If my page work, that doesn't mean that all of the world can load may page...but if I can't to make this gallery to work, I'll quiet.

Joachim Müller

Quote from: valio on August 18, 2004, 07:20:31 PM
He told me after I was "making" the upload
"0 files has been update", so I was activated the debug mode, after that I saw the next errors:
QuoteNotice: Undefined offset: 2 in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 250

Notice: Undefined offset: 3 in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 256

Notice: Undefined offset: 4 in /usr/local/www/data-dist/go/valio007/cpg132/upload.php on line 256"
You're supposed to enable debug_mode, but you were not suppossed to enable "Display notices in debug mode" unless you understand those notices. As you don't, they can be savely ignrored.

Quote from: valio on August 20, 2004, 09:35:28 AMbut if I can't to make this gallery to work, I'll quiet.
Is this suppossed to be some kind of threat?

Your page is giving the word "slow" a whole new meaning. What connection (upstream) do you have? 9.6k modem? With such a slow connection, having a photo gallery is a contradiction in terms. I suggest you consider webhosting as an option...

As the error message says
QuoteIf you have really selected a file to upload, check that the server allows file uploads...
, did you actually do that and check your file server accepts file uploads? Read the stickies threads on this board (the ones with a pin icon) to find out more.

GauGau

valio

This is not a threat, I was trying say that I will quiet, and maybe I will ask someone to show where is the problem, because I think, that I making a mistake when install this gallery, because after my last message, another user from the same webhosting, he show me he web site, and this gallery is working so nice, and so good, on his page, so that's why I will ask someone if he want to help me.

Joachim Müller

are you self-hosted or webhosted?

GauGau

valio

Your gallery is...fantastic, cool, beautiful
I've put on my webserver...and it's working very good. I've quiet to pay the webhosting so I've decide to put my website on my computer...and it's work.
And I love how these gallery can integrate with php-nuke, it is very cool:)

I want to thank you very much because you helped me.