Author Topic: Error uploading files after update from 17.2 - 1.7.3  (Read 11969 times)

0 Members and 1 Guest are viewing this topic.

Offline michaeldsears

  • Newbie
  • *
  • Posts: 12
    • View Profile
Error uploading files after update from 17.2 - 1.7.3
« on: August 04, 2006, 12:08:22 AM »
Hello,

can anyone give me a hint as to how fix this ? I have updated from 1.7.2 to 1.7.3 edited my custom template and I still get this error ..... error upload file .... I get the vialation image and anything looks great.... anyone ?


thanks.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #1 on: August 04, 2006, 12:31:08 AM »
and same exact file you could upload in v1.7.2?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline michaeldsears

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #2 on: August 04, 2006, 12:33:12 AM »
yes - I just trying to get my template working before I move it over this on a test server.

I dont want update untill I can make sure my template going to work this the one thing NOT working.....


PHP Version 5.1.2
MySQL 4.1.19
Windows 2003 Server .....

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #3 on: August 04, 2006, 12:51:23 AM »
so, compare the member_uploadform.html template with the default one
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline michaeldsears

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #4 on: August 04, 2006, 01:15:41 AM »
My code......

Code: [Select]
<form method="post" action="{url_member}" enctype="multipart/form-data" onsubmit="uploadbutton.disabled=true;">
 <input type="hidden" name="action" value="uploadimage" />
  {if cat_id}<input type="hidden" name="cat_id" value="{cat_id}" />{endif cat_id}
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
    <tr>
      <td valign="top" class="head1">
        <table width="100%" border="0" cellpadding="4" cellspacing="0">
          <tr>
            <td colspan="2" valign="top" class="head1">{lang_user_upload}</td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_category}</b></td>
            <td class="row1">{cat_name}</td>
          </tr>
          <tr>
            <td class="row2" valign="top">
  <b>{lang_media_file}</b><br />
  <span class="smalltext">
  {lang_max_filesize}<b>{max_media_filsize}</b><br />
  {lang_max_imagewidth}<b>{max_media_imagewidth}</b><br />
  {lang_max_imageheight}<b>{max_media_imageheight}</b><br />
  </span>
</td>
            <td class="row2">
              <b>Upload:</b><br />
  <input type="file" name="media_file" class="input" /><br />
  <b>URL:</b><br />
  <input type="text" name="remote_media_file"  size="30" value="{remote_file}" class="input" /><br />
  <span class="smalltext"><b>{lang_allowed_file_types}</b> {allowed_media_types}</span>
            </td>
          </tr>
          <tr>
            <td class="row1" valign="top">
  <b>{lang_thumb_file}</b><br />
  <span class="smalltext">
  {lang_max_filesize}<b>{max_thumb_filsize}</b><br />
  {lang_max_imagewidth}<b>{max_thumb_imagewidth}</b><br />
  {lang_max_imageheight}<b>{max_thumb_imageheight}</b><br />
  </span>
</td>
            <td class="row1">
              <b>Upload:</b><br />
  <input type="file" name="thumb_file" class="input" /><br />
  <b>URL:</b><br />
  <input type="text" name="remote_thumb_file"  size="30" value="{remote_thumb_file}" class="input" /><br />
  <span class="smalltext"><b>{lang_allowed_file_types}</b> {allowed_thumb_types}</span>
            </td>
          </tr>
          <tr>
            <td class="row2"><b>{lang_image_name}</b></td>
            <td class="row2">
              <input type="text" name="image_name"  size="30" value="{image_name}" class="input" />
            </td>
          </tr>
          <tr>
            <td class="row1" valign="top"><b>{lang_description}</b></td>
            <td class="row1">
              <textarea name="image_description" cols="30" class="textarea" rows="5" wrap="VIRTUAL">{image_description}</textarea>
            </td>
          </tr>
          <tr>
            <td class="row2" valign="top"><b>{lang_keywords}</b></td>
            <td class="row2">
              <textarea cols="30" class="textarea" rows="5" wrap="VIRTUAL" name="image_keywords">{image_keywords}</textarea>
            </td>
          </tr>
          {if captcha_upload}
          <tr>
            <td class="row1" valign="top"><b>{lang_captcha}</b></td>
            <td class="row1">
              <a href="javascript:new_captcha_image();"><img src="{url_captcha_image}" border="0" id="captcha_image" /></a> <br />
              <input type="text" name="captcha" size="30" value="" class="commentinput" id="captcha_input" />
              <br />
              {lang_captcha_desc}
            </td>
          </tr>
          {endif captcha_upload}
  <tr>
            <td class="row2" valign="top"><b>{lang_image_photographer}</b></td>
            <td class="row2">
              <textarea cols="30" class="textarea" rows="5" wrap="VIRTUAL" name="image_photographer">{image_photographer}</textarea>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <input type="hidden" name="action" value="uploadimage" />
  <input type="hidden" name="cat_id" value="{cat_id}" />
  <p align="center">
    <input type="submit" name="uploadbutton" value="{lang_submit}" class="button" />
    <input type="reset" value="{lang_reset}" class="button" />
  </p>
</form>


The Defalt

Code: [Select]
<form method="post" action="{url_member}" enctype="multipart/form-data" onsubmit="uploadbutton.disabled=true;">
  <input type="hidden" name="action" value="uploadimage" />
  {if cat_id}<input type="hidden" name="cat_id" value="{cat_id}" />{endif cat_id}
  <table width="100%" border="0" cellspacing="0" cellpadding="1">
    <tr>
      <td valign="top" class="head1">
        <table width="100%" border="0" cellpadding="4" cellspacing="0">
          <tr>
            <td colspan="2" valign="top" class="head1">{lang_user_upload}</td>
          </tr>
          <tr>
            <td class="row1"><b>{lang_category}</b></td>
            <td class="row1">{cat_name}</td>
          </tr>
          <tr>
            <td class="row2" valign="top">
  <b>{lang_media_file}</b><br />
  <span class="smalltext">
  {lang_max_filesize}<b>{max_media_filsize}</b><br />
  {lang_max_imagewidth}<b>{max_media_imagewidth}</b><br />
  {lang_max_imageheight}<b>{max_media_imageheight}</b><br />
  </span>
</td>
            <td class="row2">
              <b>Upload:</b><br />
  <input type="file" name="media_file" class="input" /><br />
  <b>URL:</b><br />
  <input type="text" name="remote_media_file"  size="30" value="{remote_media_file}" class="input" /><br />
  <span class="smalltext"><b>{lang_allowed_file_types}</b> {allowed_media_types}</span>
            </td>
          </tr>
          <tr>
            <td class="row1" valign="top">
  <b>{lang_thumb_file}</b><br />
  <span class="smalltext">
  {lang_max_filesize}<b>{max_thumb_filsize}</b><br />
  {lang_max_imagewidth}<b>{max_thumb_imagewidth}</b><br />
  {lang_max_imageheight}<b>{max_thumb_imageheight}</b><br />
  </span>
</td>
            <td class="row1">
              <b>Upload:</b><br />
  <input type="file" name="thumb_file" class="input" /><br />
  <b>URL:</b><br />
  <input type="text" name="remote_thumb_file"  size="30" value="{remote_thumb_file}" class="input" /><br />
  <span class="smalltext"><b>{lang_allowed_file_types}</b> {allowed_thumb_types}</span>
            </td>
          </tr>
          <tr>
            <td class="row2"><b>{lang_image_name}</b></td>
            <td class="row2"><input type="text" name="image_name"  size="30" value="{image_name}" class="input" /></td>
          </tr>
          <tr>
            <td class="row1" valign="top"><b>{lang_description}</b></td>
            <td class="row1">
              <textarea name="image_description" cols="30" class="textarea" rows="10" wrap="VIRTUAL">{image_description}</textarea>
            </td>
          </tr>
          <tr>
            <td class="row2" valign="top"><b>{lang_keywords}</b></td>
            <td class="row2">
              <textarea cols="30" class="textarea" rows="10" wrap="VIRTUAL" name="image_keywords">{image_keywords}</textarea>
            </td>
          </tr>
{if captcha_upload}
          <tr>
            <td class="row1" valign="top"><b>{lang_captcha}</b></td>
            <td class="row1">
  <a href="javascript:new_captcha_image();"><img src="{url_captcha_image}" border="0" id="captcha_image" /></a> <br />
              <input type="text" name="captcha" size="30" value="" class="commentinput" id="captcha_input" />
              <br />
              {lang_captcha_desc}
