Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted
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?

Posted

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.

Posted

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

Posted

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

  • 2 months later...
Posted

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

  • 1 year later...
Posted

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);
?>

Posted

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);
?>

  • 4 months later...
Posted

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.

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