News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Error message during uploading jpg file

Started by ccjong, October 12, 2003, 03:57:46 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

ccjong

As a user, I used the uploading facility to upload a jpg file to the Coppermine. But it did not complete the uploading process but an error message

Script called without the required parameter(s).

Please help..... Thanks.

I did enter all the info required.

hyperion

More info please.

Have you altered the the program in any way? If so, how? How are you trying to upload the photo (step by step)?  This error is quite unique, and should not be seen during normal use.
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

ccjong

Thanks Hyperion.

These are the steps I did

Login as user
Create album
Upload picture
- Select album
- Browse to get the correct file
- Type in picture title
- Type in the description
- Type in the keywards
Upload picture

The error message (debug is on)
Script called without the required parameter(s).
File /home/admin/www.fandcm.com/html/coppermine/db_input.php - Line 37

I am quite new in PHP, really appreciate if you can help.
 cry
All other functions work perfectly.

Thanks again.

ccjong

I did not alter any of the scripts.

I did modify the template.html under themes/default directory. I deleted

 <h1>{GAL_NAME}</h1>
<h3>{GAL_DESCRIPTION}</h3>

Thanks again.

hyperion

Okay, the script is saying that it does not recognize the method by which the data is being transferred.  Essentially, it is looking for data using the variable tracking method. The problem could be in the following places:

First, check your PHP version against the basic requirements. It may be too old.

Second, check your php.ini and make sure you have turned register globals off.  If they are on, it could cause this problem, and having them on is a major security risk anyway. Also make sure track-vars is enabled.

Third, check upload.php and make sure the form action is set to post. (Line 214)

Fourth,  leave feedback.  :)

-Hyperion
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Ingo

Hi ccjong,

I have the same issue but ... :shock: ... only with large files.

Try for testing a small picture (e.g. 100 KB).

Regards,
Ingo

ccjong

Thanks Hyperion,\.

The Perl version is 4.1.2

In php.ini, register globals is ON. By the way, the files_upload is OFF, do I need to change to ON?

Where can I find the track-vars?

Form method is Post.

Really appreciate your help.

Thanks again.

hyperion

Dear ccjong,

QuoteThe Perl version is 4.1.2

I hope you mean that is your PHP version.  :) If it is, then track_vars is already enabled.

Change your php.ini to the following:

register_globals = Off


and


file_uploads = On


Let me know if that works for you.  :)

-Hyperion
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

NormWinkel

Step by step...

Step (1) I selected the Upload Picture Tab.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fpublic.winkel.bz%2FNorm.Winkel.Bz%2520Storage%2520Area%2Fpic1.jpg&hash=796106ab6c4202ffa18fb97d1491656b5447809c)
Step (2) I selected the Album from the drop down menu box.
Step (3) I clicked on the button Browse...
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fpublic.winkel.bz%2FNorm.Winkel.Bz%2520Storage%2520Area%2Fpic3.jpg&hash=21595387e6af63c93b180b863ace901201d4e020)
Step (4) I selected a JPEG picture from the file system on my box.
Step (5) I entered the information as shown below.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fpublic.winkel.bz%2FNorm.Winkel.Bz%2520Storage%2520Area%2Fpic2.jpg&hash=672a101a791bf7cdf4237d2f54da9b0373c5f1ce)
Step (6) I clicked the Upload Picture button[b/]
Step (7) I received the following error.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fpublic.winkel.bz%2FNorm.Winkel.Bz%2520Storage%2520Area%2Fpic4.jpg&hash=093dfec3a30a219cae254c8c25c731937b9e83f8)

hyperion

NormWinkel,

Did you troubleshoot as I have instructed?  Have you turned on debug mode?

-Hyperion
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

ccjong

Thanks Hyperion.

Managed to change
register_globals = Off
file_uploads = On

but still the same problem.... cry

In /etc/php.ini, do I need to set the default temp uploading directory? If yes, which directory?

