Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No "preview" pics...Array?


Guest

Recommended Posts

Posted

btw, I did a search but couldn't come up with anything relevent, plz help :?:

Posted

Thanks for the reply, you (or anyone) wouldn't happen to have a link would they? I'm looking for it...

Posted

In my store, If a product has no image , You see array.

 

To locate the image just browse to the folder or browse to the URL.

Special Effects / 3d + Flash

Posted

Hi, Thanks. Yes, the problem is, I want to upload an image for it, but when I try, it always rests to "Array" not sure how to fix that on new products...

Posted

Your image is not being uploaded. OSC need a temp dir to temp store the images on upload. Have you created one and chmod 777.

 

Just a thought,

Steve

-------------------------

Posted

One more thing, You can't just enter the url, you have to hit browse and find the image on your harddrive and http: upload it. OSC just won't let you just enter the URL. If the imag is all ready on your server and you want to just enter the URL you have to do this in the database.

 

I know this is a dumb way to do it, but they haven't worked the other way into the snap yet.

Steve

-------------------------

Posted
Your image is not being uploaded. OSC need a temp dir to temp store the images on upload. Have you created one and chmod 777.

 

Just a thought,

 

I think thats what I need to do, hate to be more inquisitive, but how would I go about doing that?

Posted

Just use your favorite FTP progam. Create the dir in root and then chmod to 777. You will also need to go into admin->configuration->cache and enter your full server path into "Cache Directory" be sure to include /tmp/. You may not be able to enable cache, this depends on your setup for PHP. But OSC will have a tmp dir it can use. But, there may be one more problem. If you get a error message upon upload of the image you may need to FTP the images too. I'm not going into the reason now.

Steve

-------------------------

Posted

Ok. I'll try that. LOL I was about to ask this question and then searched and was like wtf?

 

btw this is something I know how to do :) Funny I never checked that. Ow.

Posted

I'm probably driving you guys nuts, but when I try to chmod

This:

 

~/www/wwwstore/catalog$ chmod -R 777 ./images/*

 

It says Operation not permitted.

 

What am I missing?

Posted

Ok, this is the problem.

 

I've checked into the system and not only is no image being uploaded, but there's absolutely no entry anywhere for the image.

 

I know that "Array" is used when you choose no image, but in this case when we upload we are choosing.

Posted

Ok, have you checked the permissions for the file and made sure it is chmod777?

 

Have you made sure that uploading is enabled in the php.ini?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...