Prestashop 1.6.11 front office not found in a local environement - prestashop

I had to work on a project made with prestashop 1.6.11 , and i tried to put it in my local web server (wamp).
But i just have an access to the back-office panel and the front office isn't find
(It's return a 404 error).
I have changed my configuration table in my database (more particularly PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL ),and the pre7666_SHOP_URL .
I also changed the file settings.inc.php with my new database informations.
If anyone had the same problem , and fixed it , i'm open to all proposals that you can send.
Thank you in advance

You probably have to regenerate the .htaccess file located in your root folder.
You can regenerate the .htaccess file by clicking the save button in the "Seo & URLs" menu in your back-office.

Just remove .htaccess file from root directory

Related

After uploading MVC website to the folder httpdocs from FIlezilla and browsing it the showing Internal Server error

I am getting 500 Internal server.I have uploaded files to the server using Filezila .and when i am browsing it.Its showing internal server error.
Whats is the permission of your files and directory's which you have uploaded in your account. Also check your .htaccess file code.
There may be several reasons , let me list few which i think might be the reason.
1) Check the folder and file permissions on the hosting . Folder permission should be 755 and the file permission should be 644 by default to work on
2) If there is any .htaccess file try to remove that file and check again reloading (Note : if you are using cPanel try selecting show hidden files in file manager to view the .htaccess file )
3) whether your db is been properly configured in the configuration file of your MVC site ( however if it is the reason the page will will throw some db connectivity error . just in case if it is i am asking you to check )
If that helps, update me . If not, Kindly post the error log which can be taken in cPanel or if you are using different solution ask your hosting provider on how to view error log.
The best and universal approach if you have root access on the server would be to look for more information in the web server log:
/usr/local/apache/logs/error_log
If you do not have root access, you can check the Error log in cPanel -> Errors, it will provide you with more details on what the problem is.

File List Not Displaying on Website Running on Apache2 Server

I currently upgraded our local server hosting our website from Apache (2.2.22) to Apache (2.4.7). I want to keep the view as-is of the raw file,
After the upgrade, this page now shows that there is nothing in the folder
. Nothing was changed in this folder after the upgrade, so I am not sure why it isn't displaying.
I have already tried changing the permissions to 777 for the folder to no avail. Oddly enough, another folder in the same parent directory contains only images (.png) and displays correctly. I have looked into fixing this error by editing the .htaccess file (adding "Options +Index").
Any help would be appreciated, I am having a hard time figuring out what to look up for this issue -- the rest of the website is displaying fine.

How to allow dll files uploads in wamp server

I'm using WampServer64 and I'm trying to upload some dll files to
my website without. However I'm not having any luck, they are getting blocked for some reason. Does anyone know why and how to solve this problem?
The solution is to change the settings in php.ini located in
apache folder and not in the one located in the php folder
to check if the changes have been made run phpinfo();

Making a duplicate prestashop site for development and testing

How exactly I can make duplicate of existing shop on same domain in different subfolder.
Currently is example.com. I want to make duplicate in example.com/test/ for testing purpose. So I've made the folder and copied every file into it.. also I've create new database and export/import database. Then in table shop_url I've change `physical_url to /test/.
So now when I go to example.com/test/ it is loading full site and images but when I click on some product is go into example.com/product_name not in example.com/test/product_name. Also I've change in .htaccess this line RewriteRule . - [E=REWRITEBASE:/test/] from / to /test/.
What else I need to change? What I missing?
Everything is done good
1) Copy files
2) Copy MySQL database with change shop_url and shop_url_ssl (should be the same as shop_url)
3) Refresh .htaccess file to new url manualy or via SEO/URL Prestashop setting - first disable mod_rewrite and Save then enable mod_rewrite and Save - that will create new .htaccess file automaticly.
You should consider to delete cache folder and recreate it from clean install or purge cache/smarty/compile folder.
Change also shop_url_ssl (should be the same as shop_url)
Sometimes You need also clean browser cache memory. Bugs are everywhere :) or try other non used browser to open cloned store.

Issue with importing a database into phpMyAdmin

I am learning how to use SQL, I set up a localhost, in the course of that journey, I was confronted to the issue of importing sql files into phpMyAdmin, I did the right click on config.inc.php and clicked on the Notepad++ that I previously installed, I typed in there the following code: $cfg['UploadDir']='c:\Files';, of course I created on the hard drive C the Files directory. Now that I came back into phpMyAdmin, clicked on my database, clicked on import, this is what I got as message:
The directory you set for upload work cannot be reached.
Can anyone help me here with this issue?
Your webserver probably doesn't have permission to read 'c:\Files' thus it is not a valid directory. Technically you would say this is out of the web root.
I suggest you set the upload directory to a subdirectory of your web server's root directory (or in the PHPMyAdmin web directory). Then if for your own ease of use you want it to be located at 'c:\Files' you can create a shortcut from the web root upload directory whatever you name it, and place the shortcut in 'c:' and name it 'Files'.