Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't Login to Admin


sonictrip.net

Recommended Posts

Hi, i copied a site i made from one host to another to save time installing mods and i cant seem to login to the admin side. I get the following error when i go to catalog/admin:

 

Fatal error: Cannot re-assign $this in /home/acoustic/public_html/catalog/admin/includes/classes/upload.php on line 31

 

Line 31 from upload.php is just below //self destruct:

	  if (tep_not_null($this->file) && tep_not_null($this->destination)) {
	$this->set_output_messages('session');

	if ( ($this->parse() == true) && ($this->save() == true) ) {
	  return true;
	} else {
// self destruct
	  $this = null;

	  return false;
	}
  }
}

 

It doesnt show the login box, just a page with the above error. I think it's related to the image_html_package_1.2 but it could also be easy populate, cc_cvv+encryption v1.7, Linkmatics_AttributeSetsPlus_v1.01 or Who's Online Enhancement 2.00.

 

When i login to the catalog side, the front page shows ok, but when i try to access a category, the following error gets displayed:

 

1054 - Unknown column 'p.products_id' in 'on clause'

 

select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '70'

 

[TEP STOP]

 

Anyone know why this is happening? Thanks! :thumbsup:

Edited by sonictrip.net
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...