View Single Post
  #6  
Old 5th September 2011, 23:43
andyace andyace is offline
Junior Member
 
Join Date: Oct 2010
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi

Sorry about the double post i found this forum was more specific to the problem

In the php page if i hash out the 2 mail.php calls the page loads but the email function on the page doesn't work

# GET PEAR FUNCTIONS
# ("Mail.php");
# ("Mail/mime.php");

If i remove the hashes the page gets this error

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

and all i get this (i think unrelated) error in the websites error log

[Mon Sep 05 21:26:43 2011] [warn] mod_fcgid: stderr: PHP Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead in /var/www/clients/client21/web90/web/destinations/index.php on line 182

if i copy all the pear folders and files from the /usr/share/pear folder to the website directory that this php file is being called from it all works but isn't very practical

Thanks

Andy
Reply With Quote