Thanks again.

NormWinkel

I checked all of the above mentioned settings. I did have registered globals = on. It is now off.

I do have upload on.

I am using PHP 4.3.3 and I am also wondering about the track-vars?Where can you find it and what does it need to be set to?

I tried uploading a small photo as suggested above as well.

I tried a 1 KB and it uploaded it.
I tried a 3 KB and it uploaded it.
I tried a 4 KB and it failed with the same error as listed above.

No where close to the size mentioned above. They are barely thumb nails.

Any help with this issue would be great.

NormWinkel

These are the errors as seen in debug mode.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fpublic.winkel.bz%2FNorm.Winkel.Bz%2520Storage%2520Area%2Fpic5.jpg&hash=9606f60abb992ad0ef6ccff88bdf2703f1be6bb2)
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fpublic.winkel.bz%2FNorm.Winkel.Bz%2520Storage%2520Area%2Fpic6.jpg&hash=5abb3b55b10327a34051cb14d90c2f15743fdf55)

Thanks,

I really appreciate the help...

I am actually surprised how fast you are with your replies.

hyperion

@ccjong: Be sure to reboot Apache after making those changes.  They won't take effect unless you do.  Also try uploading the very small images.  Let me know what happens. Don't worry about the temporary upload location yet. That would generate a different error.

@NormWinkel: Be sure to reboot Apache.  The small image behavior is very interesting. If the problem persists after restarting Apache, could you post your HTML source for the upload page? The debug array you've posted confirms what the error message is saying, which is that no info is being passed to the script in the expected form.

Also, track-vars should be track_vars (my typing mistake), and it should be on by default in both of your PHP versions.
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

NormWinkel

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="ltr">
<title>Winkel.Bz - Online Photo Album Project - Upload picture</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<link rel="stylesheet" href="themes/rainy_day/style.css" />
<script type="text/javascript" src="scripts.js"></script>
</head>

<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<!-- fwtable fwsrc="template.png" fwbase="template.gif" fwstyle="Generic" fwdocid = "742308039" fwnested="1" -->
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td><img name="template_r1_c1" src="themes/rainy_day/images/template_r1_c1.gif" width="42" height="55" border="0" id="template_r1_c1" alt="" /></td>
              <td width="100%" background="themes/rainy_day/images/template_r1_c5.gif">                <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
<!-- BEGIN my_gallery -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="index.php?cat=10001" title="Go to my personal gallery">My gallery</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END my_gallery -->


<!-- BEGIN leave_admin_mode -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="admin.php?admin_mode=0&referer=%2Fmodules%2Fcoppermine%2Fupload.php" title="Switch to user mode">User mode</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="upload.php" title="Upload a picture into an album">Upload picture</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END upload_pic -->


<!-- BEGIN logout -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="logout.php?referer=%2Fmodules%2Fcoppermine%2Fupload.php">Logout [Admin]</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END logout -->
                                </tr>
                        </table>
                </span></td>
           <td><img name="template_r1_c6" src="themes/rainy_day/images/template_r1_c6.gif" width="42" height="55" border="0" id="template_r1_c6" alt="" /></td>
          </tr>
        </table></td>
  </tr>
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td><img name="template_r2_c1" src="themes/rainy_day/images/template_r2_c1.gif" width="18" height="57" border="0" id="template_r2_c1" alt="" /></td>
              <td width="100%" background="themes/rainy_day/images/template_r2_c2.gif"><h1>&nbsp;Winkel.Bz - Online Photo Album Project</h1></td>
           <td><img name="template_r2_c10" src="themes/rainy_day/images/template_r2_c10.gif" width="16" height="57" border="0" id="template_r2_c10" alt="" /></td>
          </tr>
        </table></td>
  </tr>
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td><img name="template_r3_c1" src="themes/rainy_day/images/template_r3_c1.gif" width="560" height="67" border="0" id="template_r3_c1" alt="" /></td>
              <td width="100%" background="themes/rainy_day/images/template_r3_c7.gif">&nbsp;</td>
           <td><img name="template_r3_c9" src="themes/rainy_day/images/template_r3_c9.gif" width="42" height="67" border="0" id="template_r3_c9" alt="" /></td>
          </tr>
        </table></td>
  </tr>
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td background="themes/rainy_day/images/template_r4_c1.gif"><img name="template_r4_c1" src="themes/rainy_day/images/template_r4_c1.gif" width="42" height="26" border="0" id="template_r4_c1" alt="" /></td>
              <td width="100%" align="right" background="themes/rainy_day/images/template_r4_c3.gif">                <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
