Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Changing server, now "Fatal error: Cannot instantiate non-existent class"


Recommended Posts



Quite some time ago I built an OSCommerce site for my friend and hosted it on my old server. I was planning to transfer it once he purchased a domain name and some hosting. The site I created worked fine on my server.


My friend finally got his domain and hosting sorted. I have installed OSCommerce on his webspace and created a new database etc. I copied all of the files from the working site from my web space, and pasted it to the new webspace and over wrote the fresh OSCommerce install. I changed the details on the includes/config.php file to point to the new database instead of the database on my webspace.


Now, the site gives the error message:

"Fatal error: Cannot instantiate non-existent class: infoboxheadingcategories in /home/sites/domainname.com/public_html/includes/boxes/categories.php on line 315"


When I created the site, I used several add ons, but it has been that long since I have done any web design I have forgotten loads, and am now limited to viewing code in Notepad.


Can anyone suggest where to start looking for problems?



Link to comment
Share on other sites


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

  • Create New...