Guest Posted July 24, 2003 Share Posted July 24, 2003 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2003 Share Posted July 24, 2003 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); Quote Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2003 Share Posted July 24, 2003 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2003 Share Posted July 24, 2003 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2003 Share Posted July 24, 2003 I just upload a new boxes.php and same results The_Bear Quote Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2003 Share Posted July 24, 2003 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2003 Share Posted July 24, 2003 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>' . Quote Link to comment Share on other sites More sharing options...
Guest Posted July 25, 2003 Share Posted July 25, 2003 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 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 25, 2003 Share Posted July 25, 2003 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. Quote Link to comment Share on other sites More sharing options...
Austin519 Posted August 15, 2003 Share Posted August 15, 2003 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 Quote Link to comment Share on other sites More sharing options...
Justin WFCOMICS Posted August 18, 2003 Share Posted August 18, 2003 If you're still look'n to using LoginBox, check out :)... http://www.oscommerce.com/forums/viewtopic.php?t=55328 Justin =) Quote Link to comment Share on other sites More sharing options...
Yari Posted August 10, 2004 Share Posted August 10, 2004 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\"> Quote Link to comment Share on other sites More sharing options...
241 Posted August 10, 2004 Share Posted August 10, 2004 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. Quote 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! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.