<!-- BEGIN album_list -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="index.php" title="Go to the album list">Album list</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
<!-- END album_list -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="thumbnails.php?album=lastup">Last uploads</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="thumbnails.php?album=lastcom">Last comments</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="thumbnails.php?album=topn">Most viewed</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="thumbnails.php?album=toprated">Top rated</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="button1_r1_c1" src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" id="button1_r1_c1" alt="" /></td>
                                        <td background="themes/rainy_day/images/button1_r1_c2.gif">
                                                <a href="search.php">Search</a>
                                        </td>
                                        <td><img name="button1_r1_c3" src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" id="button1_r1_c3" alt="" /></td>
                                </tr>
                        </table>
                </span></td>
           <td background="themes/rainy_day/images/template_r4_c9.gif"><img name="template_r4_c9" src="themes/rainy_day/images/template_r4_c9.gif" width="42" height="26" border="0" id="template_r4_c9" alt="" /></td>
          </tr>
        </table></td>
  </tr>
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td><img name="template_r5_c1" src="themes/rainy_day/images/template_r5_c1.gif" width="42" height="20" border="0" id="template_r5_c1" alt="" /></td>
           <td><img name="template_r5_c3" src="themes/rainy_day/images/template_r5_c3.gif" width="14" height="20" border="0" id="template_r5_c3" alt="" /></td>
              <td width="100%" background="themes/rainy_day/images/template_r5_c4.gif">&nbsp;</td>
           <td><img name="template_r5_c8" src="themes/rainy_day/images/template_r5_c8.gif" width="14" height="20" border="0" id="template_r5_c8" alt="" /></td>
           <td><img name="template_r5_c9" src="themes/rainy_day/images/template_r5_c9.gif" width="42" height="20" border="0" id="template_r5_c9" alt="" /></td>
          </tr>
        </table></td>
  </tr>
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td background="themes/rainy_day/images/template_r6_c1.gif"><img name="template_r6_c1" src="themes/rainy_day/images/template_r6_c1.gif" width="42" height="328" border="0" id="template_r6_c1" alt="" /></td>
              <td width="100%" align="center" background="themes/rainy_day/images/template_r6_c3.gif" style="padding-left: 10px; padding-right: 10px;">
                <div align="left">
                <table cellpadding="0" cellspacing="1">
                        <tr>
                                <td class="admin_menu"><a href="editpics.php?mode=upload_approval" title="">Upload approval</a></td>
                                <td class="admin_menu"><a href="config.php" title="">Config</a></td>
                                <td class="admin_menu"><a href="albmgr.php" title="">Albums</a></td>
                                <td class="admin_menu"><a href="catmgr.php" title="">Categories</a></td>
                                <td class="admin_menu"><a href="usermgr.php" title="">Users</a></td>
                                <td class="admin_menu"><a href="groupmgr.php" title="">Groups</a></td>
                                <td class="admin_menu"><a href="reviewcom.php" title="">Comments</a></td>
                                <td class="admin_menu"><a href="searchnew.php" title="">Batch add pictures</a></td>
                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="">My profile</a></td>
                        </tr>
                </table>
                </div>

           
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh1" colspan="2"><h2>Upload picture</h2></td>
        </tr>

