Jump to content

ashraf_gawdat

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by ashraf_gawdat

  1. I'm trying to send an email using (mail) function, but it always return false. I use php5 installed on windows server 2003. I think it is a problem in the settings in php.ini.Here is the mail portion of the settings:[mail function]; For Win32 only.SMTP = localhost ; for Win32 onlysmtp_port = 25sendmail_from= me@localhost ; for Win32 only; For Win32 only.;sendmail_from = me@localhostIs there any problems in this settings? Or what may cause this function not to work?
  2. I've made a class called "settings" to get the settings values from the database, so once the user opens the site an object of that class is created having the settings values in it instead of reading them from the database every time a page is opened, I think that would be faster.But the problem is that when I try to call a method from that object, I get an error message that says:Fatal error: html_admin_main() [<a href='function.html-admin-main'>function.html-admin-main</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "settings" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in D:\Software\XAMPP Lite\xampplite\htdocs\seif\admin\includes\output_fns.php on line 182I searched the internet for that message and I found that it appears when starting the session before including the class definition, but that is not the problem in my case because I've included the class definition file before starting the session.Do any one got an idea why this is happening?
×
×
  • Create New...