WordPress.org

Ready to get started?Download WordPress

Forums

cforms II not contacting (6 posts)

  1. sophieanne
    Member
    Posted 6 years ago #

    I just figured out that cforms is not working. I'm not receiving anything and just did a test to confirm.

    This message is at the top of the cforms settings window and I do not understand it:
    It seems that your ROOT directory for WordPress is /wordpress. cforms tried to auto-adjust its settings accordingly, however if you still encounter issues with Ajax (form submission & CAPTCHA reset) please open the file js/cforms.js in your cforms plugin folder and check the sajax_uri variable. (After changing the file, please emtpy your browser cache!)

    Can someone help? Thanks.

  2. easetock
    Member
    Posted 6 years ago #

    Hey! I was just about to start banging my head against the wall because of the same problem, when I found the answer.

    You can also check it here: http://wordpress.org/support/topic/167557

    What you need to do is go to the folder where you have cforms installed: /wpcontent/plugins/cforms

    There you have to open cforms.js and change line 6 from this:

    var sajax_uri = '/wp-content/plugins/cforms/lib_ajax.php';

    into this:

    var sajax_uri = 'http://yourwebsiteadsress.com/wp-content/plugins/cforms/lib_ajax.php';

    You just have to add the address of your site so that the plugin knows where to open the lib_ajax.php file.

    Did it help? A stupid problem actually which could have been solved much better. But hey - open source is not an ideal world.

  3. olivers
    Member
    Posted 6 years ago #

    A stupid problem actually which could have been solved much better. But hey - open source is not an ideal world.

    how? what's your better solution?

    var sajax_uri = '/wp-content/plugins/cforms/lib_ajax.php';

    *usually* works *as is* and doesn't need the FQDN.

    open source is not an ideal world

    ..but a "cheap" one.

  4. easetock
    Member
    Posted 6 years ago #

    Well, open source is not an ideal world because every plugin has its own logics you have to figure out. And this address thing could have been corrected automatically by the plugin itself (on another server it did, actually).

    I am not a web developer but a web designer, so I don't get happy if I have to correct stuff somewhere deep in the system files. WordPress is still much better than for instance Joomla, but I guess you have to take time to figure things out when you're doing a project.

  5. rinthe
    Member
    Posted 6 years ago #

    i have the exact same problem, and i followed you direction and added the full URL of the lib_ajax.php file, it's still showing me that message. any ideas?

  6. rinthe
    Member
    Posted 6 years ago #

    hmm someone help please

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags