close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Upload Images Problem

Thread began 8/04/2009 2:24 pm by rharman1306375 | Last modified 9/21/2009 1:44 pm by Jason Byrnes | 1590 views | 9 replies |

rharman1306375

Upload Images Problem

Hi

I read all the support threads but am not able to resolve my issue.

I get the error message Please enter a valid file (.gif, .jpg, .jpeg, .png).

I am still testing the store on my PC, running XP and php 5.3

I have set the folder permissions so all of my users have full access.

I have tried various different directories, all with ful permissions, but the product will not load since the images are not being upload.

It seems one persons issue was solved, but the suggestions are not working for me.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

It is possible that there is a function being used that has been deprecated in php5.3.


try adding the following at line 1 if the products insert page to see if there is a php error occurring:

php:
<?php 

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



If any errors are being displayed, please post back the text of the error.

Sign in to reply to this post

rharman1306375

Hi

I tried the code, but had the same result, without any error code.

What should we try next?

Sign in to reply to this post

Jason ByrnesWebAssist

I will need to debug this issue with you.

I have created a technical support ticket, please update the ticket by logging into your support history at;
supporthistory.php

Sign in to reply to this post

Paul

Jason,

Please post the results when you have fixed his problem. I'm having the same issue with PS1 and PS2.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

In debugging this issue, we came across two problems:
1) Permissions on the image upload folder - The IUSR_<Machine_Name> Account had no permissions set on the upload folder. We set it to full.

2) PHP 5.3 has deprecated the split function, this function is used in the WA_ValidationToolkit/WAVT_Scripts_PHP.php file. We did a find to replace all occurrences of the split function with the explode function. I am attaching a fixed copy of that file to this reply.


Paul:
Let me know if this helps out or not. If not, I will open a ticket for you as well.

Attached Files
WAVT_Scripts_PHP.zip
Sign in to reply to this post

Paul

Jason,

I made the changes that you said for the IUSR account, and also replaced the file...I still can't upload pictures. I get the: Please enter a valid file (.gif, .jpg, .jpeg, .png).

This version of PowerStore is 1.

Thanks
Paul

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket for you so we can investigate this issue. Please update your support ticket by logging into your support history at the following URL:
supporthistory.php

Sign in to reply to this post

morc.mzw383871

Powerstore V2 Upload Image issue

I have the same problem. What is the final solution? Please explain it step by step. Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

You also posted this in a another thread, see my reply there:
showthread.php?t=3693&page=2

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...