Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to a member function display_price() on a non-object


rogerliau

Recommended Posts

Posted

Hi all,

 

After i changed index file, when i log into my admin site...thing have changed.

 

Fatal error: Call to a member function display_price() on a non-object in /home/rebellez/public_html/limestar/admin/index.php on line 305

 

Warning: include(includes/modules/FILENAME_NEW_PRODUCTS) [function.include]: failed to open stream: No such file or directory in /home/rebellez/public_html/limestar/admin/index.php on line 284

 

Warning: include() [function.include]: Failed opening 'includes/modules/FILENAME_NEW_PRODUCTS' for inclusion (include_path='.:/usr/lib/php') in /home/rebellez/public_html/limestar/admin/index.php on line 284

 

I dont know what to do now. Please advise me.

 

Thanks

Roger

Posted
Warning: include(includes/modules/FILENAME_NEW_PRODUCTS)

simply open the filenames.php in /includes folder and add the following line:

define('FILENAME_NEW_PRODUCTS', 'new_products.php');

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

  • 2 years later...
Posted

Hello - I know that this post is rather old - but I am new to osC and I have installed the osC Affiliate module into my osCommerce cart and now I am getting this error when I log into the admin area.

 

Fatal error: Call to a member function display_price() on a non-object in /home/freeauto/public_html/osc/admin/includes/modules/index/affiliates_summary.php on line 58

 

Any suggestions on what I need to do to fix this?

 

Thanks

Archived

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

×
×
  • Create New...