Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ugly error code appearing on page - Help


millwoodcreek

Recommended Posts

Hello all,

 

I have a new installation that I used a template for and all is good except one thing. If you go to this page:

 

www.mostunusual.com/login.php

 

then try to login with a username and password that doesn't exist in the dbase you get an error message in ugly type right on the page instead of a pop up box or in a readable font and color. The message makes sense but I want it to match the page format. This also happens in a few other spots with error messages. Here is the message:

 

Error Error: No match for E-Mail Address and/or Password.

 

Can anyone help me either make this a pop up or at least appear in a fashion that matches the stores design?

 

 

Thanks in advance

 

Harry

Link to comment
Share on other sites

I can change the text color but how do I change the Background color for the text?

 

Thanks

 

Harry

 

This error display is the default osc way.

 

You can change the text to be more nice or whatever in includes/languages/yourlanguage/login.php

Link to comment
Share on other sites

I can change the text color but how do I change the Background color for the text?

 

Thanks

 

Harry

stylesheet.css

 

.messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; [color="#FF0000"][b]background-color: #ffb3b5[/b][/color]; }

Sometimes after changing the stylesheet you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

 

This works with IE and Firefox.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...