Post by rickmase » Tue Aug 18, 2015 12:04 pm

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.


New member


Tue Jun 21, 2011 5:41 am

Post by deepvision » Tue Aug 18, 2015 2:00 pm

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]


User avatar
Active Member


Tue May 19, 2015 1:03 am

Post by rickmase » Tue Aug 18, 2015 10:49 pm

That got it! Thanks a bunch!!!!!

New member


Tue Jun 21, 2011 5:41 am
Who is online

Users browsing this forum: No registered users and 24 guests