Jump to content

Problem with PHP classes


Recommended Posts

Hello,

I'll admit I'm not very familiar with smarty, so I'm hoping to find some help here.
I'm in the product.php file, and I want to import my classes that lie in the same directory.
My require() statement directly follows the preset include() of the config.inc.php file.

The problem is, if I try to make ANY instance of my classes, I get a blank browser, with no error messages.

My custom classes work fine on my normal server, but when used in the smarty file, I can't get it to work.

Any and all help will be appreciated.

Thanks.

Link to comment
Share on other sites

×
×
  • Create New...