Jump to content

[SOLVED] Getting "Fatal error" with 'mailer.php' file. Please help.


Recommended Posts

Hi,

 

I got the following error after I clicked on submit on this page (http://www.gbdental.com.au/newsite/contact.html):

 

Fatal error: main() [function.require]: Failed opening required '/config.php' (include_path='.') in d:\wwwsites\gbdentalcomau\www\mailer.php on line 4

 

I have attached the "mailer.php", "config.php" and the "contact.html" files.

 

I'm pretty sure it should be an easy fix. Your help will be greatly appreciated.

 

Kind regards,

 

Dan

 

[attachment deleted by admin]

Mmmmmmm..... Maybe because the directory that the site is in at the moment is "/newsite" which is the temporary development directory.

 

What does it mean by (include_path='.')?

 

Is there something that I'm not doing right?

 

I really appreciate your help.

 

Kind regards,

 

Dan

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.