Guest Posted January 26, 2003 Posted January 26, 2003 Hey guys, on http://www.collmaninstitute.com/wwwstore/c...log/default.php when I log in as admin, and put up a new product, when I go to the "Product Image" and type in the URL of the image, it does nothing, and then underneath it, it says simply "Array" What does this mean, and how can I fix it, I have no idea why this is happening.
Guest Posted January 26, 2003 Posted January 26, 2003 btw, I did a search but couldn't come up with anything relevent, plz help :?:
Ajeh Posted January 26, 2003 Posted January 26, 2003 There is a temp fix in the contributions for this.
Guest Posted January 26, 2003 Posted January 26, 2003 Thanks for the reply, you (or anyone) wouldn't happen to have a link would they? I'm looking for it...
Ramesh Posted January 26, 2003 Posted January 26, 2003 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
Guest Posted January 27, 2003 Posted January 27, 2003 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...
toolcrazy Posted January 27, 2003 Posted January 27, 2003 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 -------------------------
toolcrazy Posted January 27, 2003 Posted January 27, 2003 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 -------------------------
Guest Posted January 27, 2003 Posted January 27, 2003 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?
toolcrazy Posted January 27, 2003 Posted January 27, 2003 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 -------------------------
MacZealot Posted January 27, 2003 Posted January 27, 2003 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.
MacZealot Posted January 27, 2003 Posted January 27, 2003 Wait. Nm. I can't. I've sent ya a private message with what to do jay. :oops:
Guest Posted January 27, 2003 Posted January 27, 2003 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?
toolcrazy Posted January 28, 2003 Posted January 28, 2003 Have you tried to do chmod with a ftp program? Steve -------------------------
MacZealot Posted January 29, 2003 Posted January 29, 2003 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.
Guest Posted January 29, 2003 Posted January 29, 2003 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?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.