</td>
          </tr>
          {endif captcha_upload}
        </table>
      </td>
    </tr>
  </table>
  <p align="center">
    <input type="submit" name="uploadbutton" value="{lang_submit}" class="button" />
    <input type="reset" value="{lang_reset}" class="button" />
  </p>
</form>
« Last Edit: August 04, 2006, 01:29:23 AM by michaeldsears »

Offline michaeldsears

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #5 on: August 04, 2006, 01:26:24 AM »
I dont see anything that would cause it to give the error.  maybe I am missing it something somewhere....

btw I thank you for helping. :)

Offline michaeldsears

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #6 on: August 04, 2006, 01:43:15 AM »
in fact we just try the dafalt template and getting the same error .... so something up wiht the the update it's self.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #7 on: August 04, 2006, 02:10:13 AM »
what is the exact error says?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline michaeldsears

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #8 on: August 04, 2006, 02:21:39 AM »
Control Panel
--------------------------------------------------------------------------------
Error uploading image file:



  Upload Image
Category: testing
Image File:
Max. File Size: 2000 kb
Max. Image Width: 1024 px
Max. Image Height: 1024 px
 Upload:

URL:

Valid extensions: jpg, gif, png, aif, au, avi, mid, mov, mp3, mpg, swf, wav, ra, rm, zip, pdf 
Thumbnail File:
Max. File Size: 100 kb
Max. Image Width: 102 px
Max. Image Height: 116 px
 Upload:

URL:

Valid extensions: jpg, gif, png 
Image Name: 
Description:   
Keywords:
Keywords must be seperated by spaces.   
 

 

 
 

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #9 on: August 04, 2006, 08:56:22 AM »
( Upload Image : Max. File Size: 2000 kb ) > ( ACP Settings : Max. File Size: 100 kb )

Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline michaeldsears

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #10 on: August 04, 2006, 07:13:33 PM »
ok that dont have anything th at do with it ...... cause the images that are being upload a 102 x 116 Avataras use in chat and are less the 11kb ..... I changed permisson in the data dir to ful l I am using windows 2003 server.  there something wrong with upgrade pross. because I did full in stall using my template and it works find ..... but I have over 10k images and I dont want redo them.
« Last Edit: August 04, 2006, 07:26:56 PM by michaeldsears »

Offline michaeldsears

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #11 on: August 04, 2006, 07:29:30 PM »
bye the way that same setting works in 1.7.2 and if I remember right its the defalut setting.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #12 on: August 04, 2006, 08:12:57 PM »
and how did you update it? did you change data folder? did you check the permissions?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline michaeldsears

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #13 on: August 04, 2006, 08:50:22 PM »
followed the update.text in zip .... renamed the config.php uplaoded all the files .... copyed the new files to my template did the changes outlined from the boards here, .....  set  /wwwroot/test/data/media/ *777* set /wwwroot/test/data/thumbnails/ *777*  there only one catag and it's call test ..... funny thing is I dont see a dir in data for it .... should it be 1 under data ?

thansks again for helping me.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Error uploading files after update from 17.2 - 1.7.3
« Reply #14 on: August 04, 2006, 08:56:18 PM »
hmmm....ok, in data/media/ and data/thumbnails/ folders must be numbered folders that represent your categories IDs.
For example if you have a category with ID 2, in both meda and thumbnails folders must be present subfolder with name "2" (without quotes)
If the folders dont exist, you must recreate them manualy and do chmod 777
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)