Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

admin/index.php showing blank


daknoodle

Recommended Posts

Posted

Working on a site for a customer and after a few days of not going to the admin I tried accessing it and now it is showing a blank page. We removed login requirments to see if that was the problem and nothing changed. Its currently located at www.allcitysafety.com/catalog/admin, please let me know if you can help. We need to get this fixed as soon as possible.

 

 

Douglas Knoodle

Posted

I have the same problem, I was trying to get it working on my localhost but i got that problem al the time and when i'm trying to go to a directory in the shop where no products are i'm getting this error :

 

Let's See What We Have Here

 

 

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 = '17'

 

[TEP STOP]

Posted
I have the same problem, I was trying to get it working on my localhost but i got that problem al the time and when i'm trying to go to a directory in the shop where no products are i'm getting this error :

 

 

I don't have the product error, just the blank page for everything under the admin directory. I've talked with our IT group and with our hosting company and no one seems to know what happened. It was working not too long ago. Any help from anyone would be greatly appreciated.

Posted

we fixed the problem. It is a null value that is in one of the include files. This could effect other installs, so watch out for it. If anyone needs more information please contact me.

  • 2 weeks later...
Posted
we fixed the problem. It is a null value that is in one of the include files. This could effect other installs, so watch out for it. If anyone needs more information please contact me.

 

Yes, please post what your solution was! I'm getting this same problem after a complete site restore.

Posted

After a lot of searching and a number of hints in other threads I finally figured it out.

 

A) I checked the log files and found this error: "PHP Fatal error: Cannot re-assign $this in /home/virtual/site2/fst/var/www/html/admin/includes/classes/upload.php on line 31"

 

B) So I checked out what line 31 was ("$this = null;") and commented it out. Now everything works fine. However, if someone knows that this will cause a problem later, please let me know.

Posted

Yea, thats the same solution that we came up with. Either delete that line or comment it out. Sorry I didn't reply with the solution, didn't see the reply.

 

Doug

Archived

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

×
×
  • Create New...