<script language="JavaScript">
function textCounter(field, maxlimit) {
        if (field.value.length > maxlimit) // if too long...trim it!
        field.value = field.value.substring(0, maxlimit);
}
</script>

<form method="post" action="db_input.php" ENCTYPE="multipart/form-data">
<input type="hidden" name="event" value="picture">
        <tr>
                <td class="tableh2" colspan="2">
                        <b>Maximum allowed file size is 10000 KB</b>
                </td>
        </tr>
        <tr>
            <td class="tableb">
                        Album
        </td>
        <td class="tableb" valign="top">
                <select name="album" class="listbox">
                        <option value="2">* My Personal Album</option>
                        <option value="5">Avatars</option>
                        <option value="4">Random Photos</option>
                        </select>
                </td>
        </tr>
        <tr>
            <td class="tableb">
                        Picture
        </td>
        <td class="tableb" valign="top">
                        <input type="hidden" name="MAX_FILE_SIZE" value="10240000">
                        <input type="file" name="userpicture" size="40" class="listbox">
                </td>
        </tr>
        <tr>
            <td width="40%" class="tableb">
                        Picture title
        </td>
        <td width="60%" class="tableb" valign="top">
                <input type="text" style="width: 100%" name="title" maxlength="255" value="" class="textinput">
                </td>
        </tr>
        <tr>
                <td class="tableb" valign="top">
                        Picture description
                </td>
                <td class="tableb" valign="top">
                        <textarea name="caption" rows="5" cols="40" wrap="virtual"  class="textinput" style="width: 100%;" onKeyDown="textCounter(this, 512);" onKeyUp="textCounter(this, 512);"></textarea>
                </td>
        </tr>        <tr>
            <td width="40%" class="tableb">
                        Keywords (separate with spaces)
        </td>
        <td width="60%" class="tableb" valign="top">
                <input type="text" style="width: 100%" name="keywords" maxlength="255" value="" class="textinput">
                </td>
        </tr>
        <input type="hidden" name="user1" value="">
        <input type="hidden" name="user2" value="">
        <input type="hidden" name="user3" value="">
        <input type="hidden" name="user4" value="">
        <tr>
                <td colspan="2" align="center" class="tablef">
                        <input type="submit" value="Upload picture" class="button">
                </td>
                </form>
        </tr>
</table>
<!-- End standard table -->

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh1" colspan="1"><h2>Debug info</h2></td>
        </tr>
<tr><td class="tableb">USER: <pre>Array
(
    [ID] => 71b56610e848386dde465eade5dba9da
    [am] => 1
    [liv] => Array
        (
           
  • => 5
  • [1] => 6
                [2] => 7
            )

    )
    </pre></td></tr><td class="tableb">GET :<pre>Array
    (
    )
    </pre></td></tr><td class="tableb">POST :<pre>Array
    (
    )
    </pre></td></tr><td class="tableb" align="center">                Page generated in <b>0.08</b> seconds - <b>2</b> queries in <b>0.002</b> seconds - Album set : </td></tr></table>
    <!-- End standard table -->
    <div class="footer" align="center" style="padding-top: 10px;">Powered by <a href="
http://www.chezgreg.net/coppermine/" target="_blank">Coppermine Photo Gallery</a></div> </td><td background="themes/rainy_day/images/template_r6_c9.gif"><img name="template_r6_c9" src="themes/rainy_day/images/template_r6_c9.gif" width="42" height="328" border="0" id="template_r6_c9" alt="" /></td>
          </tr>
        </table></td>
  </tr>
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td><img name="template_r7_c1" src="themes/rainy_day/images/template_r7_c1.gif" width="42" height="47" border="0" id="template_r7_c1" alt="" /></td>
           <td><img name="template_r7_c3" src="themes/rainy_day/images/template_r7_c3.gif" width="208" height="47" border="0" id="template_r7_c3" alt="" /></td>
              <td width="100%" background="themes/rainy_day/images/template_r7_c5.gif">&nbsp;</td>
           <td><img name="template_r7_c6" src="themes/rainy_day/images/template_r7_c6.gif" width="208" height="47" border="0" id="template_r7_c6" alt="" /></td>
           <td><img name="template_r7_c9" src="themes/rainy_day/images/template_r7_c9.gif" width="42" height="47" border="0" id="template_r7_c9" alt="" /></td>
          </tr>
        </table></td>
  </tr>
