close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Pear Issue

Thread began 11/09/2011 7:59 pm by goat200487425014 | Last modified 11/11/2011 3:43 pm by goat200487425014 | 2633 views | 10 replies |

goat200487425014

Pear Issue

When I click send on my forgotpassword page, I get the please wait on my pae for about 1 minute then it gives the error in the screenshot below.

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to line 1 of the page to turn error reporting on:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

goat200487425014

I still get the same results with no errors displaying.

Sign in to reply to this post

Jason ByrnesWebAssist

the path to pear you entered does not look correct:
../pear/php/


this should be a system path to the pear package, not a relative path.

you will need to contact the host for the correct path to pear.

Sign in to reply to this post

goat200487425014

Well that takes me to the Mail.php file that the forgotpassword page is looking for correct?

Sign in to reply to this post

Jason ByrnesWebAssist

the Path to Pear you enter should take you to the Mail.php file, yes. But it should be a system path, not a relative path.

on my system the path is:
/usr/local/share/pear/


I have no idea what that path should be for your system though. You will need to contact your host for that information.


also, to send an email through Googles servers, you need to connect to the Google smtp server using SSL.


in the email password behavior, use the following for the smtp server:
ssl://smtp.gmail.com

Sign in to reply to this post

goat200487425014

ok I have contacted Dreamhost and verified that the path was /home/goatpj/pear/pear/

However, I am still getting the following errors....

Warning: require_once(/home/goatpj/pear/pear/Mail.php) [function.require-once]: failed to open stream: Not a directory in /home/goatpj/luckielosers.com/webassist/security_assist/mail_php.php on line 78

Fatal error: require_once() [function.require]: Failed opening required '/home/goatpj/pear/pear/Mail.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/goatpj/luckielosers.com/webassist/security_assist/mail_php.php on line 78

Attached Files
mail_php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

that either means that the path to pear:
/home/goatpj/pear/pear/


is not correct, or they do not have the Pear Mail package installed.

Sign in to reply to this post

goat200487425014

I don't know what else to do with this, this is the path that dreamhost is telling me to use.

Everything that I need, do you see it in the screenshot?

Sign in to reply to this post

Jason ByrnesWebAssist

that screen shot is of the pear/php directory



maybe instead of:
/home/goatpj/pear/pear/


it should be:
/home/goatpj/pear/php/


i dont know.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...