Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Install Problem with Loginbox Best


Guest

Recommended Posts

I just installed the Loginbox Best and the box appears fine, right above the shopping cart box where i wanted it but the problem is that if you click on the "My Account" button at the top of the page you then go to account.php which is blank. Logging in via the login box is fine and I was even able to set up a new account and all else seems to function like it should.

Even when loggin in the account.php page is blank.

Any help would be greatly appreciated.

More info...

Vigin oscommerce install with only graphic changes on buttons & icons and I installed paypal ipn module (this only added files, did not change any exsisting ones.)

Let me know if you need any other info from me :blush:

Thanks!

Pattie

Link to comment
Share on other sites

I just installed the Loginbox Best and the box appears fine, right above the shopping cart box where i wanted it but the problem is that if you click on the "My Account" button at the top of the page you then go to account.php which is blank. Logging in via the login box is fine and I was even able to set up a new account and all else seems to function like it should.

Even when loggin in the account.php page is blank.

Any help would be greatly appreciated.

More info...

Vigin oscommerce install with only graphic changes on buttons & icons and I installed paypal ipn module (this only added files, did not change any exsisting ones.)

Let me know if you need any other info from me :blush:

Thanks!

Pattie

I re-uploaded the account.php page and that fixed it... go figure!

Thanks for looking :-"

Pattie

Link to comment
Share on other sites

I re-uploaded the account.php page and that fixed it... go figure!

Thanks for looking :-"

Pattie

 

Wel I just installed that too and I have a class error have no idea what that is could you maybe help me?

 

http://phoneaids.com/test

 

It says line 30 but it has everything the install one had in it.

 

Judy

Link to comment
Share on other sites

Wel I just installed that too and I have a class error have no idea what that is could you maybe help me?

 

http://phoneaids.com/test

 

It says line 30 but it has everything the install one had in it.

 

Judy

What I usually do when I get the errors is to re-install the file they show as having an error. In this case it is the loginbox.php file. Use the one from the cnotribution and re-upload it to your site. If you are still having the same problem then double check the section of code where you inserted where you wanted to the loginbox to go. I have a clean oscommerce file pack on my computer "just in case". I can always open those files to check the original code to make sure I did not delete anything by accident (which I seem to do quite a bit). I did realize that with this login box I had problem tring to put it under the shopping cart box, but the minute I changed it to appear above the shopping cart box all my problems went away. Could be that I inserted it inbetween codes that I should not have (like breaking a part of the php script or something).

Thanks

Pattie

Link to comment
Share on other sites

What I usually do when I get the errors is to re-install the file they show as having an error. In this case it is the loginbox.php file. Use the one from the cnotribution and re-upload it to your site. If you are still having the same problem then double check the section of code where you inserted where you wanted to the loginbox to go. I have a clean oscommerce file pack on my computer "just in case". I can always open those files to check the original code to make sure I did not delete anything by accident (which I seem to do quite a bit). I did realize that with this login box I had problem tring to put it under the shopping cart box, but the minute I changed it to appear above the shopping cart box all my problems went away. Could be that I inserted it inbetween codes that I should not have (like breaking a part of the php script or something).

Thanks

Pattie

 

Thanks Pattie I am going to try again it appears to be something that isn't in the classes but nothing does go in there. Nor in the language file so I will try again here and see what happens.

 

Judy

Link to comment
Share on other sites

Thanks Pattie I am going to try again it appears to be something that isn't in the classes but nothing does go in there. Nor in the language file so I will try again here and see what happens.

 

Judy

 

Oh dear okay on the instruction to add following code beneath that function does that mean I comment out what is there? I didn't do that last time

Link to comment
Share on other sites

Oh dear okay on the instruction to add following code beneath that function does that mean I comment out what is there? I didn't do that last time

I didn't comment it out. I added the code to the column_right.php

This is the original file:

<?php

/*

$Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require(DIR_WS_BOXES . 'shopping_cart.php');

 

if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 

if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (tep_session_is_registered('customer_id')) {

$check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");

$check = tep_db_fetch_array($check_query);

if ($check['count'] > 0) {

include(DIR_WS_BOXES . 'best_sellers.php');

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

} else {

include(DIR_WS_BOXES . 'specials.php');

}

 

require(DIR_WS_BOXES . 'reviews.php');

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

}

?>

This is what worked for me:

<?php

/*

$Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// BOF: WebMakers Added: Login Box My Account

require(DIR_WS_BOXES . 'loginbox.php');

// EOF: WebMakers Added: Login Box My Account

 

require(DIR_WS_BOXES . 'shopping_cart.php');

 

if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 

if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (tep_session_is_registered('customer_id')) {

$check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");

$check = tep_db_fetch_array($check_query);

if ($check['count'] > 0) {

include(DIR_WS_BOXES . 'best_sellers.php');

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

} else {

include(DIR_WS_BOXES . 'specials.php');

}

 

require(DIR_WS_BOXES . 'reviews.php');

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

}

?>

 

When I attempted to place the folloing code anwhere else I could not get it to work:

// BOF: WebMakers Added: Login Box My Account

require(DIR_WS_BOXES . 'loginbox.php');

// EOF: WebMakers Added: Login Box My Account

 

Hope this helps, if not let me know and I will try to help more.

Pattie

Link to comment
Share on other sites

I didn't comment it out. I added the code to the column_right.php

This is the original file:

 

This is what worked for me:

When I attempted to place the folloing code anwhere else I could not get it to work:

// BOF: WebMakers Added: Login Box My Account

require(DIR_WS_BOXES . 'loginbox.php');

// EOF: WebMakers Added: Login Box My Account

 

Hope this helps, if not let me know and I will try to help more.

Pattie

 

Thanks Patti I it to work it was the General.php that I had the issue with but I just added that code to the bottom of the Customer something and it worked LOL

 

Thanks a million

 

Judy

Link to comment
Share on other sites

  • 1 month later...

Hi guys,

 

I am also having problems with this contribution.

 

As far as I'm aware, I've followed all of the instructions correctly. But after uploading, all I get is the box heading (in my right column), no box though!

 

Other boxes (shopping cart & reviews) which should be in the right column have dissapeared on all pages (except account)

 

Has anyone else had this problem? How did you fix it?

 

I've probably missed something somewhere, but I've doublechecked everything & can't find anything missing.

If you know what I've missed I'd appreciate a little help with this.

 

Thanks

 

Nikki :blink:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...