</table>
</body>
</html>

NormWinkel

I hope it isn't a problem, but I am not running Apache.

I looked under the minimum requirements prior to doing the install and Apache was not a requirement.

I am later planning on integrating this into my Postnuke site though.

I am running KeyFocus Webserver.

I run Postnuke on it and I don't have any problems. The only drawback is I can't run code which requires mod-rewrite (an Apache feature).

I do have both GD2 and ImageMagick. Is there a prefered one to use for the settings?

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fpublic.winkel.bz%2FNorm.Winkel.Bz%2520Storage%2520Area%2Fpic7.jpg&hash=d4d1d58a006c424fd567154b6a9ee07919e04be2)

Here is a link to my configuration in case you are interested. It might help you know what you are working with.

http://www.winkel.bz/phpinfo.php

hyperion

No, Apache is not required.  :)  Just make sure your turn your web server software off and then back on so that it can reload the new php.ini after you make any changes to it.

This problem is definitely a configuration issue, so I want you to try the following script:


<?php
if &#40;isset&#40;$_POST['action'&#93;&#41; && $_POST['action'&#93; == 'submitted'&#41; &#123;
    
print '<pre>';
    
print_r&#40;$_POST&#41;;
    
print '<a href="'$_SERVER['PHP_SELF'&#93; .'">Please try again</a>';

    
print '</pre>';
&
#125; else &#123;
?>

<form action="<?php echo $_SERVER['PHP_SELF'&#93;; ?>" method="POST">
    Name:  <input type="text" name="personal[name]"><br>
    Email: <input type="text" name="personal[email]"><br>
    Beer: <br>
    <select multiple name="beer[]">
        <option value="warthog">Warthog</option>
        <option value="guinness">Guinness</option>
        <option value="stuttgarter">Stuttgarter Schwabenbräu</option>
    </select><br>
    <input type="hidden" name="action" value="submitted">
    <input type="submit" name="submit" value="submit me!">
</form>
<?php
&#125;
?>



Save it under whatever name you like, and run it.  When you hit submit, the page will change to a printout if variables are being passed, otherwise, the form will appear with its default values.

Please let me know the outcome of the test.
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

Joachim Müller

  • afaik coppermine has never been tested with "KeyFocus Webserver" (in fact, I've never heard about it). If you manage to get coppermine fully up-and-running on your server, please report, so we can check this on our compability list
  • I did a quick search on the old board - seems like this error only occurs for people running their own server: I'd go for a wrong server configuration. Edit your php.ini and look for the parameterfile_uploads - should be turned "on".
  • If you have both GD and IM, I'd go for IM because it has slightly better quality and gif support
  • [/list:u]GauGau

NormWinkel

This is what I entered before clicking on Submit.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fpublic.winkel.bz%2FNorm.Winkel.Bz%2520Storage%2520Area%2Fpic8.jpg&hash=31556f675b282e30db75e19c194f6e193b0d5f48)

This is the output it gave me after clicking on Submit.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fpublic.winkel.bz%2FNorm.Winkel.Bz%2520Storage%2520Area%2Fpic9.jpg&hash=c02e98ef8bf864d779be267450dc22e01920bcc6)

I hope it helps. :shock:

hyperion

Okay, so we know that you can pass variables using PHP and your server.

Try uploading in Coppermine again.  :)
&quot;Then, Fletch,&quot; that bright creature said to him, and the voice was very kind, &quot;let&#039;s begin with level flight . . . .&quot;

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)