Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

LoginBox5_2


Guest

Recommended Posts

Did anybody got the LoginBox5_2 and loginbox_enh to work with 2.2MS2?

This is the error that i get

Fatal error: Cannot instantiate non-existent class: infoboxheading in /home/thebear/public_html/includes/boxes/loginbox.php on line 38

This is line 38

new infoBoxHeading($info_box_contents, $newtheme, false, false);

and this after modification

new infoBoxHeading($info_box_contents, false, false);

 

Regards

The_Bear

Link to comment
Share on other sites

Did anybody got the LoginBox5_2 and loginbox_enh to work with 2.2MS2?

This is the error that i get

Fatal error: Cannot instantiate non-existent class: infoboxheading in /home/thebear/public_html/includes/boxes/loginbox.php on line 38

This is line 38

new infoBoxHeading($info_box_contents, $newtheme, false, false);

and this after modification

new infoBoxHeading($info_box_contents, false, false);

 

Regards

The_Bear

 

 

Try changing:

new infoBoxHeading($info_box_contents, false, false);

 

to

 

new infoBoxHeading($info_box_contents, $newtheme, false, false);

Link to comment
Share on other sites

Thank's for the reply but it is a no go because

new infoBoxHeading($info_box_contents, $newtheme, false, false);

was the original code who gave me the error

 

Regards

The_Bear

Link to comment
Share on other sites

Im not sure but i believe its saying it cannot recognize the class "infoboxheading" which is defined in classes/boxes.php

 

Did you make any changes to that file?

 

If yes then try saving that file and replacing it with a unmodified new osc MS2 one.

 

Im running loginbox 2.5 with the enhancement upgrade on MS2.

Link to comment
Share on other sites

Man i dont know.

 

Try changing:

 

new infoBoxHeading($info_box_contents, $newtheme, false, false);

 

To:

 

new infoBoxHeading($info_box_contents, false, false, false);

 

If that doesnt work then i would contact the author to see what he/she recommends.

 

Hope it works out for you.

Link to comment
Share on other sites

I put this contrib in my ms2 version and didn't get any errors. I had a problem when people logged in using it though, it sent them to a "404 Page cannot be found" page, but that was because of my configure.php settings.

 

There is something you need to change once you get it installed though.

 

Around line 108 is this:

'<a href="' . tep_href_link(FILENAME_PRODUCT_NOTIFICATIONS, '', 'NONSSL') . '">' . LOGIN_BOX_PRODUCT_NOTIFICATIONS . '</a><br>' .

 

You need to change it to this:

'<a href="' . tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'NONSSL') . '">' . LOGIN_BOX_PRODUCT_NOTIFICATIONS . '</a><br>' .

Link to comment
Share on other sites

Thank's guy's

I have narrowed the problem, the loginbox5_2 is working ok.

The problem is the loginbox_enh

I will try another contribution

 

Regards

The_Bear

Link to comment
Share on other sites

I put this contrib in my ms2 version and didn't get any errors. I had a problem when people logged in using it though, it sent them to a "404 Page cannot be found" page, but that was because of my configure.php settings.

 

Yea thats cus theres no product notifications file no more its now handled thru yout account notifications.

 

I like the way it is now.

 

Its all together and neat.

Link to comment
Share on other sites

  • 3 weeks later...

leezzard:

I put this contrib in my ms2 version and didn't get any errors.  I had a problem when people logged in using it though, it sent them to a "404 Page cannot be found" page, but that was because of my configure.php settings.

 

There is something you need to change once you get it installed though.

 

Around line 108 is this:

'<a href="' . tep_href_link(FILENAME_PRODUCT_NOTIFICATIONS, '', 'NONSSL') . '">' . LOGIN_BOX_PRODUCT_NOTIFICATIONS . '</a><br>' .

 

You need to change it to this:

'<a href="' . tep_href_link(FILENAME_ACCOUNT_NOTIFICATIONS, '', 'NONSSL') . '">' . LOGIN_BOX_PRODUCT_NOTIFICATIONS . '</a><br>' .

 

Sweet...that's exactly the answer I was looking for. You should fix the contribution and upload that bro...it'd help a lot of people. I would but I don't want to steal your thunder ;).

 

Austin519

Link to comment
Share on other sites

  • 11 months later...

Hi.

 

I have installed the loginbox and I have a value E-mail in the textbox, now I want the value in the box to disappear when someone click in the box with the mouse courser. How can I do that ?

 

The code is:

 

<input type=\"text\" name=\"email_address\" maxlength=\"96\" size=\"18\" value=\"E-mail\">

Link to comment
Share on other sites

Did anybody got the LoginBox5_2 and loginbox_enh to work with 2.2MS2?

This is the error that i get

Fatal error: Cannot instantiate non-existent class: infoboxheading in /home/thebear/public_html/includes/boxes/loginbox.php on line 38

This is line 38

new infoBoxHeading($info_box_contents, $newtheme, false, false);

and this after modification

new infoBoxHeading($info_box_contents, false, false);

 

Regards

The_Bear

Has this issue now been resolved.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

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.

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...