spax Posted September 3, 2008 Share Posted September 3, 2008 I don't think this contribution will need it, but here is the support thread for RC2 Admin Login for MS2 http://addons.oscommerce.com/info/6203 This will add the RC2 admin login into your MS2 Update 051113 and Update 060817 stores. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2008 Share Posted September 3, 2008 I don't think this contribution will need it, but here is the support thread for RC2 Admin Login for MS2 http://addons.oscommerce.com/info/6203 This will add the RC2 admin login into your MS2 Update 051113 and Update 060817 stores. Hi Spax, sounds good. One question before I try it, does this introduce that wretched admin time out annoyance that the RC stores have? Quote Link to comment Share on other sites More sharing options...
spax Posted September 3, 2008 Author Share Posted September 3, 2008 Leslie, To be honest, I don't use RC2 (yet) so I haven't experienced it. Certainly when I have been messing with it on my PC I haven't noticed it but, if the problem exists within the code, it will exist with this. I haven't done anything to the code, just brought the changes over to MS2. I just noticed someone asking for it and I thought, like you, that's a good idea. Now you mention it though, I will check it out. Quote Link to comment Share on other sites More sharing options...
spax Posted September 3, 2008 Author Share Posted September 3, 2008 Sorry, I forgot to define a constant :rolleyes: New version uploaded. http://addons.oscommerce.com/info/6203 Quote Link to comment Share on other sites More sharing options...
andes1 Posted September 5, 2008 Share Posted September 5, 2008 i have the fallowing error: Administrator Login Fatal error: Call to undefined function: tep_hide_session_id() in /home/sencos/public_html/osadaminlogin/admin/login.php on line 115 Quote Link to comment Share on other sites More sharing options...
spax Posted September 5, 2008 Author Share Posted September 5, 2008 My apologies Andrea, I didn't include admin/includes/functions/html_output.php to the Vanilla-osC package. You need to open admin/includes/functions/html_output.php in a text editor and at the end of that file, before the closing php tag ?>, you need to add this function: //// // Hide form elements function tep_hide_session_id() { $string = ''; if (defined('SID') && tep_not_null(SID)) { $string = tep_draw_hidden_field(tep_session_name(), tep_session_id()); } return $string; } It was covered in the instructions but you wouldn't have seen that, doing a Vanilla install. For anyone considering this mod, a new package has been uploaded, which now includes the missing file. http://addons.oscommerce.com/info/6203 Quote Link to comment Share on other sites More sharing options...
adonisraul Posted November 11, 2008 Share Posted November 11, 2008 Hello Spax, not sure if you still can help on this one. I downloaded and install exactly as you instructed and after that when I try to log on admin section I get blank page, I check and recheck instructions and to the same. Can you help, is an old template that use MS2. Thanks Quote Link to comment Share on other sites More sharing options...
spax Posted November 11, 2008 Author Share Posted November 11, 2008 When you say a blank page, do you mean just that - nothing at all? No warnings or messages at all? Quote Link to comment Share on other sites More sharing options...
kbking Posted April 27, 2010 Share Posted April 27, 2010 Hi I can't use fopen with my host. In administrator.php there are eight instances of fopen. One of them is: if (filesize(DIR_FS_ADMIN . '.htaccess') > 0) { $fg = fopen(DIR_FS_ADMIN . '.htaccess', 'rb'); $data = fread($fg, filesize(DIR_FS_ADMIN . '.htaccess')); fclose($fg); My question is how do I convert fopen to curl, which is allowed for me? The Knowledge Base at my host says that this could be of use: <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://exempel.com/filnamn.php"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); ?> Quote Link to comment Share on other sites More sharing options...
kbking Posted April 27, 2010 Share Posted April 27, 2010 It should have been posted in the thread for FIMBLE:s contribution but I could not find a thread for that contribution. Anyway, I use the two together so I guess the question fits here anyway?! Hi I can't use fopen with my host. In administrator.php there are eight instances of fopen. One of them is: if (filesize(DIR_FS_ADMIN . '.htaccess') > 0) { $fg = fopen(DIR_FS_ADMIN . '.htaccess', 'rb'); $data = fread($fg, filesize(DIR_FS_ADMIN . '.htaccess')); fclose($fg); My question is how do I convert fopen to curl, which is allowed for me? The Knowledge Base at my host says that this could be of use: <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://exempel.com/filnamn.php"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); ?> Quote Link to comment Share on other sites More sharing options...
dpower717 Posted August 30, 2010 Share Posted August 30, 2010 I have the same problem, also a blank page with no errors :( Decided to get back to MS2 because tons of contributions dont work with the new ones. Quote 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.