coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: valio on August 18, 2004, 07:20:31 PM

Title: Big Problem
Post by: valio on August 18, 2004, 07:20:31 PM
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.
Title: Re: Big Problem
Post by: valio on August 19, 2004, 08:29:29 AM
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
(
   
Title: Re: Big Problem
Post by: valio on August 19, 2004, 04:35:16 PM
OK...where is my problem?
I was searching in this forum but nothing.
Title: Re: Big Problem
Post by: cwizard on August 19, 2004, 04:51:19 PM
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.
Title: Re: Big Problem
Post by: Joachim Müller on August 20, 2004, 07:47:15 AM
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
Title: Re: Big Problem
Post by: valio on August 20, 2004, 08:13:40 AM
http://valio007.dap.ro/galerie/index.php

This is my link
Title: Re: Big Problem
Post by: Joachim Müller on August 20, 2004, 08:28:10 AM
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
Title: Re: Big Problem
Post by: valio on August 20, 2004, 08:32:46 AM
account is:
user:test
password:12345
Title: Re: Big Problem
Post by: Joachim Müller on August 20, 2004, 09:23:29 AM
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
Title: Re: Big Problem
Post by: valio on August 20, 2004, 09:29:58 AM
Hmmm...very weard, because I can to load the page...
Title: Re: Big Problem
Post by: Joachim Müller on August 20, 2004, 09:31:40 AM
Oh yes? You can load your own page? ::) Does this mean the rest of the world can? ;D

GauGau
Title: Re: Big Problem
Post by: valio on August 20, 2004, 09:35:28 AM
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.
Title: Re: Big Problem
Post by: Joachim Müller on August 20, 2004, 10:03:23 AM
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
Title: Re: Big Problem
Post by: valio on August 20, 2004, 10:50:38 AM
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.
Title: Re: Big Problem
Post by: Joachim Müller on August 21, 2004, 03:39:07 AM
are you self-hosted or webhosted?

GauGau
Title: Re: Big Problem
Post by: valio on August 30, 2004, 12:38:36 PM
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.