Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

please look at this page!


maxdog

Recommended Posts

Posted

Someone please look at this page and see why it looks like this after I modified line 165 of login.php below:

 

<td align="right">

 

<!--?php echo '<a href="' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?-->

<!--Call the form from english/login.php-->

<?php echo . '<br>'. SUBSCRIBE_PAYPAL ; ?>

</td>

 

and added this to english.php

 

/*Insert by Tunde for Subscribe to Paypal*/

define('SUBSCRIBE_PAYPAL', '

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="cmd" value="_s-xclick">

<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but24.gif" border="0" name="submit" alt="Make payments with PayPal - it%ss fast, free and secure!">

<input type="hidden" name="encrypted" value="-----BEGIN PKCS7----->

</form>

');

 

Also, look at the error when you press Submit.

 

HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP

Posted

shave you turned SEF urls?

 

thaats what it did to mine

"because it'll hurt more"- the greatest film of all time?

Posted

i tried to understand--but i can not for the life of me understand the last reply that was sent.

 

SHAVE YOU SEF URLS?????????????????

Posted

have you turned on Search engine Friendly URLs in the admin panel?

"because it'll hurt more"- the greatest film of all time?

Posted

Do you shave those with an electric razor, or a blade?

 

It looks to me like your stylesheet is messed up. Is this really the location of your stylesheet?

../../../../oscommerce-2.2ms2/oscommerce-2.2ms2/catalog/stylesheet.css

That's what it says when I view source.

Chris Dunning

osCommerce, Contributions Moderator Team

 

Please do not send me PM! I do not read or answer these often. Use the email button instead!

 

I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Posted

I bet you are using some fancy html editor that has taken liberties with your referencing ;).

 

mondi

Posted

i didn't know there is a way to turn on search engine friendly URLs. please explain how to do this.

 

i use Macromedia to make my chnages to the code--is this wrong?

 

i think the location of my stylsheets is correct--look at the other pages --i had no issues.

Posted

Most search engines have no problem with regular URLs, but a few of the more obscure ones might. I use them because I think it's easier on the customer's eyes.

 

If I look at any other page, this is the line that calls your stylesheet:

<link rel="stylesheet" type="text/css" href="stylesheet.css">

 

If I look at that page, this is the line that calls your stylesheet:

<link rel="stylesheet" type="text/css" href="../../../../oscommerce-2.2ms2/oscommerce-2.2ms2/catalog/stylesheet.css">

 

I really think that's your problem. Just edit that line by hand and make it look like the first one.

 

It may have something to do with your SSL setup. I tried to click some SSL links and was always directed to the login page with the screwy lack of stylesheet. I tried to subscribe so I could poke around and see what I could find, but the subscribe button is broken.

 

Using Macromedia is not necessarily wrong...but it can cause problems like this if you don't know what you're doing with it. I would suggest learning about the code and editing in a program like PHPEdit or DEV-PHP - you can find either of those in a Google search and download them for free.

Chris Dunning

osCommerce, Contributions Moderator Team

 

Please do not send me PM! I do not read or answer these often. Use the email button instead!

 

I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Posted

Thanks for the assistance --you were right--it was the stylesheet that was giving that problem.

THANKS!!!!

Archived

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

×
×
  • Create New...