Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: Error message during uploading jpg file  (Read 44264 times)

0 Members and 1 Guest are viewing this topic.

ccjong

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://www.fandcm.com
Error message during uploading jpg file
« on: October 12, 2003, 03:57:46 pm »

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.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Error message during uploading jpg file
« Reply #1 on: October 13, 2003, 04:51:30 am »

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.
Logged
"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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

ccjong

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://www.fandcm.com
Error message during uploading jpg file
« Reply #2 on: October 13, 2003, 06:20:04 pm »

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.
Logged

ccjong

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://www.fandcm.com
Error message during uploading jpg file
« Reply #3 on: October 13, 2003, 06:25:20 pm »

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.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Error message during uploading jpg file
« Reply #4 on: October 13, 2003, 06:53:46 pm »

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
Logged
&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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

Ingo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Upload problems
« Reply #5 on: October 13, 2003, 07:25:15 pm »

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
Logged

ccjong

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://www.fandcm.com
Error message during uploading jpg file
« Reply #6 on: October 13, 2003, 07:30:44 pm »

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.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Error message during uploading jpg file
« Reply #7 on: October 13, 2003, 07:39:57 pm »

Dear ccjong,

Quote
The 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:
Code: [Select]

register_globals = Off


and

Code: [Select]

file_uploads = On


Let me know if that works for you.  :)

-Hyperion
Logged
&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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

NormWinkel

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Same problem as above
« Reply #8 on: October 13, 2003, 07:46:32 pm »

Step by step...

Step (1) I selected the Upload Picture Tab.
(http://public.winkel.bz/Norm.Winkel.Bz%20Storage%20Area/pic1.jpg)
Step (2) I selected the Album from the drop down menu box.
Step (3) I clicked on the button Browse...
(http://public.winkel.bz/Norm.Winkel.Bz%20Storage%20Area/pic3.jpg)
Step (4) I selected a JPEG picture from the file system on my box.
Step (5) I entered the information as shown below.
(http://public.winkel.bz/Norm.Winkel.Bz%20Storage%20Area/pic2.jpg)
Step (6) I clicked the Upload Picture button[b/]
Step (7) I received the following error.
(http://public.winkel.bz/Norm.Winkel.Bz%20Storage%20Area/pic4.jpg)
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Error message during uploading jpg file
« Reply #9 on: October 13, 2003, 07:51:24 pm »

NormWinkel,

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

-Hyperion
Logged
&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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

ccjong

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://www.fandcm.com
Error message during uploading jpg file
« Reply #10 on: October 13, 2003, 08:00:46 pm »

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.
Logged

NormWinkel

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Me again...
« Reply #11 on: October 13, 2003, 08:03:53 pm »

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.
Logged

NormWinkel

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
I turned on debug mode....
« Reply #12 on: October 13, 2003, 08:19:10 pm »

These are the errors as seen in debug mode.
(http://public.winkel.bz/Norm.Winkel.Bz%20Storage%20Area/pic5.jpg)
(http://public.winkel.bz/Norm.Winkel.Bz%20Storage%20Area/pic6.jpg)

Thanks,

I really appreciate the help...

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

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Error message during uploading jpg file
« Reply #13 on: October 13, 2003, 08:39:16 pm »

@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.
Logged
&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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

NormWinkel

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Here is my HTML for the Upload Page
« Reply #14 on: October 13, 2003, 08:57:13 pm »

<!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>
Logged

NormWinkel

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Not running Apache...
« Reply #15 on: October 13, 2003, 09:17:47 pm »

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?

(http://public.winkel.bz/Norm.Winkel.Bz%20Storage%20Area/pic7.jpg)

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
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Error message during uploading jpg file
« Reply #16 on: October 13, 2003, 09:34:59 pm »

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:

Code: [Select]

<?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.
Logged
&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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Error message during uploading jpg file
« Reply #17 on: October 13, 2003, 09:47:09 pm »

  • 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 parameter
    Code: [Select]
    file_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
Logged

NormWinkel

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Here are the results...
« Reply #18 on: October 13, 2003, 09:55:34 pm »

This is what I entered before clicking on Submit.

(http://public.winkel.bz/Norm.Winkel.Bz%20Storage%20Area/pic8.jpg)

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

(http://public.winkel.bz/Norm.Winkel.Bz%20Storage%20Area/pic9.jpg)

I hope it helps. :shock:
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Error message during uploading jpg file
« Reply #19 on: October 13, 2003, 10:13:59 pm »

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

Try uploading in Coppermine again.  :)
Logged
&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

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)
Pages: [1] 2   Go Up
 

Page created in 0.032 seconds with 19 queries.