PDA

View Full Version : Having trouble making miva store land page


eastsidecagney
06-28-08, 08:40 PM
I created a .htaccess in notepad & added this text DirectoryIndex /mm5/merchant.mvc?Screen=DOMA&Store_Code=II made sure under file type that I typed in .htaccess and under save as type all files intead of text documents[*.txt].saved it to a folder then in aplus under html I uploaded the .access file then when I clicked on my site it was giving me a miva error code error.So I deleted the file & then I could go to the site .But not what I would like ,which is the storefront to be the landing page.Thanks for any help with this one
Cagney.Or I just thought about that maybe the mm5 has to be changed to mm5.something because of 5.5 that i have?

eastsidecagney
06-28-08, 09:54 PM
Here is the error code Fatal Error
Miva Merchant has encountered a fatal error and is unable to continue. The following information may assist you in determining the cause of the error:

Error Code: MER-DBE-OPN-00002 Description: Unable to open store 'IN' Other Information:

Nerd Boy Inc
06-29-08, 04:01 AM
Dear EastSide,

Paste they URL you are ending up with from the Browser Bar.

eastsidecagney
06-29-08, 04:24 AM
Nerd Boy ,
If I upload the .htaccess file to the proper place from my control panel it still gives you that fatal error:Fatal Error
Miva Merchant has encountered a fatal error and is unable to continue. The following information may assist you in determining the cause of the error:

Error Code: MER-DBE-OPN-00002 Description: Unable to open store 'IN' And the landing page url with that error is still http://ladylusteroticcandy.com/ So then when I delete the file the landing page goes back to the original.Just got off the phone with Aplus Tech Support & they told me I have to sumbit a ticket to level 2 Techs.And I also followed this to the letter: I'm clueless to whats happening.Other Information:

eastsidecagney
06-29-08, 04:28 AM
I could see that everything didnt come out what I had typed.Tha answer is the Url with that error is still coming up with http://ladylusteroticcandy.com/

dotCOM_host
06-29-08, 07:07 AM
I could see that everything didnt come out what I had typed.Tha answer is the Url with that error is still coming up with http://ladylusteroticcandy.com/

Well, if you combine http://ladylusteroticcandy.com with the .htaccess DirectoryIndex you posted in the original message, /mm5/merchant.mvc?Screen=DOMA&Store_Code=II, you get URL like this: http://ladylusteroticcandy.com/mm5/merchant.mvc?Screen=DOMA&Store_Code=II

If you go to that URL in a web browser you'll notice that this URL doesn't work. There is no store "II". If you strip &Store_Code=II from that URL, it still complains that there's no page "DOMA" in your store. So you have at least two errors in that URL right there.

Best way to make sure you get the correct address in your .htaccess file - open up the exact page you want as your home page and copy the URL from the web browser into the .htaccess file - just strip the domain name and leave only the part that begins with /mm5/...

Hope this helps,

Biffy
06-29-08, 02:31 PM
Try this:

DirectoryIndex index.php index.html /mm5/merchant.mvc
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.mydomain.com$ [NC]
RewriteRule ^(.*) http://www.mydomain.com/$1 [L,R=301]

eastsidecagney
06-29-08, 04:25 PM
Re: Homepage of a Miva Website
If you want your visitors to end up on your Miva Merchant storefront page when they come to your domain, you can simply create an .htaccess file (or edit one if it's already there) in your html folder, and add this line to it:

DirectoryIndex /mm5/merchant.mvc?Screen=DOMA&Store_Code=IN

This will force the server to load the above URL instead of the index.html (or similar) page you may currently have as your home page.

» Remik, Thats wehat I used all day yesterday,because i found that post.Biffy,I tried your coding put in the html ,It was giving me the regular landing page.So then I delete the .htaccess file after that & I notice that there is a ? mark beside the name ,if that will help.I'm lacing into the host for the're we cant do that for you crap.So I just wrote a letter back to a Tech who said That he wanted me to do it in redirect in my control panel.So I wrote back & said you do it for me or by Monday i will have a new host.Thanks to Biffy & Remik for all the help anyway

Leanne
06-29-08, 04:35 PM
For your store it should look like this:

DirectoryIndex /mm5/merchant.mvc?Screen=SFNT&Store_Code=LLEC

eastsidecagney
06-29-08, 05:13 PM
Thanks ever so much to Leanne for the right code.I overlooked in the forum what Remik was answering a question to someone back in April,I thought that was the universal code or something.I should have asked the ? first,so I payed the heavy prce of a Migraine.But all in all in that heavy hour after hour of bursting into some serious anger.Mission Accomplished.My sincere thanks to Leanne,Remik,Biffy & Nerd Boy

Biffy
06-30-08, 03:14 PM
NOTE:

For the script I submitted to work you'll need to remove or hide your static index pages.