My web host had a major server crash. They took so long fixing it that I got a new web host and installed the same version of OC that I had, v1.5.0.3. I had ftp issues with the old web host and was not able to get my files from them so I installed a new install of the same version on my new web host using their installatron. I had issues importing my data base but that is now resolved. The database is imported and appears to be intact.
The ftp issues have been resolved and I now have a copy of all the files that were on my old webhost.
When I run the new store, all the pictures appear on the home page, when I go to admin and look at categories and products, they all appear intact.
But if I click on a product or a category on the home page I get a "file not found" error. I figured that there are modules or extensions or templates or something that were built when I added my products and categories in the old store through the admin and they are not present in the new install. If there are, I don't know what or where they are.
I tried copying my old files into the new webhost keeping the same config file but then I get errors that say the directories were already defined and then it quits.
So I'm now thinking that the directory structure is a little different or there are just a few files missing from the old store that I can just copy in but I don't know which ones they would be. The shotgun method doesn't work.
Can someone please point me in the right direction. I'm sure once you do, I'll smack myself on the head and say "I coulda had a v8!" that it is probably something very simple but I haven't a clue.
Thanks
It is probably because of SEO URLs. Make sure you have the following in the .htaccess file:
Code: Select all
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Who is online
Users browsing this forum: gunownergear and 16 guests