After 1st upload confirmed, I get error: HTTP 500, The page cannot be displayed. After 1st upload confirmed, I get error: HTTP 500, The page cannot be displayed.
 

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

After 1st upload confirmed, I get error: HTTP 500, The page cannot be displayed.

Started by ikerstges, February 22, 2005, 03:32:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ikerstges

Hi,

In Coppermine 1.3.0, When I want to upload a jpg file (214 k), I have the following problem..

After selecting the file by using the browse-button in coppermine, the file is transmitted to the server (it says: "1 uploads were successful." and I can actually see the file on the webserver location in directoryname "10001" (/albums/userpics/10001/filename.jpg). When I then click 'CONTINUE', I get to a page where I actually have to enter the details like "Album", "File title", "File description" and "Keywords". When I then click on 'CONTINUE', I get the error: HTTP 500, The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

I have (double)checked *NIX permissions for the /albums, /albums/userpics, and /albums/edit directories. All are set to 777. I have also configured my Coppermine to allow only a single file to be uploaded at once.

I've been searching in these forums for "The previous file could not be placed" and that search returns several threads. (This and this and this and this, but no solution so far???) I'm trying to get Coppermine to work for several days now, so now I registered to this forum and post my problem.

Any help would be appreciated?!!

Thanks,
Igor.

[edit]Oh, and I can add that I don't use imagemagic, but using gd2 instead.... [/edit]
[edit2]If somebody is willing to help me: http://fotoalbum.freefronthost.com (tester/tester)[/edit2]
[edit3]Weird, I wanted to supply my link to the phpinfo.php file, but when trying to access: http://fotoalbum.freefronthost.com/phpinfo.php I got error: You don't have permission to access this page. Would that be related? Meanwhile, I have a working1 here: http://ikerstges.freefronthost.com/phpinfo.php[/edit3]

kegobeer

500 errors are typically due to a server problem and not a script problem.  You may find more detailed information in your server error logs.  Without any further information, there's not much we can do to help you isolate what's causing this error.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

reuelv

I got a Server Error 500 after after the 'place file' page.
Then I found that small files worked OK, large ones fail.
This points to being something to do with memory usage.
My webhost said the error is caused by a php failure before headers are sent out.
On inspection of upload.php, I found that headers are only sent out in conditional blocks.
I don't think there is any default header that is sent out.

To fix this temporarily, I added:
             pageheader('TESTHEADER');
after the line
###### MAIN CODE BLOCK #########
in upload.php

Then I tried uploading and got the true error message:
Allowed memory size exhausted
...which agrees with the diagnosis - (See FAQ on this problem).

In your case it may be another problem but hopefully this will help finding it.