Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP- I don't know what I'm doing!


superi38

Recommended Posts

Hi all,

 

This is concerning the site I'm trying to build here: http://thebetterbird.com/storefront/index.php

 

I've been working in the past week or so on getting my site filled with items. I just tried testing my site though a few minutes ago, and I wasn't able to get anything to work. When I try registering, checking out with paypal, or checking out regularly I get an error message saying that I'm missing a php file that was not found on the server.

 

I have NO clue what this means or what to do about it. Does anybody have any ideas? Thanks ahead for any comments and all help.

 

- Dion

Link to comment
Share on other sites

Three options:

 

1. Disable SSL in the /includes/configure.php file:

 

  define('ENABLE_SSL', false);

 

2. Enquire if the host has shared SSL you can use, if so configure the store for that.

 

3. Puchase and install dedicated SSL and configure the store for that. CHeck with your host about server and other requirements before pursuing this option.

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

Three options:

 

1. Disable SSL in the /includes/configure.php file:

 

  define('ENABLE_SSL', false);

 

2. Enquire if the host has shared SSL you can use, if so configure the store for that.

 

3. Puchase and install dedicated SSL and configure the store for that. CHeck with your host about server and other requirements before pursuing this option.

 

 

 

 

 

Thanks for that! By doing what you suggested in #1 the ordering system on my website works now. However, it is extremely slow. Registering took a few minutes and so did making a purchase. Is there any way this can be made faster or is it just going to stay like that?

 

I'm also looking into what I can do about SSL. Thanks again.

Link to comment
Share on other sites

One more question

 

I want to use Paypal for sales. To show that I accept Paypal, I want to add the "accepts paypal" banner that can be found on the paypal website. The banner is given on their website in html form, but I can't find any way to edit that on os commerce.

 

Is there any way for me to add the Paypal banner to my website? Thanks.

Link to comment
Share on other sites

I made an account and put things in the cart and started the checkout process and it dind't seem slow to me.

 

The speed is ultimately determined by the server it's on and the conditions therein.

 

I'm sure there are code tweaks you can make to speed things up and they're probably around here somewhere.

 

There is a thread in the "Tips and Tricks" forum called "A Store Speed Optimization in Progress" (or something to that effect).

 

It was started for osC v2.2 and I don't know if much applies or has been added for v2.3

 

You might check it out.


To add Paypal code the most logical place is in the left or right column.

 

To add to the left column find this code in /includes/template_bottom.php:

 

<div id="columnLeft" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?> pull_<?php echo $oscTemplate->getGridContentWidth(); ?>">
 <?php echo $oscTemplate->getBlocks('boxes_column_left'); ?>
</div>

Change it to this:

 

<div id="columnLeft" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?> pull_<?php echo $oscTemplate->getGridContentWidth(); ?>">
 <?php echo $oscTemplate->getBlocks('boxes_column_left'); ?>

<!-- paypal added content begin //-->
 <div style="align: center;">
<!-- DELETE THIS LINE AND INSERT THE PAYPAL CODE HERE //-->
 </div>
<!-- paypal added content end //-->

</div>

To add to the right column find this code in /includes/template_bottom.php:

 

<div id="columnRight" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?>">
 <?php echo $oscTemplate->getBlocks('boxes_column_right'); ?>
</div>

Change it to this:

 

<div id="columnRight" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?>">
 <?php echo $oscTemplate->getBlocks('boxes_column_right'); ?>

<!-- paypal added content begin //-->
 <div style="align: center;">
<!-- DELETE THIS LINE AND INSERT THE PAYPAL CODE HERE //-->
 </div>
<!-- paypal added content end //-->

</div>

 

Confuscious say: "Wise man backup file before making edits".

:)

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

I made an account and put things in the cart and started the checkout process and it dind't seem slow to me.

 

The speed is ultimately determined by the server it's on and the conditions therein.

 

I'm sure there are code tweaks you can make to speed things up and they're probably around here somewhere.

 

There is a thread in the "Tips and Tricks" forum called "A Store Speed Optimization in Progress" (or something to that effect).

 

It was started for osC v2.2 and I don't know if much applies or has been added for v2.3

 

You might check it out.


To add Paypal code the most logical place is in the left or right column.

 

To add to the left column find this code in /includes/template_bottom.php:

 

<div id="columnLeft" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?> pull_<?php echo $oscTemplate->getGridContentWidth(); ?>">
 <?php echo $oscTemplate->getBlocks('boxes_column_left'); ?>
</div>

Change it to this:

 

<div id="columnLeft" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?> pull_<?php echo $oscTemplate->getGridContentWidth(); ?>">
 <?php echo $oscTemplate->getBlocks('boxes_column_left'); ?>

<!-- paypal added content begin //-->
 <div style="align: center;">
<!-- DELETE THIS LINE AND INSERT THE PAYPAL CODE HERE //-->
 </div>
<!-- paypal added content end //-->

</div>

To add to the right column find this code in /includes/template_bottom.php:

 

<div id="columnRight" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?>">
 <?php echo $oscTemplate->getBlocks('boxes_column_right'); ?>
</div>

Change it to this:

 

<div id="columnRight" class="grid_<?php echo $oscTemplate->getGridColumnWidth(); ?>">
 <?php echo $oscTemplate->getBlocks('boxes_column_right'); ?>

<!-- paypal added content begin //-->
 <div style="align: center;">
<!-- DELETE THIS LINE AND INSERT THE PAYPAL CODE HERE //-->
 </div>
<!-- paypal added content end //-->

</div>

 

Confuscious say: "Wise man backup file before making edits".

:)

 

 

 

 

 

 

Thanks a lot! You've been an incredible help!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...