Jump to content

Prestashop installed on WAMP Server everything works but


Recommended Posts

Hello I have prestashop installed on WAMP Server on my local machine, about 99% of the images are missing from the back office and the front office I'm a newbie but I have done a few prestashop upgrades, just when I failed to complete from 1.3.7-1.4.*.* so now I want to test a local copy before I bring my website down again :-(

Thanks in advance ...

Link to comment
Share on other sites

images are stored in the folder /img
product images are stored in /img/p

did you copy the images from your live site to your local test site?


Yes I did copy all images. I also just check this location C:\wamp\www\prestashop\img\p and all product images are there!
Could it be somewhere that's not pointing to the local copy of images?

Please help!

48099_myLESAv7PTwYI09wVOSy_t

Link to comment
Share on other sites

no idea, you could try to regenerate images from the back office



This blows :-( so there's no setting(s) where images will point to the web instead of local!
This is as close i got the offline website to look to the live website! Before I do the upgrade I wanted to be sure I'm able to do it offline since I and my hosting company have failed in the pass!

Hope someone can help!

I going to recopy those file don't see it making a difference!
I'll update you.
Link to comment
Share on other sites

no idea, you could try to regenerate images from the back office


Something I forgot to mention!
Nothing was working, so I did some research and regenerated the ".htaccess" and everything worked but the images didn't show!

Hope this can ring a bell and maybe you got a trick or two to help!

Thanks again.
Link to comment
Share on other sites

which url do you use to access to your site ? (something like http://localhost/... )

Go in your back office, then Preferences > Seo & urls : see what's written at the bottom of the page :

- domain name and domain name ssl : you can remove everything from theses fields.
- "PS directory" : this should contains the path from the domain name to the prestashop root. For example if you use http://localhost/prestashop/, this is supposed to be /prestashop/

Link to comment
Share on other sites

images are stored in the folder /img
product images are stored in /img/p

did you copy the images from your live site to your local test site?


Yes I did copy all images. I also just check this location C:\wamp\www\prestashop\img\p and all product images are there!
Could it be somewhere that's not pointing to the local copy of images?

Please help!

Hi:
it seems your store use SEF URL by .htaccess. But wamp server doesnt allow it wihtout modfy .ini.

You may remove htcaccess than set BO -> Settings -> SEF url to NO
Second solution open url_rewrite option at wamp server ( httpd.conf file)
Link to comment
Share on other sites

which url do you use to access to your site ? (something like http://localhost/... )

Go in your back office, then Preferences > Seo & urls : see what's written at the bottom of the page :

- domain name and domain name ssl : you can remove everything from theses fields.
- "PS directory" : this should contains the path from the domain name to the prestashop root. For example if you use http://localhost/prestashop/, this is supposed to be /prestashop/


This is the way I have it and still no luck!
Could it be some file that is pointing incorrectly?

I installed PS 1.3.7 so then I can do the upgrade to 1.4.*.* (latest PS version)
Please I need help ASAP! This is killing me not being able to use the current PS Version :-(

Thanks in advance.
Link to comment
Share on other sites

images are stored in the folder /img
product images are stored in /img/p

did you copy the images from your live site to your local test site?


Yes I did copy all images. I also just check this location C:\wamp\www\prestashop\img\p and all product images are there!
Could it be somewhere that's not pointing to the local copy of images?

Please help!

Hi:
it seems your store use SEF URL by .htaccess. But wamp server doesnt allow it wihtout modfy .ini.

You may remove htcaccess than set BO -> Settings -> SEF url to NO
Second solution open url_rewrite option at wamp server ( httpd.conf file)


Thanks for your help I really apriciate all you guys input and help :-)
I did both of your suggestions and the only difference was that now I don't get the box with the question mark (?) just the product name!

I guessing since I'm testing PS 1.3.7 you mean by "SEF url" Friendly url I did disable that and deleted the .htaccess file and the (? Mark box) is gone and shows the product name!

In the file (httpd.conf) the only rewrite line I found was (
LoadModule rewrite_module modules/mod_rewrite.so) the only difference I did was add the (#) like all others were so it looked this way (
#LoadModule rewrite_module modules/mod_rewrite.so) it didn't look like it made any difference!

Any other suggestions you have?
Thanks in advance.
Link to comment
Share on other sites


In the file (httpd.conf) the only rewrite line I found was (
LoadModule rewrite_module modules/mod_rewrite.so) the only difference I did was add the (#) like all others were so it looked this way (
#LoadModule rewrite_module modules/mod_rewrite.so) it didn't look like it made any difference!

Any other suggestions you have?
Thanks in advance.

"#" means disabled line. So it was already enabled before change. You should re-remove #

BUT
I forgot to write that you dont have to edit httpd.conf manually
Now please follow
1) left click to wamp server icon (bottom-right at desktop near clock)
2) select at menu apache -> apache modules -> rewrite module
3) check it if not checked
wamp will be restart after check
than browse your site and feed back us ;)
good luck
Link to comment
Share on other sites


In the file (httpd.conf) the only rewrite line I found was (
LoadModule rewrite_module modules/mod_rewrite.so) the only difference I did was add the (#) like all others were so it looked this way (
#LoadModule rewrite_module modules/mod_rewrite.so) it didn't look like it made any difference!

Any other suggestions you have?
Thanks in advance.

"#" means disabled line. So it was already enabled before change. You should re-remove #

BUT
I forgot to write that you dont have to edit httpd.conf manually
Now please follow
1) left click to wamp server icon (bottom-right at desktop near clock)
2) select at menu apache -> apache modules -> rewrite module
3) check it if not checked
wamp will be restart after check
than browse your site and feed back us ;)
good luck


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.
Link to comment
Share on other sites


