cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Fatal error: Cannot instantiate non-existent class
August 10, 2007
3:17 am

I'm getting a fatal error on Submit (of the form on the public page).

Oddly, it's looking for /wp-includes/class.smtp.php which doesn't exist. Only class-smtp.php exists. 

User registrations DO conclude in successfully sent emails. WP 2.2.1.

I've re-uploaded the plugin and de/activated it. I checked class-phpmailer.php to ensure it's not truncated during upload. Any other php files I should check? Uploading the stock WP files via FTP was spotty when I created the site.

Here's the output:

 Warning: smtpsend(/data/5/0/130/112/293601/user/298142/htdocs/w2/wp-includes/class.smtp.php) [function.smtpsend]: failed to open stream: No such file or directory in /data/5/0/130/112/293601/user/298142/htdocs/w2/wp-includes/class-phpmailer.php on line 460

Warning: smtpsend() [function.include]:
Failed opening
for inclusion (include_path='.:/usr/services/vux/lib/php') in /data/5/0/130/112/293601/user/298142/htdocs/w2/wp-includes/class-phpmailer.php on line 460

Fatal error: Cannot instantiate non-existent class: smtp in /data/5/0/130/112/293601/user/298142/htdocs/w2/wp-includes/class-phpmailer.php on line 527




August 10, 2007
7:58 am
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

I assume you're enabled the phpmailer feature in cforms. If you don't really need it, because your web hoster allows you to use the standard PHP mail() function than I recommend you disable this feature.

If you do have to use it, check out the update note in the Version History (note, v5.2) and here.

August 10, 2007
10:13 pm

"phpmailer feature in cforms."

 Yes, that was it. Thanks a ton.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3758

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5356

Posts: 18736

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)