Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No erros but nothing works


snet

Recommended Posts

Posted

Hi all,

just installed osCommerce 2.2-MS2.

 

Online Catalog and Administration interfaces loads and look ok, no errors, warnings, all default pages\menus load ok.

BUT: nothing actually works. For example, unable to rename\add\remove\edit anything using Administration interface. All buttons are available, but a click just reloads a page with no chages.

Same problem with Online Catalog. Unable to add\remove\edit anything using the catalog interface.

 

Any ideas?

 

Thanks!

Posted

Hi everyone!

 

I'm having this same problem and I'm burning the fuses here, since this never happened before.

 

Well, the question is I've relocated the hole sito to another server and thougt this was a problem of permissions or paths, since teh absolute path has changed, but seems fine to me. Then I saw my server runs PHP 6.5 and I've read somewhere around here that OSC has a problem with that but can't find any more information.

 

Hope this info helps! What should I do?

 

Apreciating your inputs on this,

Sofia

Posted

I seem to remember a solution from yesterday about magicquotes and $ar

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted
I seem to remember a solution from yesterday about magicquotes and $ar

 

Hi!

 

I'm not sure your reply was all done since it seems to me it's ends abruptly but I've looked for the links in your signature and I still couldn't find what I'm looking for. I was looking through yesterday's posts again but there are so many... I couldn't find one from magicquotes.

 

Can someone shed a light on this?

 

Thanks,

Sofia

Posted

Well I've just checked the version I have and is osCommerce 2.2-MS2. I don't know if it's patched or not, I can't remember the last time I've done a change of this nature on my store. I'll look for that though. Maybe it would help in anyway?

 

Do you remember anything else I could do at this time?

 

Thanks,

Sofia

Posted

They probably meant the below which replaces the function in the admin and catalog versions of includes/functions compatibility.php

////
// Recursively handle magic_quotes_gpc turned off.
// This is due to the possibility of have an array in
// $HTTP_xxx_VARS
// Ie, products attributes
 function do_magic_quotes_gpc(&$ar) {
if (!is_array($ar)) return false;

reset($ar);
while (list($key, $value) = each($ar)) {
  if (is_array($ar[$key])) {
	do_magic_quotes_gpc($ar[$key]);
  } else {
	$ar[$key] = addslashes($value);
  }
}
reset($ar);
 }

Posted

Thanks for translating it for me, Robert! :blush:

 

Tried that and it didn't change anything.

 

I've wrote before the server runs php 6.5, don't mind that, don't know where I saw it, it's php5!

 

Any other advise?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...