In the file (httpd.conf) the only rewrite line I found was (
LoadModule rewrite_module modules/mod_rewrite.so) the only difference I did was add the (#) like all others were so it looked this way (
#LoadModule rewrite_module modules/mod_rewrite.so) it didn't look like it made any difference!

Any other suggestions you have?
Thanks in advance.

"#" means disabled line. So it was already enabled before change. You should re-remove #

BUT
I forgot to write that you dont have to edit httpd.conf manually
Now please follow
1) left click to wamp server icon (bottom-right at desktop near clock)
2) select at menu apache -> apache modules -> rewrite module
3) check it if not checked
wamp will be restart after check
than browse your site and feed back us ;)
good luck


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.


Not sure if this will help but currently the .htaccess looks like this!
-------------------------------------------------------------------------------------------------------------

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

# Catch 404 errors
ErrorDocument 404 /prestashop/404.php

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

Thanks once again :-)
Link to comment
Share on other sites


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.

hi;
firstly i am determined to fix it :D
Lets try another way
1) open mozilla firefox
2) install firebug addon if not installed (firefox need restart)
3) right click to any image which seems question mark (404 image)
you will see a new menu item at the bottom of right click menu. (ı dont know item name in english but may be check element)
after that you will be able to see the image address from soruce code xxxxxxx
Link to comment
Share on other sites


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.

hi;
firstly i am determined to fix it :D
Lets try another way
1) open mozilla firefox
2) install firebug addon if not installed (firefox need restart)
3) right click to any image which seems question mark (404 image)
you will see a new menu item at the bottom of right click menu. (ı dont know item name in english but may be check element)
after that you will be able to see the image address from soruce code The Ultimate Body Transformation Stack

I looked on the location prestashop/img/p/ for file name 1830-3860-home.jpg then I clicked on a image to take me to the product page and got RX6 did the same and looked in prestashop/img/p/ for file name 285-2545-large.jpg and did no find anything with that name!

really hope this can help!

Thanks once again. Can't wait to get your reply :-)
Want to fix this :-(
Link to comment
Share on other sites


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.

hi;
firstly i am determined to fix it :D
Lets try another way
1) open mozilla firefox
2) install firebug addon if not installed (firefox need restart)
3) right click to any image which seems question mark (404 image)
you will see a new menu item at the bottom of right click menu. (ı dont know item name in english but may be check element)
after that you will be able to see the image address from soruce code The Ultimate Body Transformation Stack

