Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 06:41 am EST
Geeklog Forums
CVS Version - email not working?
......
Anonymous
It seems the email function in the CVS version has radically changed. Not only is COM_isemail changed, but an entirely new function COM_mail is now responsible for sending mail.
After my install, I got errors because GL couldn't find the installed PEAR modules in 'system/pear/' and 'system/pear/mail'. After I put the full path to these areas I no longer got error messages.
BUT...
Whenever I mail something, ANYTHING, GL simply gives me a blank screen. No errors. If I mail through my "contact" link 'profiles.php?uid=2' GL simply white screens me with the following address in my browser 'http://(mypage)/profiles.php' If I user the 'Mail Users' function, GL white screens me with this address in my browser 'http://(mypage)/mail.php'
Anyone know what is going on? Is there a workaround or fix?
-TIA
After my install, I got errors because GL couldn't find the installed PEAR modules in 'system/pear/' and 'system/pear/mail'. After I put the full path to these areas I no longer got error messages.
BUT...
Whenever I mail something, ANYTHING, GL simply gives me a blank screen. No errors. If I mail through my "contact" link 'profiles.php?uid=2' GL simply white screens me with the following address in my browser 'http://(mypage)/profiles.php' If I user the 'Mail Users' function, GL white screens me with this address in my browser 'http://(mypage)/mail.php'
Anyone know what is going on? Is there a workaround or fix?
-TIA
6
5
Quote
......
Anonymous
Okay. I think I found the problem, but don't know enough to solve it.
In lib-common (function COM_Mail), line 3092, there is a line that reads
$mailobj =& Mail::factory( $method );
I think it causes GL to hang. If I put an echo "GOT THIS FAR" above it, it displays. But when I put the echo below it, all I get is a white screen.
Maybe there is a typo here or something. I'd love to see this new mail stuff work. So, if anyone has any help - I'd appreciate it.
In lib-common (function COM_Mail), line 3092, there is a line that reads
$mailobj =& Mail::factory( $method );
I think it causes GL to hang. If I put an echo "GOT THIS FAR" above it, it displays. But when I put the echo below it, all I get is a white screen.
Maybe there is a typo here or something. I'd love to see this new mail stuff work. So, if anyone has any help - I'd appreciate it.
6
5
Quote
....
Anonymous
Well... it seems the main problem here has to do with the path to PEAR. The includes in the PEAR library are failing because they have no path descriptions. Apparently GL should be setting the path in $_CONF['pear_path'] and then magically pass it to the two functions in lib-common.php so that you don't have to mention $_CONF['pear_path'] to describe the location of PEAR?
I'm puzzled.
I'm puzzled.
6
8
Quote
....
Anonymous
So sorry. Can't sleep, and thought maybe I'd try to find what is happening with this problem. If disinterested, just ignore the posts.
I finally discovered that I have an earlier version of PEAR installed and that the PHP include was interfering with GL's _CONF['pear_path'] variable. My GL was loading stuff just fine all along, but could not find it because the pear path (being set on line 196) was somehow not getting set purely to the PEAR I downloaded.
So, since PHP was already pointing to PEAR, albeit an earlier version, I just set HAVE PEAR to true in config.php and copied the downloaded PEAR to where PHP is pointing and ahhhh the sweet release of success.
Time for bed now. No more obsessions... for now...
I finally discovered that I have an earlier version of PEAR installed and that the PHP include was interfering with GL's _CONF['pear_path'] variable. My GL was loading stuff just fine all along, but could not find it because the pear path (being set on line 196) was somehow not getting set purely to the PEAR I downloaded.
So, since PHP was already pointing to PEAR, albeit an earlier version, I just set HAVE PEAR to true in config.php and copied the downloaded PEAR to where PHP is pointing and ahhhh the sweet release of success.
Time for bed now. No more obsessions... for now...
4
4
Quote
All times are EST. The time is now 06:41 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content