troubles uploading images

verrio

No avatar

2008-08-23 00:38

I've installed quick.cart 3.1 to my server it seems to work exept for one thing. Image uploading is a problem. When i upload a image from my hard drive to the webserver, it uploads but the filename is renamed to al underscores.
for example when i upload the file cat.jpg it turns to _c_a_t_._j_p_g_
after this has happend the script doesn't reconise the file and doesn't displey it in the page. How do i fix this problem.
I have a provider with GD 2.028 installed so i don't understand...

my php data can be found here.
http://transsilvania.nl/php.php

» Quick.Cart v3.x

verrio

beholder

Avatar: beholder

2008-08-25 13:20

this must be a server thing. Try it on some other provider, if it work ok, tell the first provider that it is fu*ked up.

Makaron

Avatar: Makaron

2008-08-26 11:18

Go to file libraries/FileJobs.php to function changeFileName and
comment (or remove) there lines:

$sFileName ereg_replace'\<''_'$sFileName );


and

$sFileName ereg_replace'\>''_'$sFileName );


It should help, it not try to search more lines which may cause that
and remove them. We unfortunately don't know why that is problem on
some servers.

Back to top
about us | contact