I looked on the location prestashop/img/p/ for file name 1830-3860-home.jpg then I clicked on a image to take me to the product page and got RX6 did the same and looked in prestashop/img/p/ for file name 285-2545-large.jpg and did no find anything with that name!

really hope this can help!

Thanks once again. Can't wait to get your reply :-)
Want to fix this :-(


Hello, I tried on locating those file names on the live server and I also don't find them!
Hope you still able to help me out!

Thanks in advance...
Link to comment
Share on other sites


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.

hi;
firstly i am determined to fix it :D
Lets try another way
1) open mozilla firefox
2) install firebug addon if not installed (firefox need restart)
3) right click to any image which seems question mark (404 image)
you will see a new menu item at the bottom of right click menu. (ı dont know item name in english but may be check element)
after that you will be able to see the image address from soruce code xxxxxxx
Link to comment
Share on other sites


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.

hi;
firstly i am determined to fix it :D
Lets try another way
1) open mozilla firefox
2) install firebug addon if not installed (firefox need restart)
3) right click to any image which seems question mark (404 image)
you will see a new menu item at the bottom of right click menu. (ı dont know item name in english but may be check element)
after that you will be able to see the image address from soruce code xxxxxxx
Link to comment
Share on other sites


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.

hi;
firstly i am determined to fix it :D
Lets try another way
1) open mozilla firefox
2) install firebug addon if not installed (firefox need restart)
3) right click to any image which seems question mark (404 image)
you will see a new menu item at the bottom of right click menu. (ı dont know item name in english but may be check element)
after that you will be able to see the image address from soruce code xxxxxxx
Link to comment
Share on other sites


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.

hi;
firstly i am determined to fix it :D
Lets try another way
1) open mozilla firefox
2) install firebug addon if not installed (firefox need restart)
3) right click to any image which seems question mark (404 image)
you will see a new menu item at the bottom of right click menu. (ı dont know item name in english but may be check element)
after that you will be able to see the image address from soruce code xxxxxxx
Link to comment
Share on other sites


Hello thanks so much for getting back to me so quickly I really appreciate it :-)
I did everything you told me, without the .htaccess file and there was no difference then I added the .htaccess file and all the boxes with the (?) came back!

Any other suggestions!
Thanks once again, I truly appreciate it.

hi;
firstly i am determined to fix it :D
Lets try another way
1) open mozilla firefox
2) install firebug addon if not installed (firefox need restart)
3) right click to any image which seems question mark (404 image)
you will see a new menu item at the bottom of right click menu. (ı dont know item name in english but may be check element)
after that you will be able to see the image address from soruce code xxxxxxx
Link to comment
Share on other sites

What's the hell with your multipost ? can you please delete them ? (if you can't, just edit them and replace all the text by "delete please" and I will do it later ;) )

As far as I understand it forum makes some errors when post reply. For example my last response i typed something else but my reply is shown as a quote. Konabella pm that he has this problem too.

may be a good idea to kill this topic before it all forum :)
Link to comment
Share on other sites

What's the hell with your multipost ? can you please delete them ? (if you can't, just edit them and replace all the text by "delete please" and I will do it later ;) )


mahmutt is right plus I only tried to add 2 posts to the forums and it multiplied!
Link to comment
Share on other sites

What's the hell with your multipost ? can you please delete them ? (if you can't, just edit them and replace all the text by "delete please" and I will do it later ;) )

As far as I understand it forum makes some errors when post reply. For example my last response i typed something else but my reply is shown as a quote. Konabella pm that he has this problem too.

may be a good idea to kill this topic before it all forum :)


Mahmutta this was what I was trying to post!

Hello and my apologies for keep bothering you just wanted to give you another update with the hopes this can give you any ideas on how to resolve this issue I'm having!

So additional to your suggestions what I did was remove all product image files from C:\wamp\www\prestashop\img\p and restarted the WAMP SERVER and looked at the local website and no difference happen! Then I copied all the files back into the C:\wamp\www\prestashop\img\p directory and like before nothing changed! So something tells me it's some file that is not pointing correctly to the directory of "C:\wamp\www\prestashop\img\p"

If you can help me I would truly appreciate it.
Thanks once again.
Link to comment
Share on other sites

  • 1 year later...

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...