Jump to content

Image upload problem to a product...?


Recommended Posts

Hi all

When adding images to products on my PC I have no problem - however my colleague seems to have issues on his PC periodically when uploading them. Quite often when he tries adding a photo, the page tries to load then basically gets stuck. I then check to see if the image has been uploaded it the admin section but the image is dead. Some images are fine but others refuse to go up.

The images are fine as I don't seem to have any problems. Is there any known fixes for this?

Many thanks

Link to comment
Share on other sites

Hi,

The file wasn't 777, but I have just changed it now and still a server error page comes up. The contents are;

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]

# Catch 404 errors
ErrorDocument 404 /404.php

Richard

Link to comment
Share on other sites

Comment out the Rewrite rules and try again, with some hosts it is not allowed.

#      RewriteEngine on

#      RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.)$ product.php?id_product=$1$3 [L,E]
#      RewriteRule ^([0-9]+)\-([a-zA-Z0-9-])(.)$ category.php?id_category=$1 [QSA,L,E]
#      RewriteRule ^([0-9]+)__([a-zA-Z0-9-])(.)$ supplier.php?id_supplier=$1$3 [QSA,L,E]
#      RewriteRule ^([0-9]+)_([a-zA-Z0-9-])(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]

Link to comment
Share on other sites

Ok I have tried this and still the same problem;

# URL rewriting module activation
#RewriteEngine on
# URL rewriting rules
#RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E]
#RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E]
#RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E]
#RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
# Catch 404 errors
#ErrorDocument 404 /404.php
php_value memory_limit 32M



I have email my host who has done this;

have increases the max_execution_time and max_input_time for your domain name "DudhillsKaraoke.com"
but again he seems to have the same problem.

Richard
Link to comment
Share on other sites

  • 3 weeks later...

Hi all

I've just tried to upload an image that both me and my friend are both having trouble uploading and checked my error log. Here it is (the stars are my IP);

*.*.*.* - - [02/Jan/2009:09:16:31 +0000] "POST /myadmin/index.php?tab=AdminCatalog&id_product=133&token=1950289469ea08a9839479465fde4cc0 HTTP/1.1" 500 6733 "http://www.dudhillskaraoke.com/myadmin/index.php?tab=AdminCatalog&id_product=133&id_category=11&addproduct&conf;=4&tabs=1&token=1950289469ea08a9839479465fde4cc0" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5"



I tried another test image which uploaded fine and got this;

*.*.*.* - - [02/Jan/2009:09:18:59 +0000] "GET /img/p/133-245-small.jpg HTTP/1.1" 404 16774 "http://www.dudhillskaraoke.com/myadmin/index.php?tab=AdminCatalog&id_product=133&id_category=11&addproduct&conf;=4&tabs=1&token=1950289469ea08a9839479465fde4cc0" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5"



As you can see they are both different. Can anyone see whats wrong?

Thanks all
Richard

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...