coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: JCook236 on August 15, 2006, 06:23:44 AM

Title: Problem with upload.php
Post by: JCook236 on August 15, 2006, 06:23:44 AM
Hello,

I go to upload a file/photo, browse and select a file(s), then click continue.
When the next page comes up telling me the upload was successful - it's so wide you have to scroll over twice to click contine.
When the next screen comes up to select an album to place the photo in - it's so wide you have to scroll over 3 or 4 times to select the album.  The next screen after that is also way to wide, but once you click continue and the cat page comes up - all is fine and it fits on one page.

Do I need to change something in upload.php?
Title: Re: Problem with upload.php
Post by: Joachim Müller on August 15, 2006, 07:29:15 AM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Problem with upload.php
Post by: JCook236 on August 16, 2006, 02:13:47 AM
I tried to post the requested data but it says I exceeded the maximum allowed length.

I just want to know how to edit the tables on the file upload.php
If the display is going off the screen, it is more then likely a table problem.
I edited the template.php and when it's added with the upload.php it's throwing things off.
I tried to edit upload.php but it says it can't edit it.  Are the table files in upload.php?

Title: Re: Problem with upload.php
Post by: Sami on August 16, 2006, 07:17:46 AM
QuoteI tried to post the requested data but it says I exceeded the maximum allowed length.

You probably tried to post debug output, which you shouldn't
you need to post a link to your gallery with a test (non-admin) account

QuoteI edited the template.php and when it's added with the upload.php it's throwing things off.

There is'n any template.php ! each theme have a template.html and a theme.php
Title: Re: Problem with upload.php
Post by: Joachim Müller on August 16, 2006, 07:31:26 AM
Quote from: GauGau on August 15, 2006, 07:29:15 AM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Re-read that section and do exactly as suggested there. Especially read the section highlighted in red.
Title: Re: Problem with upload.php
Post by: JCook236 on August 17, 2006, 04:06:23 AM
Quote from: bmossavari on August 16, 2006, 07:17:46 AM
you need to post a link to your gallery with a test (non-admin) account

The problem only occurs in the admin account

There is'n any template.php ! each theme have a template.html and a theme.php

Typed the wrong file extension in my post, sorry.

Quote from: GauGau on August 16, 2006, 07:31:26 AM
Re-read that section and do exactly as suggested there. Especially read the section highlighted in red.

I did read that section and did do exactly as suggested.  I don't get an error message so I can't post one and making a user account won't help anyone since the problem is in the admin account which the red highlighted section says the test user mustn't be in the admin group

Go ahead and close this one...I went to view source on the affected pages, saved the files and will go through the coding to see if I can find the problem. Thank you for your time.
Title: Re: Problem with upload.php
Post by: Joachim Müller on August 17, 2006, 08:12:25 AM
Quote from: JCook236 on August 17, 2006, 04:06:23 AM
I did read that section and did do exactly as suggested.  I don't get an error message so I can't post one and making a user account won't help anyone since the problem is in the admin account which the red highlighted section says the test user mustn't be in the admin group
You're suppossed to do as suggested no matter what: you need to post a link and non-admin test user account, with the above mentioned settings in place, even if you have issues using another upload method than http uploads, as some upload issues can be checked by supporters using http uploads. That's why we wrote in the docs
Quoteeven if you experienced troubles using another upload method
. We know what we're doing, that's why we ask users asking for support to post a link and test user account - we can solve many issues this way (of course not all of them). Anyway, you chose not to get support and you said that you're going to look into this on your own (although I doubt that looking at the HTML output will help you much), so I'm doing as suggested and close this thread. If you should later decide that you can't solve this one your own, then don't bother to post without doing as suggested various times.
Title: Re: Problem with upload.php
Post by: JCook236 on August 19, 2006, 09:50:58 PM
Fixed it.

Easier then I first thought it would be, all I had to do was turn off Debug.  When I would upload files, the screen went so wide you had to scroll several times to get from side to side. This happened because of the way the table for Debug was being added into the page.